summaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-04-01 22:27:00 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-04-01 22:27:00 +0200
commit420e3eb26e6ac8b9854d41ede1bbd78e1c23fa66 (patch)
treecf47d6f1c7dafc6046d2625ce982dce945532f4a /MANUAL.txt
parent1c84a035098ab868db718b56f3f135603144d65a (diff)
Allow a theme file as argument to `--highlight-style`.
Also include a sample, `default.theme`, in `data/`.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 569c04781..1534beec2 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -630,7 +630,7 @@ General writer options
: Disables syntax highlighting for code blocks and inlines, even when
a language attribute is given.
-`--highlight-style=`*STYLE*
+`--highlight-style=`*STYLE*|*FILE*
: Specifies the coloring style to be used in highlighted source code.
Options are `pygments` (the default), `kate`, `monochrome`,
@@ -639,6 +639,12 @@ General writer options
[Syntax highlighting], below. See also
`--list-highlight-styles`.
+ Instead of a *STYLE* name, a JSON file with extension
+ `.theme` may be supplied. This will be parsed as a KDE
+ syntax highlighting theme and (if valid) used as the
+ highlighting style. To see a sample theme that can be
+ modified, `pandoc --print-default-data-file default.theme`.
+
`--syntax-definition=`*FILE*
: Instructs pandoc to load a KDE XML syntax definition file,