git.iko.soy/typeable/pandoc
on master help sign in
Update MANUAL date and man page.
4a98b86John MacFarlane
MANUAL.txt+1−1
@@ -1,6 +1,6 @@
1% Pandoc User's Guide
1% Pandoc User's Guide
2% John MacFarlane
2% John MacFarlane
3−% October 31, 2017
3+% November 4, 2017
4
4
5Synopsis
5Synopsis
6========
6========
man/pandoc.1+18−4
@@ -1,5 +1,5 @@
1.\"t
1.\"t
2−.TH PANDOC 1 "October 31, 2017" "pandoc 2.0.1"
2+.TH PANDOC 1 "November 4, 2017" "pandoc 2.0.1.1"
3.SH NAME
3.SH NAME
4pandoc - general markup converter
4pandoc - general markup converter
5.SH SYNOPSIS
5.SH SYNOPSIS
@@ -861,6 +861,7 @@ Currently only affects the markdown writer.
861Use ATX\-style headers in Markdown and AsciiDoc output.
861Use ATX\-style headers in Markdown and AsciiDoc output.
862The default is to use setext\-style headers for levels 1\-2, and then
862The default is to use setext\-style headers for levels 1\-2, and then
863ATX headers.
863ATX headers.
864+(Note: for \f[C]gfm\f[] output, ATX headers are always used.)
864.RS
865.RS
865.RE
866.RE
866.TP
867.TP
@@ -1338,9 +1339,10 @@ For \f[C]odt\f[] output, customize the \f[C]default.opendocument\f[]
1338template.
1339template.
1339.IP \[bu] 2
1340.IP \[bu] 2
1340For \f[C]pdf\f[] output, customize the \f[C]default.latex\f[] template
1341For \f[C]pdf\f[] output, customize the \f[C]default.latex\f[] template
1341−(or the \f[C]default.beamer\f[] template, if you use
1342+(or the \f[C]default.context\f[] template, if you use
1342−\f[C]\-t\ beamer\f[], or the \f[C]default.context\f[] template, if you
1343+\f[C]\-t\ context\f[], or the \f[C]default.ms\f[] template, if you use
1343−use \f[C]\-t\ context\f[]).
1344+\f[C]\-t\ ms\f[], or the \f[C]default.html5\f[] template, if you use
1345+\f[C]\-t\ html5\f[]).
1344.IP \[bu] 2
1346.IP \[bu] 2
1345\f[C]docx\f[] has no template (however, you can use
1347\f[C]docx\f[] has no template (however, you can use
1346\f[C]\-\-reference\-doc\f[] to customize the output).
1348\f[C]\-\-reference\-doc\f[] to customize the output).
@@ -2463,6 +2465,12 @@ block above will appear as follows:
2463\f[]
2465\f[]
2464.fi
2466.fi
2465.PP
2467.PP
2468+The \f[C]numberLines\f[] (or \f[C]number\-lines\f[]) class will cause
2469+the lines of the code block to be numbered, starting with \f[C]1\f[] or
2470+the value of the \f[C]startFrom\f[] attribute.
2471+The \f[C]lineAnchors\f[] (or \f[C]line\-anchors\f[]) class will cause
2472+the lines to be clickable anchors in HTML output.
2473+.PP
2466A shortcut form can also be used for specifying the language of the code
2474A shortcut form can also be used for specifying the language of the code
2467block:
2475block:
2468.IP
2476.IP
@@ -3857,6 +3865,12 @@ This\ is\ a\ warning\ within\ a\ warning.
3857::::::::::::::::::
3865::::::::::::::::::
3858\f[]
3866\f[]
3859.fi
3867.fi
3868+.PP
3869+Fences without attributes are always closing fences.
3870+Unlike with fenced code blocks, the number of colons in the closing
3871+fence need not match the number in the opening fence.
3872+However, it can be helpful for visual clarity to use fences of different
3873+lengths to distinguish nested divs from their parents.
3860.SS Extension: \f[C]raw_tex\f[]
3874.SS Extension: \f[C]raw_tex\f[]
3861.PP
3875.PP
3862In addition to raw HTML, pandoc allows raw LaTeX, TeX, and ConTeXt to be
3876In addition to raw HTML, pandoc allows raw LaTeX, TeX, and ConTeXt to be