Exporter: add XMNote export (#11087)

This commit is contained in:
WangKe
2023-11-19 17:32:27 +08:00
committed by GitHub
parent 7870e83410
commit dea94026f1
2 changed files with 168 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ local _ = require("gettext")
-- migrate settings from old "evernote.koplugin" or from previous (monolithic) "exporter.koplugin"
local function migrateSettings()
local formats = { "flomo", "html", "joplin", "json", "memos", "my_clippings", "readwise", "text" }
local formats = { "flomo", "html", "joplin", "json", "memos", "my_clippings", "readwise", "text", "xmnote" }
local settings = G_reader_settings:readSetting("exporter")
if not settings then
@@ -107,6 +107,7 @@ local Exporter = WidgetContainer:extend{
my_clippings = require("target/my_clippings"),
readwise = require("target/readwise"),
text = require("target/text"),
xmnote = require("target/xmnote"),
},
}