Add missing export extensions to export_by_extension
This commit is contained in:
parent
b5563c18a4
commit
71b6ee2651
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
# 0.1.11
|
||||||
|
|
||||||
|
* Add missing export extensions to export_by_extension
|
||||||
|
|
||||||
# 0.1.10.2
|
# 0.1.10.2
|
||||||
|
|
||||||
* Fix for code blocks in dark mode
|
* Fix for code blocks in dark mode
|
||||||
|
|
|
||||||
|
|
@ -480,6 +480,10 @@ class DBManager:
|
||||||
self.export_txt(entries, file_path)
|
self.export_txt(entries, file_path)
|
||||||
elif ext in {".html", ".htm"}:
|
elif ext in {".html", ".htm"}:
|
||||||
self.export_html(entries, file_path)
|
self.export_html(entries, file_path)
|
||||||
|
elif ext in {".sql", ".sqlite"}:
|
||||||
|
self.export_sql(file_path)
|
||||||
|
elif ext == ".md":
|
||||||
|
self.export_markdown(file_path)
|
||||||
else:
|
else:
|
||||||
raise ValueError(f"Unsupported extension: {ext}")
|
raise ValueError(f"Unsupported extension: {ext}")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue