Plugin Update

This commit is contained in:
2026-02-16 14:03:02 +09:00
parent 088bad43b2
commit 228e5b2502
29 changed files with 96622 additions and 13 deletions

View File

@@ -0,0 +1,18 @@
function Para(el)
local blocks = {}
local inlines = {}
for _, inline in ipairs(el.content) do
if inline.t == "SoftBreak" or inline.t == "LineBreak" then
if #inlines > 0 then
table.insert(blocks, pandoc.Para(inlines))
inlines = {}
end
else
table.insert(inlines, inline)
end
end
if #inlines > 0 then
table.insert(blocks, pandoc.Para(inlines))
end
return blocks
end