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

186 B

% pandoc -t latex --syntax-highlighting=idiomatic
bla bla `a % b`

*bla bla `a % b`*
^D
bla bla \passthrough{\lstinline!a \% b!}

\emph{bla bla \passthrough{\lstinline!a \% b!}}