Added Latex Support

Posted by : on

Category : jekyll


You can now use LaTex to write equations

In the frontmatter of the article add this :

usemathjax: true

After that, simply wrap the math symbols of your article with two double-dollar sign $$:

For Example :

  • use this $$E=mc^2$$

You should be able to see it in your post as: \(E=mc^2\)

use $$mean = \frac{\displaystyle\sum_{i=1}^{n} x_{i}}{n}$$ to write :

\[mean = \frac{\displaystyle\sum_{i=1}^{n} x_{i}}{n}\]
  • Use k_{n+1} = n^2 + k_n^2 - k_{n-1} to write
\[k_{n+1} = n^2 + k_n^2 - k_{n-1}\]
About Sujay kundu
Sujay kundu

Full Stack Web Developer, based in Bangalore, India

Email : mail@sujaykundu.com

Website : https://sujaykundu.com

About MJ XIE

Hey, my name is MJ Xie, I have been working in my own company for more than 10 years. I majored in CS in university. Before 2008, I worked as a backend engineer for 5 years. Since 2009, I transferred to the plush industry , I will continue to focus on the faux fur plush industry. If you have any questions about knowledge of plush faux fur ,please feel free contact me at once, I will reply as soon as possible.

Star