mcndt / noteshare.space

A service for sharing encrypted Markdown notes from Obsidian. Notes are end-to-end-encrypted and are only stored temporarily.
https://noteshare.space
MIT License
208 stars 22 forks source link

[Bug] Inline Links to headings are not functional #35

Open kithairon opened 1 year ago

kithairon commented 1 year ago

Hi Maxine,

enjoy your service to share docs with the small circle of my reading group. Trying to make a content section with live-links to some headings in the text below doesn't seem to work. Link Syntax [[Anuruddha - Sāriputta#With Anuruddha (2nd) / Sujato]] -> this is rendered as faint blue text but not live. Since all the external links are working beautifully I thought this might be more of a bug rather than a feature reqeust... Thanks for looking into it.

Screenshot.pdf Happy to send a link to the document if this is helpful.

mcndt commented 1 year ago

Hi there! It would indeed be useful if you could share a Noteshare link with an example of the bug you're describing.

If I understand correctly, you're using the [[filename#header]] syntax to link to headings inside the same note?

kithairon commented 1 year ago

The link is this one: https://noteshare.space/note/cla8rw2gp2960401pifc8bai0m#V34ZXhCDVBmfv8YE2jnRrgfo4MMDexWugj5EGqU/vNA I'm attaching a screenshot of the links in source mode. To maybe state the obvious: the links in Obsidian are all working. Thanks for looking into this.

Source Mode of Links.pdf

mcndt commented 1 year ago

To clarify: in this example, the note's name is "Anuruddha - Sāriputta", correct?

Note to self: can be fixed by preprocessing links to note-internal headers such that they are transformed to [[#header]] syntax.

kithairon commented 1 year ago

Note's name: Exactly as you have it.