mwg API
    Preparing search index...

    Interface MarkupTextOptions

    interface MarkupTextOptions {
        align?: MarkupAlign;
        direction?: MarkupDirection;
        lineHeight?: number;
        maxWidth?: number;
        resolution?: number;
        resolveImage?: (path: string) => Texture;
        tagStyles?: Readonly<Record<string, TextStyleOptions>>;
        text?: string;
        variables?: Readonly<Record<string, string>>;
    }
    Index
    align?: MarkupAlign
    direction?: MarkupDirection

    flow direction; defaults to the theme's direction

    lineHeight?: number

    distance between baselines; defaults to the theme's size times line height

    maxWidth?: number

    wrap width in pixels; omit for a single unwrapped line

    resolution?: number

    text texture resolution; omit for the renderer default

    resolveImage?: (path: string) => Texture

    how an <img> path becomes a texture; defaults to the asset resolver with a Texture.EMPTY fallback

    tagStyles?: Readonly<Record<string, TextStyleOptions>>

    Pixi Text tag styles for custom inline tags, the same option a bare Text2D takes: supplying <quest>, say, makes <quest>...</quest> a styled run rather than literal text.

    text?: string
    variables?: Readonly<Record<string, string>>

    what a $name in the text becomes, the same contract parseMarkup takes