Files
Albert Krewinkel e0acb24528 Refactor highlighting options [API Change]
A new command line option `--syntax-highlighting` is provided; it takes
the values `none`, `default`, `idiomatic`, a style name, or a path to a
theme file. It replaces the `--no-highlighting`, `--highlighting-style`,
and `--listings` options.

The `writerListings` and `writerHighlightStyle` fields of the
`WriterOptions` type are replaced with `writerHighlightStyle`.

Closes: #10525
2025-09-02 17:50:47 +02:00

197 B

See #3422

% pandoc -t latex --syntax-highlighting=idiomatic
`int main(int argc, const char *argv[]);`{.c}
^D
\passthrough{\lstinline[language=C]!int main(int argc, const char *argv[]);!}