@wdprlib/parser
    Preparing search index...

    Module parser/rules/inline/autolink

    Parses bare URLs in plain text into links (auto-linking).

    Wikidot converts bare URLs like http://example.com/page into <a href="URL">URL</a> without any bracket syntax. A * prefix (*http://...) opens the link in a new tab.

    Mirrors Text_Wiki's Url rule (Parse/Default/Url.php):

    • Recognized schemes: http://, https://, ftp://, gopher://, news://, mms://, and mailto:
    • A URL is only recognized at line start or after a non-alphabetic character ((^|[^A-Za-z]) in the original regex)
    • The final character of a URL must be alphanumeric or one of %/?=&~_, so trailing punctuation (., ,, ) etc.) stays as text

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

    Variables

    autolinkRule