No highlighting inside heading:
```
% pandoc -t latex
# `foo`{.cpp}
^D
\section{\texorpdfstring{\texttt{foo}}{foo}}\label{foo}
```