Skip to content

Guides

Guides are organized around rendering tasks rather than Python module boundaries.

  • Rendering model

    Inputs, node trees, compilation, render options, viewport sizing, and parameter contracts.

    Open guide

  • HTML and CSS

    Parsing, document stylesheets, strict and error-tolerant CSS, parser options, and resource discovery.

    Open guide

  • Output formats

    Raster encoders, raw RGBA, device pixel ratio, SVG, and layout measurement.

    Open guide

  • Fonts and images

    Resource ownership, font subsets, language metadata, and cache budgets.

    Open guide

  • Jinja Jinja templates

    Template directories, render context, custom filters, and escaping boundaries.

    Open guide

  • Animation

    Timeline sampling, scene sequences, raw frames, and animation encoders.

    Open guide

Guides explain decisions; reference pages define signatures

Complete parameter signatures are generated from source in the API reference. Guides focus on choosing an API and preserving its invariants so that parameter lists have a single source of truth.

Each guide links a runnable script from the examples/ directory, which the test suite executes.