tags ok
This commit is contained in:
parent
c0a7bc0f29
commit
0f510459e2
@ -1,7 +1,7 @@
|
|||||||
// Flexible SPIP Markup grammar for Lark parser
|
// Flexible SPIP Markup grammar for Lark parser
|
||||||
start: _N* block ( _N+ block )* _N*
|
start: _N* block ( _N+ block )* _N*
|
||||||
|
|
||||||
?block: HORIZONTAL_RULE -> horizontal_rule
|
?block: HORIZONTAL_RULE
|
||||||
| heading
|
| heading
|
||||||
| list
|
| list
|
||||||
| table
|
| table
|
||||||
@ -55,7 +55,7 @@ pair_inline_tag: _PAIR_INLINE_TAG_ANGLE TAG_NAME ( "|" TAG_OPTION )* ">" paragra
|
|||||||
orphan_inline_tag: _INLINE_TAG_ANGLE "/"? TAG_NAME ( "|" TAG_OPTION )* ">" -> orphan_tag
|
orphan_inline_tag: _INLINE_TAG_ANGLE "/"? TAG_NAME ( "|" TAG_OPTION )* ">" -> orphan_tag
|
||||||
|
|
||||||
_PAIR_INLINE_TAG_ANGLE: /\<(?=(?:quote|section|div|cadre|frame|code|poesie)(?:\|[0-9A-Za-z_:\/\-\.]+)*\>)/
|
_PAIR_INLINE_TAG_ANGLE: /\<(?=(?:quote|section|div|cadre|frame|code|poesie)(?:\|[0-9A-Za-z_:\/\-\.]+)*\>)/
|
||||||
_INLINE_TAG_ANGLE: /\<(?=([0-9A-Za-z_:\/\-\.]+)(?:\|[0-9A-Za-z_:\/\-\.]+)*\>)/
|
_INLINE_TAG_ANGLE: /\<(?!quote|section|div|cadre|frame|code|poesie)(?=[0-9A-Za-z\|_:\/\-\.]+\>)/
|
||||||
|
|
||||||
_link: footnote
|
_link: footnote
|
||||||
| wikilink
|
| wikilink
|
||||||
|
@ -56,7 +56,7 @@ Culpa proident adipisicing id {nulla} nisi laboris ex in Lorem sunt duis officia
|
|||||||
{{{Un bout de {{poesie}}}}}
|
{{{Un bout de {{poesie}}}}}
|
||||||
|
|
||||||
<poesie>
|
<poesie>
|
||||||
Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet. Nisi anim cupidatat excepteur officia. Reprehenderit nostrud nostrud ipsum Lorem est aliquip amet voluptate voluptate dolor minim nulla est proident. Nostrud officia pariatur ut officia. Sit irure elit esse ea nulla sunt ex occaecat reprehenderit commodo officia dolor Lorem duis laboris cupidatat officia voluptate. Culpa proident adipisicing id nulla nisi laboris ex in Lorem sunt duis officia eiusmod. Aliqua reprehenderit commodo ex non excepteur duis sunt velit enim. Voluptate laboris sint cupidatat ullamco ut ea consectetur et est culpa et culpa duis.
|
Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet. Nisi anim cupidatat excepteur officia. Reprehenderit nostrud nostrud ipsum Lorem est aliquip amet voluptate voluptate dolor minim nulla est proident. Nostrud officia pariatur ut officia. Sit irure elit esse ea nulla sunt ex occaecat reprehenderit commodo officia dolor Lorem duis laboris cupidatat officia voluptate.<imageAuMilieuPoesie> Culpa proident adipisicing id nulla nisi laboris ex in Lorem sunt duis officia eiusmod. Aliqua reprehenderit commodo ex non excepteur duis sunt velit enim. Voluptate laboris sint cupidatat ullamco ut ea consectetur et est culpa et culpa duis.
|
||||||
</poesie>
|
</poesie>
|
||||||
|
|
||||||
{{{Cadre de code}}}
|
{{{Cadre de code}}}
|
||||||
|
Loading…
Reference in New Issue
Block a user