mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
Fix Joplin export (#12446)
turn highlight & notes table into string before sending to joplin
This commit is contained in:
parent
2a9fe6fdcf
commit
491e24ea25
@ -329,7 +329,8 @@ function JoplinExporter:export(t)
|
||||
local markdown_settings = plugin_settings.markdown
|
||||
local notebook_id = self.settings.notebook_guid
|
||||
for _, booknotes in pairs(t) do
|
||||
local note = md.prepareBookContent(booknotes, markdown_settings.formatting_options, markdown_settings.highlight_formatting)
|
||||
local note_tbl = md.prepareBookContent(booknotes, markdown_settings.formatting_options, markdown_settings.highlight_formatting)
|
||||
local note = table.concat(note_tbl, "\n")
|
||||
local note_id = self:findNoteByTitle(booknotes.title, notebook_id)
|
||||
|
||||
local response
|
||||
|
Loading…
Reference in New Issue
Block a user