html
HTML Language Support
The community/lang/html directory is responsible for defining the Talon voice-coding context for HTML and HTML-like templating environments.
Configuration Files
- html.talon: Establishes the active language context for HTML-related commands, tags, and behaviors.
How It Works
The html.talon file uses Talon's context header matching to group several language identifiers together:
code.language: html
code.language: javascriptreact
code.language: typescriptreact
-
By defining these rules above the activation separator (-), Talon treats standard HTML, React JavaScript (JSX), and React TypeScript (TSX) as compatible environments for HTML markup commands. This setup ensures that web developers have access to consistent voice commands for writing tags, attributes, and elements whether they are working in a plain .html file or inside modern web components (.jsx and .tsx files).