My purpose is to generate two versions from the same markdown file. Think in a worksheet or a set of reveal slides with and without solutions.
If I use gpp, like suggested
here, the math expressions in my .md (mathjax) get messed, since \ are escaped.
Is there a way out of the box? For instance, by using custom fenced_divs and them telling pandoc to remove that specific div? I've taken a look at custom filters but I don't know haskell...
Thanks