summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/html/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2025-06-23 11:12:58 +0200
committerGitHub <noreply@github.com>2025-06-23 09:12:58 +0000
commite9dc4bb20404037cf192c19f00a010ff3bb1a10b (patch)
tree46dca870d8809b7749f5e00e4c40aa23d909c521 /crates/typst-library/src/html/mod.rs
parent3602d06a155a0567fe2b2e75a4d5970578d0f14f (diff)
Typed HTML API (#6476)
Diffstat (limited to 'crates/typst-library/src/html/mod.rs')
-rw-r--r--crates/typst-library/src/html/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/typst-library/src/html/mod.rs b/crates/typst-library/src/html/mod.rs
index 1d88781c..7fc8adec 100644
--- a/crates/typst-library/src/html/mod.rs
+++ b/crates/typst-library/src/html/mod.rs
@@ -1,6 +1,7 @@
//! HTML output.
mod dom;
+mod typed;
pub use self::dom::*;
@@ -14,6 +15,7 @@ pub fn module() -> Module {
html.start_category(crate::Category::Html);
html.define_elem::<HtmlElem>();
html.define_elem::<FrameElem>();
+ self::typed::define(&mut html);
Module::new("html", html)
}