|
|
@ -46,7 +46,7 @@ local function prepareBookContent(book, formatting_options, highlight_formatting
|
|
|
|
current_chapter = entry.chapter
|
|
|
|
current_chapter = entry.chapter
|
|
|
|
content = content .. "## " .. current_chapter .. "\n"
|
|
|
|
content = content .. "## " .. current_chapter .. "\n"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
content = content .. "### Page " .. entry.page .. " @ " .. os.date("%d %B %Y %I:%M %p", entry.time) .. "\n"
|
|
|
|
content = content .. "### Page " .. entry.page .. " @ " .. os.date("%d %B %Y %I:%M:%S %p", entry.time) .. "\n"
|
|
|
|
if highlight_formatting then
|
|
|
|
if highlight_formatting then
|
|
|
|
content = content .. string.format(formatters[formatting_options[entry.drawer]].formatter, entry.text) .."\n"
|
|
|
|
content = content .. string.format(formatters[formatting_options[entry.drawer]].formatter, entry.text) .."\n"
|
|
|
|
else
|
|
|
|
else
|
|
|
|