Further revisions to manual for --version changes.

Closes #3244.
This commit is contained in:
John MacFarlane 2016-11-23 15:08:54 +01:00
parent 5449e4a226
commit 6ee7f7206b

View file

@ -1826,8 +1826,9 @@ Here `mycode` is an identifier, `haskell` and `numberLines` are classes, and
information to do syntax highlighting. Currently, the only output formats information to do syntax highlighting. Currently, the only output formats
that uses this information are HTML and LaTeX. If highlighting is supported that uses this information are HTML and LaTeX. If highlighting is supported
for your output format and language, then the code block above will appear for your output format and language, then the code block above will appear
highlighted, with numbered lines. (To see which languages are supported, do highlighted, with numbered lines. (To see which languages are supported, type
`pandoc --version`.) Otherwise, the code block above will appear as follows: `pandoc --list-highlight-languages`.) Otherwise, the code block above will
appear as follows:
<pre id="mycode" class="haskell numberLines" startFrom="100"> <pre id="mycode" class="haskell numberLines" startFrom="100">
<code> <code>
@ -3923,15 +3924,16 @@ Syntax highlighting
=================== ===================
Pandoc will automatically highlight syntax in [fenced code blocks] that Pandoc will automatically highlight syntax in [fenced code blocks] that
are marked with a language name. The Haskell library [highlighting-kate] is used for are marked with a language name. The Haskell library [highlighting-kate] is
highlighting, which works in HTML, Docx, and LaTeX/PDF output. used for highlighting, which works in HTML, Docx, and LaTeX/PDF output.
To see a list of language names that pandoc will recognize, type
`pandoc --list-highlight-languages`.
The color scheme can be selected using the `--highlight-style` option. The color scheme can be selected using the `--highlight-style` option.
The default color scheme is `pygments`, which imitates the default color The default color scheme is `pygments`, which imitates the default color
scheme used by the Python library pygments, but pygments is not actually scheme used by the Python library pygments (though pygments is not actually
used to do the highlighting. used to do the highlighting). To see a list of highlight styles,
type `pandoc --list-hightlight-styles`.
To see a list of language names that pandoc will recognize, type
`pandoc --version`.
To disable highlighting, use the `--no-highlight` option. To disable highlighting, use the `--no-highlight` option.