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.
8 lines
195 B
Markdown
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!"]
|
|
```
|