mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 03:47:20 +00:00
e0acb24528
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
186 B
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!}}