math - chunhualiao/public-docs GitHub Wiki
There are two options for delimiting a math expression inline with your text. You can either surround the expression with dollar symbols ($), or start the expression with $ and end it with $. The latter syntax is useful when the expression you are writing contains characters that overlap with markdown syntax.
To add a math expression as a block, start a new line and delimit the expression with two dollar symbols $$, all in one line including the beginning and end $$.