I am currently working on implementing math support in blog posts. Here is a quick preview of the implementation.
$$\int_0^\infty x^n e^{-x} dx = n!$$
This is a simple example of an integral. The integral of \(x^n e^{-x}\) from 0 to infinity is \(n!\).
As you can see, the implementation supports both inline and display mathematics, using the package mathjax. We can further implement display math inline, eg \(\dfrac{1}{2}\) instead of \(\frac{1}{2}\). Generally, it is preferred for inline fractions to be display styled.
但是,我还没有华文的字体。华文的字还是一样用sans-serif的字体,不是最美的。我们可以放宋体字。