Pandoc: markdown to HTML conversion, highlighter syntax

I am converting markdowns to HTML, and I want to include syntax highlighted code.

I am working with some markdown that contains syntax like:

~~~ {.c} long factorial (int n) { long result = 1; while (n > 1) result *= n--; return result; } ~~~ 

but I don’t know what syntax highlighting extension was used to handle this syntax. What is a good extension?

+8
markdown pandoc
source share

No one has answered this question yet.

See similar questions:

24
How can I convert Markdown documents to HTML in bulk?

or similar:

1240
Comments in Markdown
777
Resize Image in Markdown
562
GitHub satanically messing with Markdown - changes 666 to DCLXVI
453
GitHub relative link in Markdown file
420
View delimited files offline
123
Turn on backlight in Vim
eighteen
Diff syntax highlighting in Github Markdown
5
Syntax highlighting with Markdown & Pygments in Django
0
Springer pandoc markdown formulas
0
Tables / Listings: Convert Markdown to HTML and PDF with Pandoc

All Articles