feat: render examples in docs (#772)

* feat: render examples in docs

* fix: create `hover-images` on `startHover`

* dev: update snapshot
This commit is contained in:
Myriad-Dreamin 2024-11-08 15:55:47 +08:00 committed by GitHub
parent d02fa18617
commit d75fd7e74e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 334 additions and 74 deletions

View file

@ -91,6 +91,8 @@ use typst::{model::Document as TypstDocument, syntax::Source};
/// The physical position in a document.
pub type FramePosition = typst::layout::Position;
pub use typlite::ColorTheme;
/// A compiled document with an self-incremented logical version.
#[derive(Debug, Clone)]
pub struct VersionedDocument {