I’d like to ask some common configuration examples.

I don’t know JS, so I want to find some ready-made ones; online things are a bit miscellaneous, so I want to ask the user how to use them.

My intention is to combine remarkjs and mathjax to make a simple example for later use.

http://blog.libnav.com/js/89.html

Original English:http://ajaxian.com/archives/mathjax

I’ve done something before. Let’s see if it helps

Also, you can see the formula editor of Baidu Encyclopedia, and you will find something special

Here is an example of minimization:

<!DOCTYPE html>

<html>

<head lang=”en”>

<script type=”text/javascript” src=”http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML”></script>

<title></title>

</head>

<body>

Test for formula.

$$\sum_{n=1}^\infty 1/n^2 = \frac{\pi^2}{6} $$

</body>

</html>

The mathjax file is introduced, and then the syntax similar to latex is applied where the formula needs to be inserted. If the formula between $$$$is a single line formula, and the formula between $$is an in line formula, the mathematical formula can be generated.

Just try this, just go to the above link to download the mathjax file, and then change the original JavaScript link connecting to the mathjax CDN to < script type = “text / JavaScript” SRC = “path to mathjax / mathjax. JS? Config = tex-ams-mml ï¹¤ htmlormml” >.

It still works ðŸ™‚