aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-11-23 15:08:54 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-23 15:08:54 +0100
commit6ee7f7206b89e285037a65690b7837045cdf8ac9 (patch)
tree24fc5d732d9e299220264552523dfe4a81d34f9d
parent5449e4a22617ca28173cde5c31f46c15b1d8bc7f (diff)
downloadpandoc-6ee7f7206b89e285037a65690b7837045cdf8ac9.tar.gz
Further revisions to manual for --version changes.
Closes #3244.
-rw-r--r--MANUAL.txt20
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.