TAG rule for special markup
This commit is contained in:
parent
6c46c2406e
commit
370e0445be
@ -1,4 +1,6 @@
|
||||
section: /\n\r?/ ( paragraph | heading | list | table | quote | SEPARATOR ) /\n\r?/
|
||||
section: /\n\r?/ TAG* ( paragraph | heading | list | table | SEPARATOR ) /\n\r?/
|
||||
|
||||
TAG: "<" PURE_TEXT [ "|" PURE_TEXT ] ">" [ /\n\r?/ ]
|
||||
|
||||
paragraph: format_text
|
||||
|
||||
@ -18,8 +20,6 @@ table: row+
|
||||
row: /\n\r?\|/ cell+
|
||||
cell: format_text "|"
|
||||
|
||||
quote: "<quote>" format_text "</quote>"
|
||||
|
||||
format_text: ( link | PURE_TEXT )+
|
||||
|
||||
italic: "{" PURE_TEXT "}"
|
||||
|
Loading…
Reference in New Issue
Block a user