Can add those 2 args? css and encode

eexpss's Avatar

eexpss

22 Oct, 2016 10:03 AM

Just like pandoc, I want multimarkdown can also add --css and --encode for output html.

normally I add those lines in mmd file, but i want omit those lines:
<head>
<title>markdown templete</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="mkd.css" rel="stylesheet" type="text/css">
</head>

So i want if i can excute like this: multimarkdown -c mkd.css -e utf8 xxx.mmd xxx.html

  1. Support Staff 1 Posted by fletcher on 22 Oct, 2016 12:09 PM

    fletcher's Avatar

    Thanks for writing in!

    There are (intentionally) very few command line arguments for MMD. Things like this are handled by metadata in the document itself.

    You can use the css metadata to specify an external CSS document.

    If you have a "complete" document (e.g. one that uses metadata or you use the -f or --full options), then the UTF-8 charset is specified automatically.

    Hope this helps,

    Fletcher

  2. fletcher closed this discussion on 02 Dec, 2017 01:54 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

11 Dec, 2022 09:57 PM
11 Dec, 2022 07:57 PM
26 Sep, 2022 02:40 AM
21 Jul, 2022 10:22 AM
11 Jan, 2022 02:33 PM

Recent Articles