diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-06-11 20:43:20 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-06-11 20:47:29 -0700 |
commit | bec95c97ace807b4f6c6ad359bf0b310b905f707 (patch) | |
tree | a474fb1282799e620fc76001f8a9c422dae55033 /test | |
parent | 9725522a7f939f090800b6fcd0742d4d8ff671ed (diff) | |
download | pandoc-bec95c97ace807b4f6c6ad359bf0b310b905f707.tar.gz |
LaTeX writer: Don't highlight code in headings.
This causes compilation errors, and I don't know how
to work around them. Closes #5574.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/5574.md | 8 |
1 files changed, 8 insertions, 0 deletions
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}} +``` |