alberti42 / obsidian-plugins-annotations

Obsidian plugin that allows adding personal comments to each installed plugin.
MIT License
3 stars 1 forks source link

Feature request: Add links to markdown files [[Plugin - Annotator]] #3

Open merlinuwe opened 3 days ago

merlinuwe commented 3 days ago

Thanks for your useful plugin.

Is it possible to insert markdown links like [[this note about a plugin]] to the annotations?

I allready have notes for my plugins and it would be comfortable to reach them from here:

image

alberti42 commented 3 days ago

Thanks! I think it is a good idea. For sure it is possible. I need to think how to implement it.

Thanks for your useful plugin.

Is it possible to insert markdown links like [[this note about a plugin]] to the annotations?

I allready have notes for my plugins and it would be comfortable to reach them from here:

image

-- Reply to this email directly or view it on GitHub: https://github.com/alberti42/obsidian-plugins-annotations/issues/3 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

alberti42 commented 3 days ago

In the version 1.2.0, you can now add Markdown and HTML text. Links to Markdown notes work! The instructions are provided in the setting pane of the plugin. I am glad to hear your feedback.

merlinuwe commented 2 days ago

Thank you very much! I just assigned my plugin notes to the settings. ;-)

Even unicode characters and html entities 🔥 work:

image

Here is a suggestion:

Is it possible for the links to be renamed automatically when the file name is changed? Like in other places of Obsdian?

alberti42 commented 2 days ago

Is it possible for the links to be renamed automatically when the file name is changed? Like in other places of Obsdian?

Unfortunately, this does not happen automatically. I was thinking about it. It is not super simple to implement. To leverage Obsidian auto rename feature, we would need to create a proper .md note containing all annotations in some "Meta" folder in the vault. Then, my plugin imports the annotation form that .md note and Obsidian is able to do its job.

The other possibility is hack in the core of Obsidian and trig an auto rename of the links, but this requires manually to rename the links and it is much more prone to break in the future.

Thank you very much! I just assigned my plugin notes to the settings. ;-)

Even unicode characters and html entities 🔥 work:

image

Here is a suggestion:

Is it possible for the links to be renamed automatically when the file name is changed? Like in other places of Obsdian?

-- Reply to this email directly or view it on GitHub: https://github.com/alberti42/obsidian-plugins-annotations/issues/3#issuecomment-2198744868 You are receiving this because you commented.

Message ID: @.***>

merlinuwe commented 1 day ago

It is enough for me that you considered it and I can understand that the effort is against it.

I am already glad that the basic function is there. Today I have further renamed my plugin comments systematically in [[Plugin - name of the plugin]] and assigned them. I also worked directly in the data.json.

Thank you again for this very useful plugin. ;-)