fix formatting output synopses_generator

This commit is contained in:
2026-09-17 03:39:13 -06:00
parent da37b4ea29
commit 58107e0196
+5 -4
View File
@@ -98,10 +98,11 @@ local export_ordered_list_of_prompts = function()
local tab = text:split("\n") local tab = text:split("\n")
for index, line in ipairs(tab) do for index, line in ipairs(tab) do
-- ensure no output heading is an H1 -- ensure no output heading is an H1; make H6 bold text lines instead
-- TODO make H6 get turned into a bold line if line:sub(1, 7) == "###### " then
if line:sub(1, 1) == "#" then tab[index] = "**" .. line:sub(8) .. "**"
tab[index] = "#" .. tab[index] elseif line:sub(1, 1) == "#" then
tab[index] = "#" .. line
end end
end end