# ash_typst v0.2.0 - Table of Contents

> Precompiled NIFs and tooling to render Typst documents.

## Pages

- [Home](readme.md)

- Topics
  - [Sensitive Data](sensitive-data.md)

- Reference
  - [AshTypst.Resource](dsl-ashtypst-resource.md)

- About AshTypst
  - [Change Log](changelog.md)

## Modules

- [AshTypst.Document](AshTypst.Document.md): Wrapper struct for rendered Typst documents.
- [AshTypst.PathResolver](AshTypst.PathResolver.md): Resolves DSL path values to absolute filesystem paths at runtime.
- [AshTypst.Resource](AshTypst.Resource.md): Spark DSL extension for rendering Typst templates as Ash generic actions.
- [AshTypst.Resource.Info](AshTypst.Resource.Info.md): Introspection functions for the `AshTypst.Resource` extension.
- [AshTypst.Resource.Render](AshTypst.Resource.Render.md): Struct and schema for the `render` entity in the `typst` DSL section.
- [AshTypst.Resource.Render.PdfOptions](AshTypst.Resource.Render.PdfOptions.md): Struct and schema for the `pdf_options` sub-entity of a render action.
- [AshTypst.Resource.Render.Read](AshTypst.Resource.Render.Read.md): Struct and schema for the `read` sub-entity of a render action.
- [AshTypst.Resource.Template](AshTypst.Resource.Template.md): Struct and schema for the `template` entity in the `typst` DSL section.
- [AshTypst.Sigil](AshTypst.Sigil.md): Provides the `~TYPST` sigil for Typst markup.
- [AshTypst.Type.Document](AshTypst.Type.Document.md): Custom Ash type for `%AshTypst.Document{}`.

- Core
  - [AshTypst](AshTypst.md): Precompiled Rust NIFs for rendering [Typst](https://typst.app) documents from Elixir.
  - [AshTypst.Context](AshTypst.Context.md): Persistent Typst rendering context.

- Data Encoding
  - [AshTypst.Code](AshTypst.Code.md): Protocol to support Typst code syntax.

- Structs
  - [AshTypst.CompileError](AshTypst.CompileError.md): Error returned from a failed compilation.
  - [AshTypst.CompileResult](AshTypst.CompileResult.md): Result of a successful compilation.
  - [AshTypst.Context.Options](AshTypst.Context.Options.md): Options for creating a new context.
  - [AshTypst.Diagnostic](AshTypst.Diagnostic.md): A diagnostic message from the Typst compiler.
  - [AshTypst.FontOptions](AshTypst.FontOptions.md): Options for standalone font operations.

  - [AshTypst.PDFOptions](AshTypst.PDFOptions.md): Options for PDF export.
  - [AshTypst.Span](AshTypst.Span.md): Source location span with optional line/column.
  - [AshTypst.TraceItem](AshTypst.TraceItem.md): A trace item in a diagnostic.

- Exceptions
  - [AshTypst.Resource.Errors.CompileError](AshTypst.Resource.Errors.CompileError.md): Ash-compatible error wrapping Typst compilation diagnostics.

