API Reference ash_typst v#0.3.0

Copy Markdown View Source

Modules

Precompiled Rust NIFs for rendering Typst documents from Elixir.

Protocol to support Typst code syntax.

Returned as {:error, %AshTypst.CompileError{}} when compilation or export fails.

Persistent Typst rendering context.

A single compiler diagnostic (error or warning) produced by Typst.

Wrapper struct for rendered Typst documents.

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.

A source location range within a Typst file, attached to an AshTypst.Diagnostic or AshTypst.TraceItem.

One entry in an AshTypst.Diagnostic's call trace, identifying a step in the chain of function calls that led to the diagnostic.

Custom Ash type for %AshTypst.Document{}.