Hi everyone
Recently I switched my static site generator from Pelican to Hakyll.
With Pelican I used a plugin to include external code snippets in my blog posts, that were also properly syntax highlighted.
I really liked the functionality and also wanted to stay backwards compatible to my already existing files.
I wrote a
small blog post describing two possible solutions to achieve this in Hakyll. My favored solution is to use
fenced divs offered by Pandoc's markdown.
I hope this can be of some help to others with similar needs.
Best regards
Tobias