git.iko.soy/typeable/pandoc
on master help sign in
Documented --toc/--table-of-contents option in pandoc man
389c762fiddlosopher
@@ -267,6 +267,11 @@ specified.)
267header. To see the headers used by default, use the `-D` option:
267header. To see the headers used by default, use the `-D` option:
268for example, `pandoc -D html` prints the default HTML header.
268for example, `pandoc -D html` prints the default HTML header.
269
269
270+`--toc` or `--table-of-contents` includes an automatically generated
271+table of contents (or, in the case of `latex` and `rst`, an instruction
272+to create one) in the output document. This option has no effect with
273+`man`, `docbook`, or `s5` output formats.
274+
270`-c` or `--css` allows the user to specify a custom stylesheet that
275`-c` or `--css` allows the user to specify a custom stylesheet that
271will be linked to in HTML and S5 output.
276will be linked to in HTML and S5 output.
272
277
man/man1/pandoc.1.md+5
@@ -111,6 +111,11 @@ to Pandoc. Or use `html2markdown`(1), a wrapper around `pandoc`.
111: Number section headings in LaTeX output. (Default is not to number
111: Number section headings in LaTeX output. (Default is not to number
112 them.)
112 them.)
113
113
114+\--toc, \--table-of-contents
115+: Include an automatically generated table of contents (HTML, markdown,
116+ RTF) or an instruction to create one (LaTeX, reStructuredText).
117+ This option has no effect on man, DocBook, or S5 output.
118+
114-c *CSS*, \--css=*CSS*
119-c *CSS*, \--css=*CSS*
115: Link to a CSS style sheet. *CSS* is the pathname of the style sheet.
120: Link to a CSS style sheet. *CSS* is the pathname of the style sheet.
116
121