When using MarkdownPad2, you need to insert a mathematical formula, but live preview fails to record the modification process:
In Markdownpad, click "Tools > Options > Advanced > HTML Head Editor", this is the custom header file. Add the following content:
<type= "Text/javascript"
src= "Http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </ Script >
Alternatively, you can download the Mathjax package locally, unzip it to the hard disk, and add:
<type= "Text/javascript" src= "D:/softwares/markdownpad 2/ JAXEDIT-0.30/JAXEDIT-0.30/LIBRARY/MATHJAX/UNPACKED/MATHJAX.JS?CONFIG=TEX-AMS-MML_HTMLORMML "> </ Script >
You can press F6 Preview, (F4 change the preview location, F5 show preview, F6 browser preview, F11 fullscreen)
However, when using MARKDOWNPAD2 to convert directly to PDF, found that there is a problem with the transferred file, can not display the formula, only the latex formula code, and the margins are not normal. The following methods can be used to resolve:
After F6 preview, you can export PDFs by selecting print in the browser.
MarkdownPad2 Live preview and go PDF operation for implementing mathematical formulas