diff options
-rw-r--r-- | MANUAL.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 0a6362e2e..a2307bd01 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -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 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 -highlighted, with numbered lines. (To see which languages are supported, do -`pandoc --version`.) Otherwise, the code block above will appear as follows: +highlighted, with numbered lines. (To see which languages are supported, type +`pandoc --list-highlight-languages`.) Otherwise, the code block above will +appear as follows: <pre id="mycode" class="haskell numberLines" startFrom="100"> <code> @@ -3923,15 +3924,16 @@ Syntax highlighting =================== Pandoc will automatically highlight syntax in [fenced code blocks] that -are marked with a language name. The Haskell library [highlighting-kate] is used for -highlighting, which works in HTML, Docx, and LaTeX/PDF output. +are marked with a language name. The Haskell library [highlighting-kate] is +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 default color scheme is `pygments`, which imitates the default color -scheme used by the Python library pygments, but pygments is not actually -used to do the highlighting. - -To see a list of language names that pandoc will recognize, type -`pandoc --version`. +scheme used by the Python library pygments (though pygments is not actually +used to do the highlighting). To see a list of highlight styles, +type `pandoc --list-hightlight-styles`. To disable highlighting, use the `--no-highlight` option. |