styled ::= "__" text "__" => ul
| "((" text "))" => footnote
- | ( "[[" text "]]" => tt
- > "[" word "]" => citation
+ | ( "[[" text "]]" => tt
+ > "[" word "]" => citation
)
| "!!" text "!!" => strikethrough
| "^^" (word|block) => superscript
// Tokens ///////////////////////////////////////////////////////////////////
-word ::= alphanum++
+word ::= alphanum++ => stringify
| quoted
quoted ::= "\"" ((~[\"\\] | escaped)+) "\""