VS Code markdown extension's TextMate grammar.
The main grammar is stored in syntaxes/markdown.tmLanguage
. This file is generated from markdown.tmLanguage.base.yaml
:
To generate the main grammar:
npm install
npm run build
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.