Skip to main content

Crate hsml

Crate hsml 

Source

Modules§

common
compiler
diagnostic
parser
validate

Structs§

CompileOutput
Result of compiling HSML source with diagnostic support.

Functions§

check_content
Check HSML source for errors and warnings without compiling. Returns all diagnostics (both parse errors and validation warnings).
compile_content
Compile HSML source to HTML, exposed as a WASM binding.
compile_content_core
Core compile logic shared by WASM and native callers.
compile_content_diagnostics
Compile HSML source, returning structured diagnostics on error. On success, returns the HTML output along with any warnings.
compile_content_with_diagnostics
Compile HSML source and return a JS object with HTML output and diagnostics.