Markdown is a markup language that can be written using a plain text editor to format plain text content with simple markup syntax. As a technical forum, nuggets inevitably need to insert mathematical formulas when writing articles. But writing the formula word by word is really a headache!! Here is a simple formula insertion method that is guaranteed to make you love it!

1. Markdown formula foundation

First, you must be able to edit the simplest formulas, for exampleWait, recommend a conscience site: Homework Tribe,Markdown’s Concise Grammar ManualAs well asMarkdown formula instruction manual, click the jump.

2. Formal teaching: Smirk

We need to use this website: Latex, which looks like this:

Area 1 can select the formula to be edited, area 2 can edit the formula, and the formula preview will appear in area 4. Click area 5 to copy the formula and paste it between two dollar signs in Markdown editor to display the formula. In addition, you can download the formula directly in section 6. You can choose GIF/PNG/JPG/SVG and other formats.

The formula can also be presented directly as an image in the text. All you have to do is select the URL in the 7 field and copy the text box below

The Markdown code for the above formula is:

! [equation] (http://latex.codecogs.com/gif.latex?\sum_ {I = 1} ^ {n} x_i ^ 2)Copy the code

Compare the formulas not shown in picture form:

I think the picture form is better!


Email: [email protected]

Please inform the author of reprint, thank you!