diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-27 16:16:49 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-27 16:16:49 +0200 |
| commit | 9f1a0bf3b0437770a7b62fd28a8748908c38dac4 (patch) | |
| tree | 0967564e0903b5b27a5f39381011cc8a684a7539 /grammar.ebnf | |
| parent | de948492e8b38a79d5db9c506c1b7b82e86c6b12 (diff) | |
perf(html): reduce memory syscall
Diffstat (limited to 'grammar.ebnf')
| -rw-r--r-- | grammar.ebnf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar.ebnf b/grammar.ebnf index 2acd7b0..b717aec 100644 --- a/grammar.ebnf +++ b/grammar.ebnf @@ -10,7 +10,7 @@ title = ? #{1,6} ?, " ", content; paragraph = content, { weak-delimiter, content }; quote = ">", content, { weak-delimiter, ">", content }, [ paragraph ]; callout = ":::", [ ? [a-z]+ ? ], { delimiter, content }, weak-delimiter, ":::"; -code-block = "```", [ ? [a-z]+ ? ], { delimiter, content }, weak-delimiter, "```"; +code-block = "```", [ ? [^\n]+ ? ], { delimiter, content }, weak-delimiter, "```"; math-block = "$$$", { delimiter, content }, weak-delimiter, "$$$"; image = "![", [ content ], "](", content, ")", { weak-delimiter, content }; list-unordored = "- ", paragraph, { weak-delimiter, "- ", paragraph }; |
