git.iko.soy/typeable/pandoc
on master help sign in
Further revisions to manual for --version changes.
6ee7f72John MacFarlane
MANUAL.txt+11−9
@@ -1826,8 +1826,9 @@ Here `mycode` is an identifier, `haskell` and `numberLines` are classes, and
1826information to do syntax highlighting. Currently, the only output formats
1826information to do syntax highlighting. Currently, the only output formats
1827that uses this information are HTML and LaTeX. If highlighting is supported
1827that uses this information are HTML and LaTeX. If highlighting is supported
1828for your output format and language, then the code block above will appear
1828for your output format and language, then the code block above will appear
1829−highlighted, with numbered lines. (To see which languages are supported, do
1829+highlighted, with numbered lines. (To see which languages are supported, type
1830−`pandoc --version`.) Otherwise, the code block above will appear as follows:
1830+`pandoc --list-highlight-languages`.) Otherwise, the code block above will
1831+appear as follows:
1831
1832
1832 <pre id="mycode" class="haskell numberLines" startFrom="100">
1833 <pre id="mycode" class="haskell numberLines" startFrom="100">
1833 <code>
1834 <code>
@@ -3923,15 +3924,16 @@ Syntax highlighting
3923===================
3924===================
3924
3925
3925Pandoc will automatically highlight syntax in [fenced code blocks] that
3926Pandoc will automatically highlight syntax in [fenced code blocks] that
3926−are marked with a language name. The Haskell library [highlighting-kate] is used for
3927+are marked with a language name. The Haskell library [highlighting-kate] is
3927−highlighting, which works in HTML, Docx, and LaTeX/PDF output.
3928+used for highlighting, which works in HTML, Docx, and LaTeX/PDF output.
3929+To see a list of language names that pandoc will recognize, type
3930+`pandoc --list-highlight-languages`.
3931+
3928The color scheme can be selected using the `--highlight-style` option.
3932The color scheme can be selected using the `--highlight-style` option.
3929The default color scheme is `pygments`, which imitates the default color
3933The default color scheme is `pygments`, which imitates the default color
3930−scheme used by the Python library pygments, but pygments is not actually
3934+scheme used by the Python library pygments (though pygments is not actually
3931−used to do the highlighting.
3935+used to do the highlighting). To see a list of highlight styles,
3932−
3936+type `pandoc --list-hightlight-styles`.
3933−To see a list of language names that pandoc will recognize, type
3934−`pandoc --version`.
3935
3937
3936To disable highlighting, use the `--no-highlight` option.
3938To disable highlighting, use the `--no-highlight` option.
3937
3939