This article comes from the public number of mu code

To solve! Markdown Nice solved the difficult problem of mathematical formula typesetting for wechat official account! The first one to solve the whole network! How come no one knows yet!

Mdnice.com/ give you the most perfect solution!

Leading formula

I am the clear interline formula ~


I am the clear interline formula ~


I am the clear interline formula ~


I am the clear interline formula ~

Inline formula

I am neat in line formula ~

set.The midpoint of the two-point line segment is,.Perpendicular to theTwo points of connectionDue to theIs a trapezoidA waistMidpoint,It must be the other way aroundIn the middle.

I am neat in line formula ~

Due to theThe midpoint of, and, therefore,Must also beIn the middle.

I am neat in line formula ~

Method of use

Forget the solution of turning the formula into a picture and inserting it into an official account.

Write mathematical formulas with Markdown Nice and LaTeX grammar, and copy them to the official account with one click, giving you a flying experience!

In the edit box on the left, write the contents of Markdown, in which the mathematical formula is embedded in LaTeX syntax:

1. In-line formulas: Add a $sign before and after the formula, and insert LaTeX syntax in the middle.

In general$a+b$The results of theCopy the code

2. Interline formulas: Add two $signs before and after the formula, and insert LaTeX syntax in between.

?
  \begin{pmatrix}
  1 & a_1 & a_1^2 & \cdots & a_1^n \\
  1 & a_2 & a_2^2 & \cdots & a_2^n \\
  \vdots & \vdots & \vdots & \ddots & \vdots \\
  1 & a_m & a_m^2 & \cdots & a_m^n \\
  \end{pmatrix}
?
Copy the code

The editor is rendered in real time and can be seen in real time on the right. After editing the article, click the blue copy button in the upper toolbar, and the following prompts will appear:

You can paste content directly in the background editor of wechat public number with Ctrl + V.

If you are not familiar with LaTeX syntax, please refer to zhihu’s question: How are the formulas on Zhihu typed? . In order to optimize the display of wechat official accounts, LaTeX formulas suggest:

  1. \tag{xxx}Instead of\qquad (xxx)(Avoid formula narrowing)
  2. Change the long inline formula to the interline formula (optimize line breaking) and wrap appropriately. Don’t use it directly\ \To wrap a line, usealignedAnd so on to its environment. (Avoid formula narrowing)

It should be noted that the formula of this tool typesetting is easy to lose when the public number background is second edited, so try to avoid this operation.

Such a neat formula! Such detailed tips! Has not been moved to! Come and try it!

Visit mdnice.com/ speed experience!

Thanks to the technical support provided by @Phoebe (founder), @IDX (formula terminator) and @Yunying (graph bed and componentization guru), the main developers in the open source world always strive to improve user experience.

Thanks to all theme designers for providing users with quality choices.

Thanks to all of our users for their valuable comments.

Concern public number reply “typesetting” to join the user group feel the formula straight soul, welcome to click on and forward


About the Markdown Nice

Making address github.com/mdnice/mark…

Currently working on the utility features, the first useful NPM package will be released soon, you can also have a nice and useful editor on your personal blog!!


Welcome to my nuggets and public accounts, algorithms, TypeScript, React and their source ecology.