Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fjebaker/vscode-metapost
MetaPost language and preview extension for VSCode.
https://github.com/fjebaker/vscode-metapost
metapost visual-studio-code vscode
Last synced: about 2 months ago
JSON representation
MetaPost language and preview extension for VSCode.
- Host: GitHub
- URL: https://github.com/fjebaker/vscode-metapost
- Owner: fjebaker
- License: mit
- Created: 2021-09-27T14:38:57.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-10T10:53:44.000Z (over 1 year ago)
- Last Synced: 2024-10-24T04:28:52.427Z (2 months ago)
- Topics: metapost, visual-studio-code, vscode
- Language: TypeScript
- Homepage:
- Size: 581 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vscode-metapost
Language support for the MetaPost TeX drawing language.
## Features
Currently available features:
- Adds colourized syntax highlighting to any `.mp` file. Embedded LaTeX, either via `btex`/`etex` blocks, or `verbatimtex` are automatically LaTeX highlighted.
![feature colourized](images/example-highlight.png)
- Preview image to the side, with update on save
![feature preview](images/example-preview.png)
## Known Issues
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 :~)
## Release Notes
### 0.1.4
Updated syntax highlighting keywords.
### 0.1.3
Set working directory to the file directory, not the workspace.
### 0.1.2
Removed the sandbox (caused too many issues if user is importing custom libraries). Also added quick selection for when multiple figures created.
### 0.1.1
Bugfix: registering activation events
### 0.1.0
Minimally working Metapost previewer, using VSCode webviews.
### 0.0.2
Added a creative commons logo.
### 0.0.1
Initial release, with minimal grammar defined.