wdpr
    Preparing search index...

    Module parser/rules/inline/link-star

    Parses the Wikidot star-link syntax: [*url label].

    A star link is a convenience syntax for creating links that open in a new tab/window. The [* opening delimiter is tokenized as BRACKET_STAR by the lexer.

    Unlike the regular single-bracket link, the star link does not require a specific URL scheme -- any non-empty URL is accepted. If no label text is provided, the URL itself is used as the display text.

    The link always has target: "new-tab" regardless of the URL content.

    Wikidot syntax examples:

    • [*https://example.com/ Visit Example] -- with label
    • [*https://example.com/] -- URL used as label

    Produces a "link" AST element with type: "direct" and target: "new-tab".

    Variables

    linkStarRule