wdpr
    Preparing search index...
    • Render a [[a]]...[[/a]] anchor element with full attribute support.

      Unlike renderLink, this handles the block-level anchor syntax where arbitrary attributes can be specified. Dangerous href values are replaced with #invalid-url. The target attribute is mapped from Wikidot's abstract values to HTML values, with tabnabbing protection.

      Parameters

      • ctx: RenderContext

        The current render context.

      • data: AnchorData

        Anchor data with attributes, target, and child elements.

      Returns void