d1df2b2783
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.
195 B
195 B
% pandoc -f latex -t native
\begin{lstlisting}[language=myfunnylanguage]
Stay pure!
\end{lstlisting}
^D
[CodeBlock ("",["myfunnylanguage"],[("language","myfunnylanguage")]) "Stay pure!"]