Insert mathematical formula in Markdown

Source: Internet
Author: User

Since using Markdown, I have been using Markdown + Github to write articles and sort out what I have learned. This article is also done in this way.

However, Markdown features a good free writing, but it takes a lot of effort to encounter mathematical formulas-each time it is written using Latex first (for the online Latex Editor, refer to [1]), and then saved as an image, the img label is used for reference. When there are many formulas, it is a little complicated.

The method in this article uses the html syntax to call the [1] formula generation API to generate a Latex mathematical formula online, saving the trouble of saving the formula as an image. Of course, there are also some drawbacks. Too many formulas may lead to slower page refresh.

Method 1: servers using Google Chart
 

For example,

 

The formula is displayed as follows:

The response speed of the Google Chart server is acceptable, but it is said that some complicated Latex formulas may not be parsed (refer to [2]). <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPGgyPgq3vbeotv6jusq508Nmb3Jrb3Not/7O8cb3PC9oMj4KPHA + signature + CjxwcmUgY2xhc3M9 "brush: java;">

For example,

 

The result is as follows:

Html

[2] http://www.ruanyifeng.com/blog/2011/07/formula_online_generator.html

[3] http://www.forkosh.com/mathtex.html

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.