Skip to content

Add asciimath support for VSCode's built-in markdown preview.

License

Notifications You must be signed in to change notification settings

zmx0142857/vscode-markdown-asciimath

Repository files navigation

Asciimath for Markdown Preview

Features

Add asciimath support for VSCode's built-in markdown preview.

Usage

example.md

- inline formula: ``a/b``
- block formula:
  ```am
  [
    1,0,0;
    0,1,0;
    0,0,1;
  ]
  ```
- use $\LaTeX$:
  $$\frac a b$$

feature 01

Try this live demo to explore more about asciimath.

Settings

  • 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: ``)

Special Thanks

Thanks to @widcardw's help and his well-crafted markdown-it plugin.

About

Add asciimath support for VSCode's built-in markdown preview.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published