diff options
| author | Niklas Eicker <git@nikl.me> | 2025-01-08 10:38:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-08 09:38:34 +0000 |
| commit | 0a374d238016c0101d11cbc3f4bc621f3895ad36 (patch) | |
| tree | 5799e3c279e70a371fe7d737ac3ff37655827910 /docs/src/lib.rs | |
| parent | 265df6c29f4d142a372917dd708bfba780f7cfbc (diff) | |
Embed files associated with the document as a whole (#5221)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'docs/src/lib.rs')
| -rw-r--r-- | docs/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/src/lib.rs b/docs/src/lib.rs index 5ca3724a..e9279971 100644 --- a/docs/src/lib.rs +++ b/docs/src/lib.rs @@ -25,6 +25,7 @@ use typst::layout::{Abs, Margin, PageElem, PagedDocument, LAYOUT}; use typst::loading::DATA_LOADING; use typst::math::MATH; use typst::model::MODEL; +use typst::pdf::PDF; use typst::symbols::SYMBOLS; use typst::text::{Font, FontBook, TEXT}; use typst::utils::LazyHash; @@ -163,6 +164,7 @@ fn reference_pages(resolver: &dyn Resolver) -> PageModel { category_page(resolver, VISUALIZE), category_page(resolver, INTROSPECTION), category_page(resolver, DATA_LOADING), + category_page(resolver, PDF), ]; page } |
