xwmx / pandoc-ruby

Ruby wrapper for Pandoc
MIT License
340 stars 43 forks source link

Ignore equations. #7

Closed alexjohnson505 closed 11 years ago

alexjohnson505 commented 11 years ago

Thanks a ton for making this! When converting LaTeX -> HTML, is there a way to ignore questions?

So that pandoc wouldn't convert any LaTeX between:

\begin{equation} ... ignored ... \end{equation}

Such that equations could be rendered with something like MathJax?.

Thanks!

xwmx commented 11 years ago

Hi! I've never dealt with this, but if it's something that Pandoc supports, then you should be able to pass the options to PandocRuby and have it work just fine. I recommend taking a look through the Pandoc documentation to see if the option exists: http://johnmacfarlane.net/pandoc/