From 93baf258c9de67e6782d4a8d0a42f16fc53f1c62 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:18:51 -0700 Subject: Build the block start test from the line grammars --- custom/extensions/about-render.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom/extensions/about-render.lua b/custom/extensions/about-render.lua index 956d0cb..7283798 100644 --- a/custom/extensions/about-render.lua +++ b/custom/extensions/about-render.lua @@ -483,8 +483,7 @@ if has_lpeg then pipe * dash_cell * (pipe * dash_cell) ^ 0 * pipe ^ -1 + dash_cell * (pipe * dash_cell) ^ 1 * pipe ^ -1 ) * space ^ 0 * eol - local block_start = space ^ 0 * ((P("#") * P("#") ^ -5 * space) + P(">") - + P("`") ^ 3 + P("~") ^ 3 + ((bullet + number) * space)) + local block_start = space ^ 0 * heading_line + quote_line + fence_line + item_line local function ordered(mark) return mark:match("%d") ~= nil end -- cgit