aboutsummaryrefslogtreecommitdiff
path: root/grammar.ebnf
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-15 14:41:33 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-15 14:41:33 +0200
commite053ba532f1e58bb54f286b950e3be7166ba3dcd (patch)
treef71d1efdacfdd0599938d8e5175b2f0e9b887033 /grammar.ebnf
parent4a423b2f637143ff0135045733e0428cc9560597 (diff)
feat(lexer): supports link and image
Diffstat (limited to 'grammar.ebnf')
-rw-r--r--grammar.ebnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar.ebnf b/grammar.ebnf
index d0259a1..664f68b 100644
--- a/grammar.ebnf
+++ b/grammar.ebnf
@@ -6,7 +6,7 @@ strong-delimiter = "\n\n", { "\n" };
(* blocks *)
block = title | paragraph | quote | callout | code-block | math-block | image | footnotes;
-title = ? #{1,6} ?, content;
+title = ? #{1,6} ?, " ", content;
paragraph = content, { weak-delimiter, content };
quote = ">", content, { weak-delimiter, ">", content }, [ paragraph ];
callout = ":::", [ ? [a-z]+ ? ], { delimiter, content }, weak-delimiter, ":::";