From bec95c97ace807b4f6c6ad359bf0b310b905f707 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 11 Jun 2019 20:43:20 -0700 Subject: LaTeX writer: Don't highlight code in headings. This causes compilation errors, and I don't know how to work around them. Closes #5574. --- test/command/5574.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/command/5574.md (limited to 'test') diff --git a/test/command/5574.md b/test/command/5574.md new file mode 100644 index 000000000..441b3afd6 --- /dev/null +++ b/test/command/5574.md @@ -0,0 +1,8 @@ +No highlighting inside heading: +``` +% pandoc -t latex +# `foo`{.cpp} +^D +\hypertarget{foo}{% +\section{\texorpdfstring{\texttt{foo}}{foo}}\label{foo}} +``` -- cgit v1.2.3