diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-06-03 10:12:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-03 08:12:52 +0000 |
| commit | 755dd4112d58d54d6bce7d9a44a6d183ddadc772 (patch) | |
| tree | ceb4a8a7ac2d941ae5b6dc7ae56a05cd4afb7473 /docs/src/lib.rs | |
| parent | 23746ee18901e08852306f35639298ad234d3481 (diff) | |
Show block-level elements as blocks (#4310)
Diffstat (limited to 'docs/src/lib.rs')
| -rw-r--r-- | docs/src/lib.rs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/docs/src/lib.rs b/docs/src/lib.rs index ab8e2d51..8af7dc0d 100644 --- a/docs/src/lib.rs +++ b/docs/src/lib.rs @@ -14,19 +14,15 @@ use once_cell::sync::Lazy; use serde::Deserialize; use serde_yaml as yaml; use typst::diag::{bail, StrResult}; -use typst::foundations::AutoValue; -use typst::foundations::Bytes; -use typst::foundations::NoneValue; use typst::foundations::{ - CastInfo, Category, Func, Module, ParamInfo, Repr, Scope, Smart, Type, Value, - FOUNDATIONS, + AutoValue, Bytes, CastInfo, Category, Func, Module, NoneValue, ParamInfo, Repr, + Scope, Smart, Type, Value, FOUNDATIONS, }; use typst::introspection::INTROSPECTION; use typst::layout::{Abs, Margin, PageElem, LAYOUT}; use typst::loading::DATA_LOADING; use typst::math::MATH; -use typst::model::Document; -use typst::model::MODEL; +use typst::model::{Document, MODEL}; use typst::symbols::SYMBOLS; use typst::text::{Font, FontBook, TEXT}; use typst::utils::LazyHash; |
