mirror of
https://github.com/typst/typst
synced 2025-05-17 18:45:28 +08:00
16 lines
329 B
Rust
16 lines
329 B
Rust
//! PDF-specific functionality.
|
|
|
|
mod embed;
|
|
|
|
pub use self::embed::*;
|
|
|
|
use crate::foundations::{Module, Scope};
|
|
|
|
/// Hook up all `pdf` definitions.
|
|
pub fn module() -> Module {
|
|
let mut pdf = Scope::deduplicating();
|
|
pdf.start_category(crate::Category::Pdf);
|
|
pdf.define_elem::<EmbedElem>();
|
|
Module::new("pdf", pdf)
|
|
}
|