Add asciimath support for VSCode's built-in markdown preview.
- tutorial & reference: https://asciimath.widcard.win
- tutorial for old version (<= 0.0.3): https://zmx0142857.github.io/note/#math
- original asciimath homepage: http://asciimath.org/
example.md
- inline formula: ``a/b``
- block formula:
```am
[
1,0,0;
0,1,0;
0,0,1;
]
```
- use $\LaTeX$:
$$\frac a b$$
Try this live demo to explore more about asciimath.
markdown-asciimath.blockLabel
: Label name for block formula (default:["asciimath", "am"]
)markdown-asciimath.inlineDelimLeft
: Left Delimiter for inline formula (default: ``)markdown-asciimath.inlineDelimRight
: Right Delimiter for inline formula (default: ``)
Thanks to @widcardw's help and his well-crafted markdown-it plugin.