summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-28 15:57:59 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-28 15:57:59 -0800
commitf61a8454f226c265d2de9906b93dc0dbde562726 (patch)
treec49661830fa91a9e44e2dac9c420cede594a935a /man
parent0cf342df5a9ca26c71e94101a5e3aca4c83660f3 (diff)
Update man page.
Diffstat (limited to 'man')
-rw-r--r--man/pandoc.118
1 files changed, 10 insertions, 8 deletions
diff --git a/man/pandoc.1 b/man/pandoc.1
index 91cd1f7be..ba809e78b 100644
--- a/man/pandoc.1
+++ b/man/pandoc.1
@@ -386,9 +386,11 @@ List supported output formats, one per line.
.RE
.TP
.B \f[C]\-\-list\-extensions\f[][\f[C]=\f[]\f[I]FORMAT\f[]]
-List supported Markdown extensions, one per line, followed by a
+List supported Markdown extensions, one per line, preceded by a
\f[C]+\f[] or \f[C]\-\f[] indicating whether it is enabled by default in
-\f[I]FORMAT\f[] (defaulting to pandoc\[aq]s Markdown).
+\f[I]FORMAT\f[].
+If \f[I]FORMAT\f[] is not specified, defaults for pandoc\[aq]s Markdown
+are given.
.RS
.RE
.TP
@@ -938,9 +940,9 @@ document; see Structuring the slide show.
.RE
.TP
.B \f[C]\-\-section\-divs\f[]
-Wrap sections in \f[C]<div>\f[] tags (or \f[C]<section>\f[] tags in
-HTML5), and attach identifiers to the enclosing \f[C]<div>\f[] (or
-\f[C]<section>\f[]) rather than the header itself.
+Wrap sections in \f[C]<section>\f[] tags (or \f[C]<div>\f[] tags for
+\f[C]html4\f[]), and attach identifiers to the enclosing
+\f[C]<section>\f[] (or \f[C]<div>\f[]) rather than the header itself.
See Header identifiers, below.
.RS
.RE
@@ -2183,9 +2185,9 @@ Note, however, that this method of providing links to sections works
only in HTML, LaTeX, and ConTeXt formats.
.PP
If the \f[C]\-\-section\-divs\f[] option is specified, then each section
-will be wrapped in a \f[C]div\f[] (or a \f[C]section\f[], if
-\f[C]html5\f[] was specified), and the identifier will be attached to
-the enclosing \f[C]<div>\f[] (or \f[C]<section>\f[]) tag rather than the
+will be wrapped in a \f[C]section\f[] (or a \f[C]div\f[], if
+\f[C]html4\f[] was specified), and the identifier will be attached to
+the enclosing \f[C]<section>\f[] (or \f[C]<div>\f[]) tag rather than the
header itself.
This allows entire sections to be manipulated using JavaScript or
treated differently in CSS.