Pandoc User’s Guide Options
--number-offset=NUMBER[,NUMBER,…] Offset for section headings in HTML output (ignored
in other output formats). The first number is added to the section number for top-level headers,
the second for second-level headers, and so on. So, for example, if you want the first top-level
header in your document to be numbered “6”, specify --number-offset=5. If your document
starts with a level-2 header which you want to be numbered “1.5”, specify --number-offset=1,4.
Offsets are 0 by default. Implies --number-sections.
--no-tex-ligatures Do not use the TeX ligatures for quotation marks, apostrophes, and dashes
(`...', ``..'', --, ---) when writing or reading LaTeX or ConTeXt. In reading LaTeX, parse
the characters `, ', and - literally, rather than parsing ligatures for quotation marks and dashes.
In writing LaTeX or ConTeXt, print unicode quotation mark and dash characters literally,
rather than converting them to the standard ASCII TeX ligatures. Note: normally --smart
is selected automatically for LaTeX and ConTeXt output, but it must be specified explicitly if
--no-tex-ligatures is selected. If you use literal curly quotes, dashes, and ellipses in your
source, then you may want to use --no-tex-ligatures without --smart.
--listings Use the listings package for LaTeX code blocks
-i, --incremental Make list items in slide shows display incrementally (one by one). The default is
for lists to be displayed all at once.
--slide-level=NUMBER Specifies that headers with the specified level create slides (for beamer,
s5, slidy, slideous, dzslides). Headers above this level in the hierarchy are used to divide the
slide show into sections; headers below this level create subheads within a slide. The default is to
set the slide level based on the contents of the document; see Structuring the slide show.
--section-divs Wrap sections in <div> tags (or <section> tags in HTML5), and attach identifiers to
the enclosing <div> (or <section>) rather than the header itself. See Header identifiers, below.
--email-obfuscation=none|javascript|references Specify a method for obfuscating mailto:
links in HTML documents. none leaves mailto: links as they are. javascript obfuscates them
using javascript. references obfuscates them by printing their letters as decimal or hexadecimal
character references. The default is none.
--id-prefix=STRING Specify a prefix to be added to all automatically generated identifiers in HTML
and DocBook output, and to footnote numbers in Markdown output. This is useful for preventing
duplicate identifiers when generating fragments to be included in other pages.
-T STRING, --title-prefix=STRING Specify STRING as a prefix at the beginning of the title that
appears in the HTML header (but not in the title as it appears at the beginning of the HTML body).
Implies --standalone.
-c URL, --css=URL Link to a CSS style sheet. This option can be used repeatedly to include multiple
files. They will be included in the order specified.
--reference-odt=FILE Use the specified file as a style reference in producing an ODT. For best re-
sults, the reference ODT should be a modified version of an ODT produced using pandoc. The
contents of the reference ODT are ignored, but its stylesheets are used in the new ODT. If no ref-
erence ODT is specified on the command line, pandoc will look for a file reference.odt in the
user data directory (see --data-dir). If this is not found either, sensible defaults will be used.
v 1.17.2 12