Syntax highlighting for LLM prompt tokens in Markdown files.
PromptDown adds syntax highlighting for tokens commonly used in LLM prompts within Markdown files:
| Token | Example | Description |
|---|---|---|
| Indexed arguments | $ARGUMENTS[0] |
Positional argument by index |
| Arguments | $ARGUMENTS |
All arguments |
| Positional params | $1, $2 |
Numbered parameters |
| Session variables | ${CLAUDE_SESSION_ID} |
Session-scoped variables |
| File references | @src/utils.ts |
File path references |
| Shell commands | !`git status` |
Inline shell command execution |
npx @vscode/vsce package
code --install-extension promptdown-0.0.1.vsixPress F5 in VS Code to launch an Extension Development Host with the extension loaded. No build step required — edit the grammar and reload (Ctrl+R).