aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-04 15:52:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-04 15:52:05 -0700
commit4a98b86a78a472f57cf79d450bddf4e624456f73 (patch)
treeaeb36e3f333435f56ff8c144b187f0ba3465046c /man
parentf14013bce316be5ffa06ea22ae89eb309c6aff25 (diff)
downloadpandoc-4a98b86a78a472f57cf79d450bddf4e624456f73.tar.gz
Update MANUAL date and man page.
Diffstat (limited to 'man')
-rw-r--r--man/pandoc.122
1 files changed, 18 insertions, 4 deletions
diff --git a/man/pandoc.1 b/man/pandoc.1
index 9d0d20128..88e4cd91f 100644
--- a/man/pandoc.1
+++ b/man/pandoc.1
@@ -1,5 +1,5 @@
.\"t
-.TH PANDOC 1 "October 31, 2017" "pandoc 2.0.1"
+.TH PANDOC 1 "November 4, 2017" "pandoc 2.0.1.1"
.SH NAME
pandoc - general markup converter
.SH SYNOPSIS
@@ -861,6 +861,7 @@ Currently only affects the markdown writer.
Use ATX\-style headers in Markdown and AsciiDoc output.
The default is to use setext\-style headers for levels 1\-2, and then
ATX headers.
+(Note: for \f[C]gfm\f[] output, ATX headers are always used.)
.RS
.RE
.TP
@@ -1338,9 +1339,10 @@ For \f[C]odt\f[] output, customize the \f[C]default.opendocument\f[]
template.
.IP \[bu] 2
For \f[C]pdf\f[] output, customize the \f[C]default.latex\f[] template
-(or the \f[C]default.beamer\f[] template, if you use
-\f[C]\-t\ beamer\f[], or the \f[C]default.context\f[] template, if you
-use \f[C]\-t\ context\f[]).
+(or the \f[C]default.context\f[] template, if you use
+\f[C]\-t\ context\f[], or the \f[C]default.ms\f[] template, if you use
+\f[C]\-t\ ms\f[], or the \f[C]default.html5\f[] template, if you use
+\f[C]\-t\ html5\f[]).
.IP \[bu] 2
\f[C]docx\f[] has no template (however, you can use
\f[C]\-\-reference\-doc\f[] to customize the output).
@@ -2463,6 +2465,12 @@ block above will appear as follows:
\f[]
.fi
.PP
+The \f[C]numberLines\f[] (or \f[C]number\-lines\f[]) class will cause
+the lines of the code block to be numbered, starting with \f[C]1\f[] or
+the value of the \f[C]startFrom\f[] attribute.
+The \f[C]lineAnchors\f[] (or \f[C]line\-anchors\f[]) class will cause
+the lines to be clickable anchors in HTML output.
+.PP
A shortcut form can also be used for specifying the language of the code
block:
.IP
@@ -3857,6 +3865,12 @@ This\ is\ a\ warning\ within\ a\ warning.
::::::::::::::::::
\f[]
.fi
+.PP
+Fences without attributes are always closing fences.
+Unlike with fenced code blocks, the number of colons in the closing
+fence need not match the number in the opening fence.
+However, it can be helpful for visual clarity to use fences of different
+lengths to distinguish nested divs from their parents.
.SS Extension: \f[C]raw_tex\f[]
.PP
In addition to raw HTML, pandoc allows raw LaTeX, TeX, and ConTeXt to be