| 1 |
.TH MD2HTML 1 "June 2019" "" "General Commands Manual" |
| 2 |
.nh |
| 3 |
.ad l |
| 4 |
. |
| 5 |
.SH NAME |
| 6 |
. |
| 7 |
md2html \- convert Markdown to HTML |
| 8 |
. |
| 9 |
.SH SYNOPSIS |
| 10 |
. |
| 11 |
.B md2html |
| 12 |
.RI [ OPTION ]...\& |
| 13 |
.RI [ FILE ] |
| 14 |
. |
| 15 |
.SH OPTIONS |
| 16 |
. |
| 17 |
.SS General options: |
| 18 |
. |
| 19 |
.TP |
| 20 |
.BR -o ", " --output= \fIOUTFILE\fR |
| 21 |
Write output to \fIOUTFILE\fR instead of \fBstdout\fR(3) |
| 22 |
. |
| 23 |
.TP |
| 24 |
.BR -f ", " --full-html |
| 25 |
Generate full HTML document, including header |
| 26 |
. |
| 27 |
.TP |
| 28 |
.BR -s ", " --stat |
| 29 |
Measure time of input parsing |
| 30 |
. |
| 31 |
.TP |
| 32 |
.BR -h ", " --help |
| 33 |
Display help and exit |
| 34 |
. |
| 35 |
.TP |
| 36 |
.BR -v ", " --version |
| 37 |
Display version and exit |
| 38 |
. |
| 39 |
.SS Markdown dialect options: |
| 40 |
. |
| 41 |
.TP |
| 42 |
.B --commonmark |
| 43 |
CommonMark (the default) |
| 44 |
. |
| 45 |
.TP |
| 46 |
.B --github |
| 47 |
Github Flavored Markdown |
| 48 |
. |
| 49 |
.PP |
| 50 |
Note: dialect options are equivalent to some combination of flags below. |
| 51 |
. |
| 52 |
.SS Markdown extension options: |
| 53 |
. |
| 54 |
.TP |
| 55 |
.B --fcollapse-whitespace |
| 56 |
Collapse non-trivial whitespace |
| 57 |
. |
| 58 |
.TP |
| 59 |
.B --fverbatim-entities |
| 60 |
Do not translate entities |
| 61 |
. |
| 62 |
.TP |
| 63 |
.B --fpermissive-atx-headers |
| 64 |
Allow ATX headers without delimiting space |
| 65 |
. |
| 66 |
.TP |
| 67 |
.B --fpermissive-url-autolinks |
| 68 |
Allow URL autolinks without "<" and ">" delimiters |
| 69 |
. |
| 70 |
.TP |
| 71 |
.B --fpermissive-www-autolinks |
| 72 |
Allow WWW autolinks without any scheme (e.g. "www.example.com") |
| 73 |
. |
| 74 |
.TP |
| 75 |
.B --fpermissive-email-autolinks |
| 76 |
Allow e-mail autolinks without "<", ">" and "mailto:" |
| 77 |
. |
| 78 |
.TP |
| 79 |
.B --fpermissive-autolinks |
| 80 |
Enable all 3 of the above permissive autolinks options |
| 81 |
.TP |
| 82 |
.B --fhard-soft-breaks |
| 83 |
Force all soft breaks to act as hard breaks |
| 84 |
. |
| 85 |
.TP |
| 86 |
.B --fno-indented-code |
| 87 |
Disable indented code blocks |
| 88 |
. |
| 89 |
.TP |
| 90 |
.B --fno-html-blocks |
| 91 |
Disable raw HTML blocks |
| 92 |
. |
| 93 |
.TP |
| 94 |
.B --fno-html-spans |
| 95 |
Disable raw HTML spans |
| 96 |
. |
| 97 |
.TP |
| 98 |
.B --fno-html |
| 99 |
Same as \fB--fno-html-blocks --fno-html-spans\fR |
| 100 |
. |
| 101 |
.TP |
| 102 |
.B --ftables |
| 103 |
Enable tables |
| 104 |
. |
| 105 |
.TP |
| 106 |
.B --fstrikethrough |
| 107 |
Enable strikethrough spans |
| 108 |
. |
| 109 |
.TP |
| 110 |
.B --ftasklists |
| 111 |
Enable task lists |
| 112 |
. |
| 113 |
.SH SEE ALSO |
| 114 |
. |
| 115 |
https://github.com/mity/md4c |
| 116 |
. |