You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

663 B

Math

Math annotations can be created with the AsciiMath Syntax. The parser is implemented in it's own crate asciimath-rs.

Inline math:

Inline math $$ a^2 + b^2 = c^2 $$ in one line.

Inline math a^2 + b^2 = c^2 in one line.

Block Math:

$$$
A = [[1, 2],[3,4]]
$$$
$
A = [[1, 2],[3,4]]

Snekdown uses MathJax for improving the output of rendered MathML expressions. Browsers like Firefox support rendering of MathML directly so it's not a requirement to use it there. It can be turned off with the feature setting include_mathjax.