February 20, 2019

How to Use Pandoc Filters for Advanced Customisation of Your R Markdown Documents

In a package I’m developing, I had a problem around highlighting text in LaTeX and HTML output. The solution I found involved using pandoc filters to take full control over the final document. Here’s a guide to writing such filters when R Markdown ain’t got what you need.

February 3, 2019

How to Create New Chunk Options in R Markdown

What to do when the chunk options you need to get R Markdown to do what you want are missing? You create the ones you need. It is incredibly useful to be able to do so — unfortunately it can be a bit tricky to figure out how. Here’s a quick guide.