summaryrefslogtreecommitdiff
path: root/crates/typst-docs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-07-18 20:11:31 +0200
committerLaurenz <laurmaedje@gmail.com>2023-07-18 21:04:46 +0200
commitf5953887c9ae0b40a0c3e0ab516daf425c5a598c (patch)
treeb517ca68517e49bdf458bfa92036a8ff855c72f6 /crates/typst-docs
parent7dc605307cf7d69a3476b8b6fc4786f683c3289b (diff)
Extract syntax module into typst-syntax crate
Diffstat (limited to 'crates/typst-docs')
-rw-r--r--crates/typst-docs/src/html.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/typst-docs/src/html.rs b/crates/typst-docs/src/html.rs
index 4cbf5661..ed49f9fe 100644
--- a/crates/typst-docs/src/html.rs
+++ b/crates/typst-docs/src/html.rs
@@ -5,10 +5,9 @@ use pulldown_cmark as md;
use typed_arena::Arena;
use typst::diag::FileResult;
use typst::eval::Datetime;
-use typst::file::FileId;
use typst::font::{Font, FontBook};
use typst::geom::{Point, Size};
-use typst::syntax::Source;
+use typst::syntax::{FileId, Source};
use typst::util::Bytes;
use typst::World;
use yaml_front_matter::YamlFrontMatter;