- src/kindle_zotero_importer/import_plan.py: add DEFAULT_COLOUR_MAP with grey->[r] per request (y/o/r/grey/gray/red/g/b/p/m etc.), _extract_colour() strips leading [code] and maps to hex, _annotation_stub() uses it, build_import_plan() accepts colour_map - src/kindle_zotero_importer/cli.py: _load_colour_map() from workdir/colour-map.json or plugin-config.json colourMap, passed to build_import_plan (incremental + full) - plugin/bootstrap.js: saveSettingsFromManager() persists colourMap to plugin-config.json + colour-map.json, getRuntimeSettings() loads it, loadColourMap() helper, label Kanzi - plugin/manager.html: Settings → Highlight colours editor (table bracket→hex with colour picker, preview, +Add, Reset, grey=[r] note, example [o] orange), saveSettings() collects colourMap, init uses F tokens - plugin/manifest.json: name Kanzi, 0.6.6→0.6.7, description Kindle annotations to Zotero - README.md: Kanzi title, Tools → Kanzi…, colours tip with British spelling - updates.json: add 0.6.7 on top
16 lines
561 B
JSON
16 lines
561 B
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Kanzi",
|
|
"version": "0.6.7",
|
|
"description": "Kindle annotations to Zotero — My Clippings.txt → native annotations.",
|
|
"homepage_url": "https://github.com/UtkuBilenDemir/kindle-zotero_importer",
|
|
"author": "Utku Bilen Demir",
|
|
"applications": {
|
|
"zotero": {
|
|
"id": "kindlezoteroimporter@utkubilen.de",
|
|
"update_url": "https://github.com/UtkuBilenDemir/kindle-zotero_importer/releases/latest/download/updates.json",
|
|
"strict_min_version": "6.999",
|
|
"strict_max_version": "10.0.*"
|
|
}
|
|
}
|
|
}
|