Better R support in pygments by monkey patching SLexer
I started using knitr with reStructuredText today and I found that the syntax highlighting with pygments (used by rst2html.py) was not as nice as the output of pandoc. So I ended up doing some monkeypatching. Try adding the following to rst2html.py: Before: After: Note: I assume ...
[Read more...]