link-headers-directly icon indicating copy to clipboard operation
link-headers-directly copied to clipboard

Feature Request: Make this work with italic and bold text too

Open elvybean opened this issue 1 year ago • 1 comments

Currently, the * are still present when linking a header that has italic or bold text. I feel like the text should display as italics or bold text rather than standard text with asterisks.

To see how the linked headers are currently displayed open the attached files in a vault with the plugin (on version 1.0.2).

Files: Example Headers.md Linking to Headers.md

edit: Screenshots of markdown files in a vault with the plugin (on version 1.0.2):

Screenshot 2024-01-20 064146

Screenshot 2024-01-20 064126

elvybean avatar Jan 20 '24 06:01 elvybean

The markdown links in Obsidian in general don't support markdown formatting within the link text ([[Link|*Alias*]] will also be displayed as *Alias*), so there would be some custom stuff necessary to get that to work. I'm currently not adding new features to this plugin, especially with this scope, but if you feel like figuring it out and creating a pull request, I'll merge it.

Signynt avatar Jan 21 '24 15:01 Signynt