fr0tt / benotes

An open source self hosted notes and bookmarks taking web app.
https://benotes.org
MIT License
718 stars 49 forks source link

Markdown and edit function #72

Closed ghost closed 1 year ago

ghost commented 1 year ago

When you use markdown in order to list links you cannot edit later. Using a normal user (created after admin user).

E.g.

I create a new post with this content:

- [link](https://www.google.com)
- [link2](https://www.google.com)

and then Save it. If then I want to edit and add another link:

- [link](https://www.google.com)
- [link2](https://www.google.com)
- [link3](https://www.google.com)

and save, next time you edit the post link3 will not appear (will not be saved).

EDIT: also, markdown is not rendering properly? it should be a link, not a literal [link](https://blahblahblah.com)

fr0tt commented 1 year ago

I tried it and works just as expected on my end.

Converting a markdown link to a link displaying only a title is not supported at the moment. All links are automatically turned into links regardless.

You can also try out this syntax if you want to see more than just the link:

<https://yourlink.com>
ghost commented 1 year ago

Right. So I'm closing issue, thanks