Parses the Wikidot single-bracket link syntax: [url label].
Single-bracket links create hyperlinks to external URLs or
site-relative paths. The URL and label are separated by whitespace.
Supported URL formats:
Absolute URLs: [https://example.com/ Label]
Relative paths: [/some-page Label]
Email addresses: [support@example.com Label]
Wikipedia links: [wikipedia:Article] or [wikipedia:Article Label]
An optional * prefix on the URL opens the link in a new tab:
[*https://example.com/ Opens in new tab].
Unlike triple-bracket links ([[[page]]]), single-bracket links
require an external target or site-relative path.
The label text is required except for Wikipedia links.
Produces a "link" AST element with type: "direct" or "interwiki".
Parses the Wikidot single-bracket link syntax:
[url label].Single-bracket links create hyperlinks to external URLs or site-relative paths. The URL and label are separated by whitespace.
Supported URL formats:
[https://example.com/ Label][/some-page Label][support@example.com Label][wikipedia:Article]or[wikipedia:Article Label]An optional
*prefix on the URL opens the link in a new tab:[*https://example.com/ Opens in new tab].Unlike triple-bracket links (
[[[page]]]), single-bracket links require an external target or site-relative path. The label text is required except for Wikipedia links.Produces a
"link"AST element withtype: "direct"or"interwiki".