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

Hyperlinks to sections which have spaces in their names are not recognised as hyperlinks #1106

Open
Blackilykat opened this issue Oct 6, 2024 · 2 comments

Comments

@Blackilykat
Copy link

when trying to hyperlink a section with a space in it [just](#Like this), it's no longer recognised as a hyperlink and the first word is recognised as a tag
image

@zefhemel
Copy link
Collaborator

zefhemel commented Oct 6, 2024

Right. I think this follows markdown standards. You have to put < and > around urls with spaces like [hello](<#hello there>). This url won't do what you want, because I'm not sure local header references in this link style are supported, but that's another bug to report 😆

@Blackilykat
Copy link
Author

Blackilykat commented Oct 6, 2024

You have to put < and > around urls with spaces like [hello](<#hello there>).

That fixes it, thanks! But when typing out the # the autocomplete suggests the text of the section, but doesn't automatically add those. It should probably do that

(edit: fixed formatting)

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

No branches or pull requests

2 participants