ipython/nbconvert — pull request #183 by jakobgager (2013-06-15 23:42:08+00:00)
Title: Enhanced markdown2latex method

Use HTMLParser to split the markdown source into
* pure markdown
* html tags
* tagged comments (starting with ##)

Addresses a shortcoming of pandoc that raw html is removed during conversion to latex (see http://johnmacfarlane.net/pandoc/README.html#raw-html)
The tagged comments may be used to inject "invisible" latex.