simply use this: ~~~java Your java code ~~~ ~~~c your c code ~~~ See https://pandoc.org/MANUAL.html#syntax-highlighting and https://pandoc.org/MANUAL.html#fenced-code-blocks Le samedi 4 avril 2020 23:57:39 UTC+2, Boro Sitnikovski a écrit : > > Hi, > > I am preparing my masters thesis in Pandoc. It is written in a combination > of markdown and TeX files. > > It contains source code from different programming languages for which I > have a corresponding .sty file with `lstdefinelanguage`. However, when I > use the triple backticks (```), the highlighting styles are not applied. > > Is there a way to apply those styles to backticks so that I don't have to > use TeX's `lstlisting`? > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5f4a4351-0362-4595-8476-31c586e09fc0%40googlegroups.com.