support for quotes

This commit is contained in:
Guilhem Fauré 2023-04-27 16:54:07 +02:00
parent a313af6483
commit a497a3071b

View File

@ -30,6 +30,7 @@ _inline_format: TEXT
| bold
| link
| orphan_tag
| orphan_quote
| tag
bold: _O_CURLY_2 ( TEXT | link | nested_italic )+ _C_CURLY_2 -> strong
@ -45,10 +46,16 @@ footnote: _O_SQUARE_2 HREF _C_SQUARE_2 -> footnote
wikipedia_link: _O_SQUARE_INTERO HREF _C_SQUARE -> a_wikipedia
a: _LINK_OPENING LINK_TEXT _ARROW HREF _C_SQUARE -> a
tag: closing_tag
tag: closing_quote
| opening_quote
| closing_tag
| opening_tag
orphan_quote: _ORPHAN_OPENING "quote" _C_ANGLE -> orphan_quote
orphan_tag: _ORPHAN_OPENING TEXT ( _PIPE TEXT )? _C_ANGLE -> orphan_tag
closing_quote: _O_ANGLE _SLASH "quote" _C_ANGLE -> closing_quote
opening_quote: _O_ANGLE "quote" _C_ANGLE -> opening_quote
closing_tag: _O_ANGLE _SLASH TEXT ( _PIPE TEXT )? _C_ANGLE -> closing_tag
opening_tag: _O_ANGLE TEXT ( _PIPE TEXT )? _C_ANGLE -> opening_tag