pandoc/test/command/5540.md
John MacFarlane d1df2b2783 LaTeX reader: pass through unknown listings language as class.
Previously if the language was not in the list of listings-
supported languages, it would not be added as a class, so
custom syntax highlighting could not be used.

Closes #5540.
2019-06-08 12:25:34 -07:00

8 lines
195 B
Markdown

```
% pandoc -f latex -t native
\begin{lstlisting}[language=myfunnylanguage]
Stay pure!
\end{lstlisting}
^D
[CodeBlock ("",["myfunnylanguage"],[("language","myfunnylanguage")]) "Stay pure!"]
```