wdpr
    Preparing search index...
    • Render a link element ([[[page]]], [url label], [# label]).

      The link's href is resolved via ctx.resolvePageLink(), with an optional extra suffix (anchor fragment) appended. Anchor-type links with javascript:; are allowed as a special case for Wikidot compatibility; all other dangerous URL schemes are blocked.

      For page-type links, a class="newpage" is added when the pageExists resolver indicates the target page does not exist.

      Parameters

      • ctx: RenderContext

        The current render context.

      • data: LinkData

        Link data with link target, label, type, target window, and extra suffix.

      Returns void