lextoumbourou / obsidian-title-as-link-text

An Obsidian plugin to set the Markdown Link Text using a title
MIT License
11 stars 1 forks source link

Support for [[wikilinks]] #2

Open amariusz opened 1 year ago

amariusz commented 1 year ago

Could you add support for updating alias in wikilinks?

[[WikiLink|File title as an alias]]

Some people may prefer using wikilinks instead of MD links. One reason for this is option for omitting relative path and using only filename.

Thanks for plugin!

galsom commented 1 year ago

This would be ideal for me as well since I mostly use WikiLinks to link to files in my Vault and Markdown links to external resources.

Searching WikiLinks can perhaps be done using /\[{2}.*?\]{2}/g and the replacement using [[${linkUrl}|${title}]]

berot3 commented 1 year ago

ping @lextoumbourou