Skip to content

espiria/promptdown

Repository files navigation

PromptDown

Syntax highlighting for LLM prompt tokens in Markdown files.

What It Does

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

Installation

From VSIX

npx @vscode/vsce package
code --install-extension promptdown-0.0.1.vsix

Development

Press 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).

About

Syntax highlighting for prompt variables, file references, and shell commands in Markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors