From Online LaTeX to MarkdownPad and latexmarkdownpad
In the past, the Word formula Editor, MathType and online LaTeX formula editors were often used, which were inconvenient for both Word and PDF formula editing and Web formula editing. Therefore, I have not been interested in blogging for a long time, because when there are many formulas, the blog layout is too ugly.
Since CSDN supports Markdown, it is much better. For PDF formula editing, CTeX and ShareLatex are recommended. For Web formula editing, the Markdown and StackEdit provided by CSDN are both good.
The problem to be solved today is how to use MathJax in MarkdownPad. It has been around for a while before, but the method is incorrect, so it is not configured successfully. In fact, the configuration process is quite simple. In MarkdownPad, Click Tools> Options> Advanced> HTML Head Editor to add custom content to the 'section of the generated HTML document. The added content is as follows:
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
In this way, you can preview the edited formula on the webpage. The shortcut key of MarkdownPad is F6.
The following is an example:
$$ \varGamma(x) = \frac{\int_{\alpha}^{\beta} g(t)(x-t)^2\text{ d}t }{\phi(x)\sum_{i=0}^{N-1} \omega_i} $$
The display effect is as follows:
Gamma (x) = β α g (t) (x −t) 2 dt percentile (x) Σ N −1 I = 0 ω I
References:
[1] Markdown, you only need to master these: http://www.tuicool.com/articles/fmeMbqR
[2] Markdown] Using 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 disruptive editing ideas collision: http://www.cnblogs.com/youxia/p/linux014.html