Trevixal API
    Preparing search index...

    Interface DiagramRenderContext

    What a DiagramRenderer is told about the block it draws.

    interface DiagramRenderContext {
        id: string;
        language: string;
    }
    Index
    id: string

    An id unique to this render call and safe to use as a DOM id, Mermaid and friends need one for the scratch element they draw into.

    language: string

    The block's language, normalized to lower case ('mermaid').