Skip to content
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

Escape square bracket in links #4422

Open
diogovalentte opened this issue Feb 19, 2025 · 3 comments
Open

Escape square bracket in links #4422

diogovalentte opened this issue Feb 19, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@diogovalentte
Copy link

diogovalentte commented Feb 19, 2025

Describe the solution you'd like

I would like to be able to escape square bracket in links, like [[link text]](https://domain.com) being rendered as [link text] and being able to click on it and open the link.

It's possible to do it using raw HTML, but I can't do it inline, only in blocks:

\```__html
<a href="https://www.google.com">[text]</a>
\```

In other application it's possible to do this by escaping [] with \, like [\[link text\]](https://domain.com). I think this would be a good way to do it, as it's already possible to escape $ text $ with \$ text \$.

Type of feature

User Interface (UI)

Additional context

No response

@CallMeMhz
Copy link
Contributor

CallMeMhz commented Feb 22, 2025

usememos/gomark#15 @johnnyjoygh
Please update the go mod if this PR is merged.

@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


usememos/gomark#15 @johnnyjoygh

@CallMeMhz
Copy link
Contributor

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants