Skip to content

Build VSCode syntax highlighter for Slashdown#4

Open
nickisnoble wants to merge 1 commit into
mainfrom
claude/slashdown-vscode-highlighter-01XCV3Eo7bS8zgZFPVNgAT7J
Open

Build VSCode syntax highlighter for Slashdown#4
nickisnoble wants to merge 1 commit into
mainfrom
claude/slashdown-vscode-highlighter-01XCV3Eo7bS8zgZFPVNgAT7J

Conversation

@nickisnoble

Copy link
Copy Markdown
Owner

This commit adds a complete VSCode extension that provides syntax highlighting for Slashdown files (.sd, .slashdown). Features include:

  • Comprehensive TextMate grammar for all Slashdown syntax elements
  • Tag syntax highlighting (/tagname)
  • ID (#id-name) and class (.class-name) highlighting
  • Attribute highlighting (key="value" and boolean)
  • Inline text content (= text) highlighting
  • Comment support (//)
  • Code fence support with language-specific syntax highlighting
  • Full markdown syntax support (headings, bold, italic, links, lists, etc.)
  • Language configuration for auto-closing pairs and comment toggling
  • Folding support for tag blocks
  • Example .sd file demonstrating all syntax features
  • Comprehensive README with installation and usage instructions

This commit adds a complete VSCode extension that provides syntax
highlighting for Slashdown files (.sd, .slashdown). Features include:

- Comprehensive TextMate grammar for all Slashdown syntax elements
- Tag syntax highlighting (/tagname)
- ID (#id-name) and class (.class-name) highlighting
- Attribute highlighting (key="value" and boolean)
- Inline text content (= text) highlighting
- Comment support (//)
- Code fence support with language-specific syntax highlighting
- Full markdown syntax support (headings, bold, italic, links, lists, etc.)
- Language configuration for auto-closing pairs and comment toggling
- Folding support for tag blocks
- Example .sd file demonstrating all syntax features
- Comprehensive README with installation and usage instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants