HTX Guide · 1.5.0-alpha.2

What's available today

HTX 1.5.0-alpha.1 capability matrix — CLI, WASM, and editor tooling.

Product line: 1.5.0-alpha.2 · Reference implementation: Rust 0.3.0-alpha.3

This page summarizes what you can use today in the open-source toolchain. Normative behavior is defined in the specification.

Language and compiler

Capability CLI / library Browser playground
Block and inline directives Yes Yes
YAML frontmatter Yes Yes
Components and named slots Yes Yes (html profile)
Semantic references (@id) Yes Yes
Security profiles (trusted, content-only, untrusted-data) Yes Pre-built examples only
GFM tables (--gfm) Yes Pre-built examples only
Compiler profiles html, html-sanitize, web-components Yes html only
Canonical formatter (htx format) Yes —
Diagnostics HTX001–HTX014 Yes Yes
Streaming parse mode Yes —

Tooling

Tool Status
htx CLI (compile, parse, format, test) Build from GitHub
@htx/core WASM bindings Yes — html compile profile (this site)
VS Code extension (vscode-htx) Build from source
htx-lsp (diagnostics, hover, go-to-definition, symbols) Yes
Tree-sitter grammar (tree-sitter-htx) Yes
Documentation, examples, and playground Yes — you are here

Not yet (see roadmap)

  • cargo install / npm publish to public registries
  • VS Code Marketplace publish with bundled LSP binary
  • React / Astro compile profiles
  • Footnotes, includes, layout shorthand in core grammar
  • MCP server tools

Try it

No install required:

With the CLI:

htx compile my-document.htx -o output.html
htx compile table.htx --gfm -o table.html
htx test ./my-fixtures/

Build the CLI from the repository.