A Visual Studio Code extension that provides syntax highlighting for MarkProcess notation tags in Markdown files. Tags are coloured by indentation level so you can visually parse document hierarchy at a glance.
What It Does
- Highlights
[TAG]and[TAG:param]notation in.mdfiles - Applies different colours based on indentation level — no indent, space indent, tab indent
- Parameters (
:valuepart) are styled separately - Works alongside standard Markdown highlighting — no conflict
- Theme-agnostic — configure your own colours via VS Code settings
Quick Install
npm install -g @vscode/vsce
vsce package
code --install-extension markprocess-syntax-highlighter-1.0.3.vsix
Then add to your VS Code settings.json:
"[markdown]": {
"editor.insertSpaces": false,
"editor.formatOnSave": false
},
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "markup.markprocess.tag.no-indent",
"settings": { "foreground": "#F8EC46", "fontStyle": "bold" }
},
{
"scope": "markup.markprocess.tag.space-indent",
"settings": { "foreground": "#FF8C42", "fontStyle": "bold" }
},
{
"scope": "markup.markprocess.tag.tab-indent",
"settings": { "foreground": "#0099FF", "fontStyle": "bold" }
},
{
"scope": "markup.markprocess.parameter",
"settings": { "foreground": "#FF99CC", "fontStyle": "italic" }
}
]
}
Reload VS Code: Ctrl+Shift+P → "Reload Window"
Tag Rules
- Tags must be UPPERCASE:
[TASK]✓ —[task]✗ - No space after colon:
[TAG:value]✓ —[TAG: value]✗ - File must be
.mdor.markdown
Full Documentation
All detailed documentation lives in the project Blueprint:
| Topic | File |
|---|---|
| Full install guide | _blueprint/markprocess-highlighter/build/INSTALL.md |
| Color configuration + presets | _blueprint/markprocess-highlighter/build/COLORS.md |
| Grammar + scopes reference | _blueprint/markprocess-highlighter/build/GRAMMAR.md |
| Active tasks | _blueprint/markprocess-highlighter/tasks/PENDING.md |
| Navigation index | _blueprint/markprocess-highlighter/INDEX.md |
Release Notes
1.0.3
- Published to VS Code Marketplace
- Reduced package size (removed dev/internal files from bundle)
1.0.2
- Tab vs space indentation detection fix
- Compound tag support
[TAG]-[TAG](partial)
1.0.1
- Three indentation scopes: no-indent, space-indent, tab-indent
- Parameter scope
1.0.0
- Initial release
License
MIT
More Information
MarkProcess notation: https://markprocess.com