KATA Markdown™ Language SupportA VSCode extension for gospelo-kata. Provides real-time lint, syntax highlighting, hover information, and preview for KATA Markdown templates ( FeaturesLint
Syntax Highlighting
Hover Information
Preview CSS
Requirements
Lint RulesTemplate Mode (
|
| Code | Level | Description |
|---|---|---|
| S000 | info | No schema defined |
| S001 | error | Invalid JSON in schema block |
| S002 | error | Schema is not a JSON object |
| S003 | warning | Schema missing type field |
| S004 | error | Schema file not found |
| T001 | error | Unclosed {% for %} / {% if %} |
| T002 | error | {% elif %} without matching {% if %} |
| T003 | error | {% else %} without matching {% if %} / {% for %} |
| T004 | error | {% endif %} without matching {% if %} |
| T005 | error | {% endfor %} without matching {% for %} |
| T006 | warning | Unknown block tag |
| F001 | error | Unknown filter name |
| V001 | warning | Variable not found in schema properties |
| V002 | info | Unused schema properties |
Document Mode (.md)
| Code | Level | Description |
|---|---|---|
| D001 | error | Schema not found |
| D002 | error | Required section (## Heading) missing |
| D003 | warning | Table column count mismatch |
| D004 | warning | Empty section |
| D005 | warning | Annotation link target not in schema |
| D006 | info | Schema properties with no links |
Extension Settings
| Setting | Default | Description |
|---|---|---|
kataLint.pythonPath |
"python" |
Path to the Python interpreter |
kataLint.lintOnSave |
true |
Run lint on file save |
kataLint.lintOnOpen |
true |
Run lint on file open |
kataLint.severity.info |
"Information" |
Severity level for info messages |
VSCode Setup
Auto-generate task configuration with the gospelo-kata CLI:
gospelo-kata init-vscode --output .vscode/
See the VSCode Integration Guide for details.
License
MIT — See LICENSE.md