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".
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 asBRACKET_STARby 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 labelProduces a
"link"AST element withtype: "direct"andtarget: "new-tab".