add _extensions

This commit is contained in:
2026-05-21 13:37:53 +08:00
parent 6a9a5fc90e
commit 61bd0bea2f
252 changed files with 33972 additions and 1 deletions
@@ -0,0 +1,24 @@
--- Convert straight angle quotation marks to curly quotation marks in DOCX
--- Copyright: © 2025Present Tom Ben
--- License: MIT License
function Str(el)
-- If not DOCX output, return element unchanged
if not FORMAT:match('docx') then
return el
end
local replacements = {
[''] = '',
[''] = '',
[''] = '',
[''] = ''
}
for original, replacement in pairs(replacements) do
el.text = el.text:gsub(original, replacement)
end
return el
end