Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Build the block start test from the line grammars
Diffstat (limited to '')
| -rw-r--r-- | 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 |
