Parses the Wikidot user reference syntax: [[user name]] and
[[*user name]].
A user reference displays a linked username (typically linking to
the user's profile page). The variant with a star prefix ([[*user]])
also displays the user's avatar alongside the username.
Wikidot syntax:
[[user some-user]] -- displays username as a link
[[*user some-user]] -- displays avatar and username
Note: Wikidot requires no whitespace immediately after [[. This
means [[ user name]] is invalid, but [[user name]] and
[[*user name]] are valid.
The username may contain any characters except ]] and newlines.
Leading/trailing whitespace around the username is trimmed.
Produces a "user" AST element with data.name (the username)
and data["show-avatar"] (boolean).
Parses the Wikidot user reference syntax:
[[user name]]and[[*user name]].A user reference displays a linked username (typically linking to the user's profile page). The variant with a star prefix (
[[*user]]) also displays the user's avatar alongside the username.Wikidot syntax:
[[user some-user]]-- displays username as a link[[*user some-user]]-- displays avatar and usernameNote: Wikidot requires no whitespace immediately after
[[. This means[[ user name]]is invalid, but[[user name]]and[[*user name]]are valid.The username may contain any characters except
]]and newlines. Leading/trailing whitespace around the username is trimmed.Produces a
"user"AST element withdata.name(the username) anddata["show-avatar"](boolean).