silverbulletmd / silverbullet

The knowledge tinkerer's notebook
https://silverbullet.md
MIT License
2.49k stars 180 forks source link

Markdown link styling and loosing links with sub/superscript #1046

Open cmdrSpectral opened 2 months ago

cmdrSpectral commented 2 months ago

There is an issue with link styling using standard bold or italics. When styling is inline it doesn't seem to affect the link. But when rendered as a template - it works. It's an incosistent behavior, and I believe it would be best if links could benefit from standard markdown styling. On top I've also checked some extended options (superscript/subscript), and while they work for text (yeah!), they are not handled for links (links get rendered as plain text).

See the screenshot below:

Screenshot 2024-08-18 at 17 20 15
cmdrSpectral commented 2 months ago

Same visual story: marking task as done invokes a strikethrough. The links stay unaffected by this formatting change. (Not sure if it’s near the original issue in the code wise sense)