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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

24 Mar, 2017 07:32 PM
24 Mar, 2017 07:16 PM
24 Mar, 2017 06:37 PM
20 Mar, 2017 02:10 PM
18 Feb, 2017 07:09 PM

 

17 Feb, 2017 04:36 AM
20 Jan, 2017 06:56 PM
03 Jan, 2017 02:23 AM
01 Jan, 2017 12:22 PM
19 Dec, 2016 07:58 PM
30 Oct, 2016 01:08 AM