From 420e3eb26e6ac8b9854d41ede1bbd78e1c23fa66 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 1 Apr 2017 22:27:00 +0200 Subject: Allow a theme file as argument to `--highlight-style`. Also include a sample, `default.theme`, in `data/`. --- MANUAL.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'MANUAL.txt') 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, -- cgit v1.2.3