Markdown: Can we detect URLs and add them as links? #5231

Open
opened 2026-02-05 09:50:28 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @alexisfrjp on GitHub (Mar 20, 2025).

Describe the feature you'd like

When I copy/paste an URL and I save, the URL isn't automatically detected as a link.

If I copy : https://github.com/BookStackApp
Github considers it as a link.

Image

Can we have the same behavior with bookstack?

Describe the benefits this would bring to existing BookStack users

Similar behavior in most of the websites, including Word and all.

Can the goal of this request already be achieved via other means?

Yes, with more manual operations.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Under 3 months

Additional context

No response

Originally created by @alexisfrjp on GitHub (Mar 20, 2025). ### Describe the feature you'd like When I copy/paste an URL and I save, the URL isn't automatically detected as a link. If I copy : https://github.com/BookStackApp Github considers it as a link. ![Image](https://github.com/user-attachments/assets/969914b8-01ce-4d7e-824c-2de91d68a27d) Can we have the same behavior with bookstack? ### Describe the benefits this would bring to existing BookStack users Similar behavior in most of the websites, including Word and all. ### Can the goal of this request already be achieved via other means? Yes, with more manual operations. ### Have you searched for an existing open/closed issue? - [x] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? Under 3 months ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 09:50:28 +03:00
Author
Owner

@abulgatz commented on GitHub (Mar 26, 2025):

That would be nice, but for you you can add add < and > around your links to make them actual links.

<http://example.com>

@abulgatz commented on GitHub (Mar 26, 2025): That would be nice, but for you you can add add `<` and `>` around your links to make them actual links. `<http://example.com>`
Author
Owner

@toras9000 commented on GitHub (Apr 9, 2025):

If you are in a position to fully manage the instance, there are means to accomplish this through the Logical Theme System.
For example, you can write something like this in a theme event.
For the preview display, you can use some means to load the script on the front end and configure it for markdown-it.

However, if you use customization, you must be responsible for the upgrade and integrity of your instance yourself.
In some cases, this can cause problems and must be managed with sufficient understanding.

@toras9000 commented on GitHub (Apr 9, 2025): If you are in a position to fully manage the instance, there are means to accomplish this through the [Logical Theme System](https://www.bookstackapp.com/docs/admin/hacking-bookstack/#logical-theme-system). For example, you can write [something like this](https://github.com/toras9000/bookstack-markdown-extensions/blob/1591b3c3c14c241c3fbc41a9d92405eaa08488b2/docker/assets/template/themes/my-theme/functions.php#L13) in a theme event. For the preview display, you can use some means to load the script on the front end and [configure it for markdown-it](https://github.com/toras9000/bookstack-markdown-extensions/blob/1591b3c3c14c241c3fbc41a9d92405eaa08488b2/docker/assets/template/themes/my-theme/public/md-it-setup.js#L13). However, if you use customization, you must be responsible for the upgrade and integrity of your instance yourself. In some cases, this can cause problems and must be managed with sufficient understanding.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5231