Inline rule for parsing [url label] single-bracket links.
Triggered by a BRACKET_OPEN ([) token. Optionally detects a
* prefix for new-tab behavior, then collects the URL (until
whitespace) and the label text (until ]).
Fails if:
No closing ] is found on the same line
The URL does not start with http://, https://, or /
Inline rule for parsing
[url label]single-bracket links.Triggered by a
BRACKET_OPEN([) token. Optionally detects a*prefix for new-tab behavior, then collects the URL (until whitespace) and the label text (until]).Fails if:
]is found on the same linehttp://,https://, or/