wdpr
    Preparing search index...

    Module parser/rules/inline/link-single

    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]

    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 with http://, https://, or /). The label text is required.

    Produces a "link" AST element with type: "direct".

    Variables

    linkSingleRule