Parses the Wikidot single-bracket link syntax: [url label].
[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]
An optional * prefix on the URL opens the link in a new tab: [*https://example.com/ Opens in new tab].
*
[*https://example.com/ Opens in new tab]
Unlike triple-bracket links ([[[page]]]), single-bracket links require a full URL (starting with http://, https://, or /). The label text is required.
[[[page]]]
http://
https://
/
Produces a "link" AST element with type: "direct".
"link"
type: "direct"
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]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 a full URL (starting withhttp://,https://, or/). The label text is required.Produces a
"link"AST element withtype: "direct".