Add Nextcloud Notes to exporter plugin (#12301)

This commit is contained in:
Nikola Kotur
2024-11-08 19:29:36 +01:00
committed by GitHub
parent 5fb9216efb
commit 7c166a294e
2 changed files with 228 additions and 1 deletions

View File

@@ -42,7 +42,8 @@ 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", "xmnote" }
-- these are for legacy formats. Don't add new targets here.
local formats = { "html", "joplin", "json", "readwise", "text" }
local settings = G_reader_settings:readSetting("exporter")
if not settings then
@@ -108,6 +109,7 @@ local Exporter = WidgetContainer:extend{
markdown = require("target/markdown"),
memos = require("target/memos"),
my_clippings = require("target/my_clippings"),
nextcloud = require("target/nextcloud"),
readwise = require("target/readwise"),
text = require("target/text"),
xmnote = require("target/xmnote"),