Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/vscode-markdown-tm-grammar
VS Code built-in markdown extension's Textmate grammar
https://github.com/microsoft/vscode-markdown-tm-grammar
Last synced: 3 days ago
JSON representation
VS Code built-in markdown extension's Textmate grammar
- Host: GitHub
- URL: https://github.com/microsoft/vscode-markdown-tm-grammar
- Owner: microsoft
- License: mit
- Created: 2018-02-08T00:11:43.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T17:27:14.000Z (4 months ago)
- Last Synced: 2024-11-08T00:36:44.580Z (4 days ago)
- Language: JavaScript
- Homepage:
- Size: 459 KB
- Stars: 64
- Watchers: 18
- Forks: 49
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- awesome - microsoft/vscode-markdown-tm-grammar - VS Code built-in markdown extension's Textmate grammar (JavaScript)
README
# VS Code Markdown Grammar
[![Build Status](https://dev.azure.com/monacotools/Monaco/_apis/build/status/Extensions/microsoft.vscode-markdown-tm-grammar?branchName=main)](https://dev.azure.com/monacotools/Monaco/_build/latest?definitionId=203&branchName=main)
VS Code markdown extension's TextMate grammar.
## Contributing
The main grammar is stored in `syntaxes/markdown.tmLanguage`. This file is generated from `markdown.tmLanguage.base.yaml`:
### Building
To generate the main grammar:
```console
npm install
npm run build
```### Testing
To run the grammar tests:
```console
npm run test
```The test cases are stored as markdown files under `test/colorize-fixtures`. Grammar test results are stored under `test/colorize-results`, which are automatically generated from the fixtures.
To test the grammar in VS Code, select the `Launch Extension` configuration in the VS Code debugger and run.