Hi,
mmd uses the listings package to format code blocks. Listings is quite limited; in particular it doesn't do colors.
I would propose replacing listings with minted (https://github.com/gpoore/minted), which uses the very powerful Python library Pygments.
The only problem is that it adds the dependency on Pygments, which for me is not a problem, but you might consider it so.
Anyway, I will add support to it and then send a pull request, so you'll tell me if it makes sense or not.
And, thanks for mmd! :-)
Hi, mmd uses the listings package to format code blocks. Listings is quite limited; in particular it doesn't do colors. I would propose replacing listings with minted (https://github.com/gpoore/minted), which uses the very powerful Python library Pygments. The only problem is that it adds the dependency on Pygments, which for me is not a problem, but you might consider it so. Anyway, I will add support to it and then send a pull request, so you'll tell me if it makes sense or not. And, thanks for mmd! :-)