Add code block language name into CSS classes in Pelican Markdown
I used Pelican and its Markdown plugin to render blog post.
Recently I was playing with the Python Official Documentation, which has a decent code syntax highlighter powered by Pygments.
What’s more, the output of code examples can be toggled. That is, a code example:
>>> print('Hello World') Hello …