Using the word Formula Editor, MathType and the online latex formula editor, both Word and PDF formula editing, or Web formula editing, were often inconvenient. Therefore, I have not been interested in blogging for a long time, because when the formula is much, the layout of the blog is too ugly.
It's been a lot better since CSDN supported Markdown. If the PDF formula is edited, Ctex and Sharelatex are recommended. In the case of web formula editing, CSDN provides markdown and Stackedit are good.
The problem to be solved today is how to use Mathjax in Markdownpad, which has been in the past for some time, but the method is incorrect, so no configuration is successful. In fact, the configuration process is fairly straightforward, and in Markdownpad, click the HTML Head Editor, Tools, Options, Advanced, to add custom content to the ' section of the generated HTML document. Add the content as follows:
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
The edited formula can be previewed in the Web page, and the Markdownpad shortcut is F6.
Here's an example to illustrate the following:
$$ \varGamma (x) = \frac { \int _{ \alpha } ^{ \beta } g (t) (x-t) ^2\text { d} t } Span class= "hljs-special" >{ \phi (x) \sum _{ i=0} ^{ n-1} \omega _i $$
The effect is displayed as follows:
Gamma (x)= ∫ beta α g (T)(x?T ) 2 DT?(x) ∑ n ? 1 i = 0 ω i
Reference documents:
[1] Markdown, you just need to master these few: Http://www.tuicool.com/articles/fmeMbqR
[2] Markdown] Use latex basic mathematical formula: http://blog.csdn.net/bendanban/article/details/44196101
[3] Markdownpad using mathjax:http://www.mamicode.com/info-detail-108808.html
[4] Loading and configuring mathjax:http://mathjax-chinese-doc.readthedocs.org/en/latest/configuration.html
[5] Excellent textual editing thought big collision: http://www.cnblogs.com/youxia/p/linux014.html
Switch from online latex to Markdownpad