diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-17 18:36:55 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-17 18:36:55 +0200 |
| commit | a2b58501f5b72739c07a3766b0f3fd56e3a38c51 (patch) | |
| tree | d04fe4c6acf212284bf7f72802fb343eb5c75859 /def.peg | |
| parent | f679b346089aa8a1f3c9956489b848bb10710ac9 (diff) | |
simplify Paragraph grammar
Diffstat (limited to 'def.peg')
| -rw-r--r-- | def.peg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,8 +14,8 @@ List <- ([-*]+ / [[:digit:]]+ [).]) (SPACE+ (List / Words))? NEWLINE LinkDefinition <- '[' !'[]' PlainWords ']:' SPACE Uri NEWLINE SPACE SPACE '"' !'"' PlainWords '"' NEWLINE -Paragraph <- Words (SPACE? NEWLINE Words / HardBreak Words)* - NEWLINE NEWLINE +Paragraph <- (Words (SPACE? NEWLINE / HardBreak))+ + NEWLINE+ # Inline elements Words <- StyledWords / LinkedWords / AnnotatedWords / PlainWords |
