Feature: Export to kindle's myClippings (#10263)

* Feature: Added the possibility to export using kindle's myClippings formatting
* Fix: files that have the same extension don't collide anymore
This commit is contained in:
Mochitto
2023-04-29 01:19:13 +02:00
committed by GitHub
parent cb9cbff10e
commit c0615c3bda
3 changed files with 55 additions and 2 deletions

View File

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