VS Code built-in markdown extension's Textmate grammar
Перейти к файлу
Matt Bierner 2ef29be471
Merge pull request #165 from microsoft/rebuild
Rebuild grammar
2024-07-08 10:27:13 -07:00
.vscode
syntaxes
test
.gitignore
CODE_OF_CONDUCT.md
LICENSE.txt
README.md
SECURITY.md
azure-pipelines.yaml
build.js
markdown.tmLanguage.base.yaml
package-lock.json
package.json

README.md

VS Code Markdown Grammar

Build Status

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:

npm install
npm run build

Testing

To run the grammar tests:

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.