diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-26 10:05:06 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-26 10:10:36 +0200 |
| commit | aba01b80e7ea75438db7933f9430997bc853250f (patch) | |
| tree | 650aa3983f1483243755b0de9ddeaad63bcbb851 /syntax/def.peg | |
| parent | 881490dfec59f22b648766ea083cf23c0b29eaba (diff) | |
add syntax SemWord
Diffstat (limited to 'syntax/def.peg')
| -rw-r--r-- | syntax/def.peg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax/def.peg b/syntax/def.peg index 30157d2..11ce1ab 100644 --- a/syntax/def.peg +++ b/syntax/def.peg @@ -51,7 +51,8 @@ NEWLINE <- '\r\n' # @see <https://source.jones.dk/semantic-markdown/about/> AnnotatedWordsX <- '[' Words ']' ('{' (SemWords / ![{}] PlainWords) '}') -SemWords <- SEMPREFIX '<' ![<>] PRINTABLES '>' +SemWords <- SemWord (_ SemWord)* +SemWord <- SEMPREFIX '<' ![<>] PRINTABLES '>' / SEMPREFIX Curie SEMPREFIX <- [.=] |
