Built-in packages

Import Tola’s built-in Typst packages at version 0.0.0, for example #import "@tola/address:0.0.0": output-url. In the terminal, run tola help "@tola/address" output-url.

PackageSummary
@tola/siteRead resolved [site] settings, [options], build-mode, and site-rooted paths inside Typst.
@tola/moduleRead resolved options and published static assets for a configured Tola module.
@tola/addressGenerate slugs and convert between site routes, publish output paths, and browser URLs.
@tola/iconRender configured SVG icons inline in HTML or publish them as standalone SVG assets.
@tola/imageInspect image metadata, resize/convert images, and generate responsive <img> elements with srcset.
@tola/sourceDiscover Typst content files, inspect the current source, and declare or validate page metadata.
@tola/collectionIndex, group, filter, paginate, and traverse hierarchical trees over site records.
@tola/datalogEvaluate stratified Datalog queries over site relations, facts, and derivation rules.
@tola/schemaDeclare, compose, inspect, and run validation schemas over metadata and Typst values.
@tola/documentInspect the current document, list its headings, query cross-document links, and extract plain text.
@tola/codeSyntax-highlight code blocks in HTML export with light and dark themes.
@tola/headBuild HTML <head> metadata elements: title, description, canonical link, Open Graph, and Twitter cards.
@tola/feedGenerate RSS, Atom, or JSON Feed outputs from site documents.
@tola/sitemapGenerate an XML sitemap listing published site documents for search engines.
@tola/hashCompute BLAKE3 digests and encode bytes as lowercase hexadecimal strings.
@tola/uuidNormalize UUID strings and generate deterministic UUID v5 identifiers.
@tola/diagnosticEmit custom errors, warnings, info messages, and hints during Typst evaluation.

Search this site

Use the arrow keys to move through results.

Type to search.