ycnmhd / obsidian-enhanced-annotations

MIT License
45 stars 3 forks source link

[Feature Request] Allow to keep the original highlight style on the file in live preview mode #4

Closed dolores824 closed 8 months ago

dolores824 commented 8 months ago

First really appreciate your work on this plugin, it's been super helpful and really makes a difference on the note-taking workflow.

Just wondering would it be possible to introduce an option to allow users to toggle between to show the plugin's highlight style or keep the original highlight style. This would offer more flexibility to various preferences.

Thanks again for your work!

ycnmhd commented 8 months ago

I think it's a bug. The plugin should not style highlights unless the user creates an unlabeled style, or the highlighted text is prefixed with a label that has a style. image

The bug is causing the plugin to automatically create a style for unlabeled highlights.

ycnmhd commented 8 months ago

Update the plugin and see if it's fixed. Thank you for reporting it!

Edit: make sure that the unlabeled style is deleted