pandoc/test/command/5574.md
John MacFarlane bec95c97ac LaTeX writer: Don't highlight code in headings.
This causes compilation errors, and I don't know how
to work around them.  Closes #5574.
2019-06-11 20:47:29 -07:00

152 B

No highlighting inside heading:

% pandoc -t latex
# `foo`{.cpp}
^D
\hypertarget{foo}{%
\section{\texorpdfstring{\texttt{foo}}{foo}}\label{foo}}