Markdownpad uses mathjax

Source: Internet
Author: User

I always wanted to support mathematical formulas in markdownpad and finally found a method:

In markdownpad, click "Tools> Options> advanced> HTML Head Editor". This is the custom header file. Add the following content:

<SCRIPT type = "text/JavaScript" src = "http://cdn.mathjax.org/mathjax/latest/MathJax.js? Config = TeX-AMS-MML_HTMLorMML "> </SCRIPT>

In this way, the formula you wrote can be displayed on the Page Preview (F6.

Of course, you can also download mathjax to your local device and add a local connection to the above location. The principles are the same.

Example file:

When \ (A \ Ne 0 \), there are two solutions to \ (ax ^ 2 + bx + c = 0 \) and they are: $ x = {-B \ PM \ SQRT {B ^ 2-4ac} \ over 2a }$ $ \ begin {aligned} \ dot {x} & = \ sigma (Y -x) \ dot {y} & =\ rhox-y-xz \ dot {z} & =-\ beta Z + XY \ end {aligned} $

Effect:

From: http://ondulado.wordpress.com/2013/08/27/mathjax-with-markdownpad-2/

P.s. If this link cannot be opened, you can use Google translation to translate the link, and the cache effect will be displayed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.