BumbrT / obsidian-reading-comments

Reading comments, for consuming books or large articles in markdown with https://obsidian.md/.
MIT License
45 stars 1 forks source link

[Feature Request] Support Obsidian Comment Syntax #55

Closed zhandao closed 1 year ago

zhandao commented 1 year ago

Hi, thanks for such an amazing plugin!

Sometimes, I don't want to use heavy HTML syntax in my markdown, but really need the comments panel, extract, search... of your plugin.

I wonder if supporting Obsidian native comment syntax (%%...%%) will waste too much of your time?

Thanks and best wishes!

BumbrT commented 1 year ago

Hey! I will investigate this one. But for sure it's a breaking change, because all logic is based around HTML and there is no convenient way for comments in markdown. When I investigated native comments in obsidian, it looked as something experimental and not ready yet for broader use. You can use "Extract original note" feature to get rid of HTML.

BumbrT commented 1 year ago

Recently they added "callouts" with foldable callouts. This could work.

zhandao commented 1 year ago

Oh I also noticed foldable callouts, actually I'm already using it as hidden comments. (most of time I still use %% syntax)

But there seems no plugin that can quickly view and jump to callouts and comments, just like your panel.

BumbrT commented 1 year ago

If will have time, I will try to add %% comments and callouts parsing, but comments will be without tags, and callouts will be grouped by callout tag

zhandao commented 1 year ago

Thanks a lot!

BumbrT commented 1 year ago

Added parsing %%comments%% in the latest release

zhandao commented 1 year ago

Added parsing %%comments%% in the latest release

works great! 🎉

BumbrT commented 1 year ago

If you have an holistic idea, how to accomodate callouts in the commenting workflow, feel free to write it here.

zhandao commented 1 year ago

OK, I will.