argenos / zotero-mdnotes

A Zotero plugin to export item metadata and notes as markdown files
https://argenos.github.io/zotero-mdnotes/
GNU General Public License v3.0
1.34k stars 81 forks source link

html2md: obtain span style background-color #216

Closed 0idri0 closed 1 month ago

0idri0 commented 1 year ago

Is your feature request related to a problem? Please describe.

Background: I have many notes with a lot of quotes transcribed from books and old documents in Zotero. I used the text highlight tool within the notes to highlight the most important text sections. I'm using Obsdian Zotero-Integration to import notes and annotations (the latter for pdfs). While exported annotations have a color property the highlights in mdnotes get lost on the way (same with text color). Using the manual "mdnotes-->export to markdown" option creates a markdown file including the html tags with the style attribute. I can manually import these in Obsidian but that workaround does not have all the advantages of the full Zotero-Integration.

Describe the solution you'd like

It would be great if style attributes (especially background-color) could be obtained when notes are exported (automatically) via Better BibTex. Let me know if I got that wrong and this is a Better BibTex issue.

Additional context

Zotero 6.0.23 Better BibTex for Zotero 6.7.71 Mdnotes for Zotero 0.2.3 Obsidian 1.1.16 macOS Ventura 13.1