microsoft/vscode-markdown-tm-grammar

VS Code built-in markdown extension's Textmate grammar

78

stars

95

commits

TypeScript

primary language

Sep 3, 2026

updated

README

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.

Contributors

(top 30 of 41)

tanhakabir

11 commits

dependabot[bot]

11 commits

babakks

6 commits

a-stewart

6 commits

microsoft/vscode-markdown-tm-grammar

VS Code built-in markdown extension's Textmate grammar

78

stars

95

commits

TypeScript

primary language

Sep 3, 2026

updated

README

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.

Contributors

(top 30 of 41)

tanhakabir

11 commits

dependabot[bot]

11 commits

babakks

6 commits

a-stewart

6 commits

Languages

TypeScript

74.2%

JavaScript

25.8%