Language support for the MetaPost TeX drawing language.
Currently available features:
- Adds colourized syntax highlighting to any
.mp
file. Embedded LaTeX, either viabtex
/etex
blocks, orverbatimtex
are automatically LaTeX highlighted.
- Preview image to the side, with update on save
Macro invocation highlighting does not yet work as intended, thus has been left out.
Please note I am writing this extension as I learn MetaPost; specifically the grammar used in the syntax highlighting will be incomplete / error prone.
Please get in contact with me to request changes, or submit a PR on the GitHub.
Thank you :~)
Updated syntax highlighting keywords.
Set working directory to the file directory, not the workspace.
Removed the sandbox (caused too many issues if user is importing custom libraries). Also added quick selection for when multiple figures created.
Bugfix: registering activation events
Minimally working Metapost previewer, using VSCode webviews.
Added a creative commons logo.
Initial release, with minimal grammar defined.