MMARK(1) Mmark Markdown MMARK(1)

mmark - generate XML, HTML or markdown from mmark markdown documents.

mmark [OPTIONS] [FILE...]

Mmark is a powerful markdown processor written in Go, geared towards writing IETF documents. It is, however, also suited for writing complete books and other technical documentation.

Mmark provides an advanced markdown dialect that processes file(s) to produce internet-drafts in XML RFC 7991 ⟨https://tools.ietf.org/html/rfc7991⟩ format. Mmark can produce xml2rfc (aforementioned RFC 7991), HTML5 and manual pages.

The syntax is detailed at https://mmark.miek.nl/syntax ⟨https://mmark.miek.nl/syntax⟩.

Compared to other markdown variants mmark adds:

This is the XML format used by the RFC editor for accepting Internet-Drafts.

The HTML5 renderer outputs HTML.

The man renderer outputs nroff that can be viewed via man(1).

print abstract syntax tree and exit.
link to a CSS stylesheet (only used with -html).
don't create a full document.
link to HTML to be included in head (only used with -html).
create HTML output.
output nroff (manual pages).
allow includes from anywhere in the filesystem, otherwise they are only allowed below the current document.
generate an index at the end of the document (default true).
generate a bibliography section after the back matter (default true), this needs a {{backmatter}} in the document.
show mmark's version.

RFC 7991 and (maybe) RFC 7749. The main site for Mmark is https://mmark.miek.nl ⟨https://mmark.miek.nl⟩. The syntax used by mmark is explained in the syntax page ⟨https://mmark.miek.nl/post/syntax/⟩.

April 2019 User Commands