chroxify / haptic

A new local-first, privacy-focused and open-source home for your markdown notes
https://haptic.md
GNU Affero General Public License v3.0
1.02k stars 21 forks source link

Can't edit links in an obvious way #28

Open legoraft opened 1 month ago

legoraft commented 1 month ago

Describe your issue

I tried to create a link using the following markdown code in the haptic desktop app: [Link](https://path.to/link). This didn't work, but after I copied and pasted a link it did work as a link and I could adjust the link text, but not the link itself. I think that this breaks because the first [ and last ] are getting escaped automatically in the editor.

Steps to reproduce

  1. Add a link using markdown syntax: [Link](https://path.to/link)

  2. Don't see a link being created

  3. Check the source markdown file with a text editor

  4. See that the link is formatted like \[Link\](https://path.to/link)

  5. Copy and paste a link

  6. Edit the text of a link by removing the pasted link text and add your own

  7. See the link working

What was the expected result?

I assumed that I could edit the link in a similar way as in obsidian, where you can view the link 'source code'. I also thought that I could write out my links.

Put here any screenshots or videos (optional)

No response

Would you like to work on this issue?

None