Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
alexisfrjp opened this issue Mar 20, 2025 · 2 comments
Open
1 task done

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

alexisfrjp opened this issue Mar 20, 2025 · 2 comments

Comments

@alexisfrjp
Copy link

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

@abulgatz
Copy link
Contributor

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

<http://example.com>

@toras9000
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants