MathJax

Table of Contents

MathJax JavaScript library allows you to include mathematics in your web pages for viewing in any modern browser.

How to enable MathJax

For enabling MathJax, add this to your content’s frontmatter:

mathjax: true

MathJax example

Input:

When \\( a \ne 0 \\), there are two solutions to

$$ ax^2 + bx + c = 0 $$

and they are:

\\[ x = {-b \pm \sqrt{b^2-4ac} \over 2a} \\]

Output:

When \( a \ne 0 \), there are two solutions to

$$ ax^2 + bx + c = 0 $$

and they are:

\[ x = {-b \pm \sqrt{b^2-4ac} \over 2a} \]

行叔 avatar
行叔
我是一位敏捷教练,业余的Python开发者。更多文章,可以访问 https://www.agilewalker.com