API Reference ash_typst v#0.2.0

Copy Markdown View Source

Modules

Precompiled Rust NIFs for rendering Typst documents from Elixir.

Protocol to support Typst code syntax.

Error returned from a failed compilation.

Result of a successful compilation.

Persistent Typst rendering context.

Options for creating a new context.

A diagnostic message from the Typst compiler.

Wrapper struct for rendered Typst documents.

Options for standalone font operations.

Options for PDF export.

Resolves DSL path values to absolute filesystem paths at runtime.

Spark DSL extension for rendering Typst templates as Ash generic actions.

Ash-compatible error wrapping Typst compilation diagnostics.

Introspection functions for the AshTypst.Resource extension.

Struct and schema for the render entity in the typst DSL section.

Struct and schema for the pdf_options sub-entity of a render action.

Struct and schema for the read sub-entity of a render action.

Struct and schema for the template entity in the typst DSL section.

Provides the ~TYPST sigil for Typst markup.

Source location span with optional line/column.

A trace item in a diagnostic.

Custom Ash type for %AshTypst.Document{}.