EU Parliament Monitor — API Documentation - v0.8.43
    Preparing search index...

    Options controlling renderMarkdown.

    interface RenderOptions {
        mermaidLabel?: (index: number, body: string) => string;
    }
    Index

    Properties

    Properties

    mermaidLabel?: (index: number, body: string) => string

    Optional accessible label builder for mermaid figures. Receives the zero-based mermaid block index and the raw mermaid source; returns the aria-label used on the wrapping <figure>. Defaults to "Mermaid diagram N".