aboutsummaryrefslogtreecommitdiff
path: root/grammar.ebnf
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-16 14:38:04 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-16 14:38:04 +0200
commit258d07ab17418ad98a2a5eb03ab6d63f415764c0 (patch)
treeb7e1c21565e537f755cb9e62df67ff79e0ca2a78 /grammar.ebnf
parente053ba532f1e58bb54f286b950e3be7166ba3dcd (diff)
feat(lexer): supports ref
Diffstat (limited to 'grammar.ebnf')
-rw-r--r--grammar.ebnf4
1 files changed, 2 insertions, 2 deletions
diff --git a/grammar.ebnf b/grammar.ebnf
index 664f68b..76c124c 100644
--- a/grammar.ebnf
+++ b/grammar.ebnf
@@ -13,8 +13,8 @@ callout = ":::", [ ? [a-z]+ ? ], { delimiter, content }, weak-delimiter, ":::";
code-block = "```", [ ? [a-z]+ ? ], { delimiter, content }, weak-delimiter, "```";
math-block = "$$$", { delimiter, content }, weak-delimiter, "$$$";
image = "![", [ content ], "](", content, ")", { weak-delimiter, content };
-list-unordored = "-", paragraph, { weak-delimiter, "-", paragraph };
-list-ordored = ".", paragraph, { weak-delimiter, ".", paragraph };
+list-unordored = "- ", paragraph, { weak-delimiter, "- ", paragraph };
+list-ordored = ". ", paragraph, { weak-delimiter, ". ", paragraph };
footnotes = "<", content, ":", paragraph, { weak-delimiter, "<", content, ":", paragraph };
(* content of a block *)