Skip to main content

Crate hsml

Crate hsml 

Source

Modules§

common
compiler
converter
diagnostic
formatter
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_diagnostics_with_options
Compile HSML source with custom options, returning structured diagnostics on error.
compile_content_with_diagnostics
Compile HSML source and return a JS object with HTML output and diagnostics.
convert_html
Convert HTML to HSML, exposed as a WASM binding.
convert_html_core
Core convert logic shared by WASM and native callers.
format_content
Format HSML source, exposed as a WASM binding.
format_content_core
Core format logic shared by WASM and native callers.