Package-level declarations

Types

Link copied to clipboard
object Html2Mdx

HTML -> MDX converter: the Starlight-side counterpart to Html2Typst. Same DOM-walk shape (see that file's KDoc for the upstream html2typst lineage and the deviations already made there — unrecognized tags fall back instead of crashing, inter-element whitespace is preserved), but this one was written fresh against MDX/GFM syntax rather than ported from Rust, and reuses this project's own MdxEscaper (prose + fence channels) so Dokka-derived content escapes exactly the same way myst2mdx's own MyST->MDX output does — one escaping policy, not two.

Link copied to clipboard
object Html2Typst

HTML -> Typst markup converter. Ported from adriandelgado/html2typst (Rust, MIT, github.com/adriandelgado/html2typst/blob/main/src/lib.rs) and extended with <pre>/<code>/<table> support, which upstream leaves as todo!() — the two element types that make up the bulk of Dokka-generated API docs.