• Vijay

Wonderful... Thanks.

• Vijay

Hi Ole,

Great work again.

There was a customizable HTML preview template in the earlier version. I write latex equations in my markdown files and then use Mathjax to render them as discussed in this earlier post.

Has the customizable HTML template moved to a new location? I could not find it.

• Vijay

@Ole, Wonderful work...! Thanks a lot.

I can confirm that mathjax is working beautifully.

Choose a custom template in the Editor>Markdown section, and add a link to the mathjax cdn as described here. This, ofcourse, requires a wifi connection.

I got it to work offline as well. I downloaded the mathjax files into my dropbox folder, and trimmed them by removing all the unnecessary files as described here. I only want SVG output and hence followed trimming IV. This time, put

<script type="text/javascript"
src="MathJaxFolderName/MathJax.js?config=TeX-AMS-MML_SVG">
</script>


in the template header. And it works!

The offline method assumes that all the markdown files will be in the top-level dropbox directory. It would be nice if one could put in the absolute path to the mathjax folder. One could then have markdown files in subdirectories too. I have not figured out how to do this.

• Vijay

@Ole, I had tried earlier with an existing workflow and had problems with editorial parsing the text before mathjax got hold of it. With a customisable HTML preview template, it might work (hope it does). I will try it out and post back.

Thanks for the wonderful work....eagerly awaiting the update....!

• Vijay

@Ole, Will there be support for equations (via Mathjax)...?

• Vijay

I tried to have a local MathJax folder in my dropbox. And it works after adding the mathjax <script>...</script> element in the markdown file with the link pointing to the local Mathjax folder.

However, markdown seems to be parsing before mathjax gets control. Though a lot of the equations get parsed by mathjax, anything with a superscript is parsed by the markdown parser. Hence some of the equations look ugly.

There might be other elements (in addition to superscript) where parsing fails.

It should be possible to take care of this and also include a <script>...</script> to the local mathjax folder in the template used to render the HTML preview.

Hoping this will appear in version 1.1 (which we are awaiting eagerly)

• Vijay

Since you mentioned pandoc specifically, look at

http://wcm1.web.rice.edu/pandoc-on-ios.html

for an online based method for document conversion.