Saxonberg Server API
    Preparing search index...

    A compiled Liquid prose template. Created via Prose.parse; the private constructor enforces that path so callers can't hand us an arbitrary AST.

    Index

    Methods

    • Render against a variable bag. Mml fragments interpolate verbatim; raw strings are escaped. Result is a finished Mml fragment.

      Parameters

      • vars: Record<string, unknown>

      Returns Mml

    • Register a custom filter on the shared prose engine, usable as {{ x | name }} (with optional args: {{ x | name: 'arg' }}). Filters that return Mml fragments compose with the Mml-aware output handler; raw-string returns get five-entity escaping. Exposed to authors through ProseApi.registerFilter.

      Parameters

      Returns void