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

Allow to jump to heading from link reference #1780

Closed
fxha opened this issue Dec 1, 2019 · 5 comments
Closed

Allow to jump to heading from link reference #1780

fxha opened this issue Dec 1, 2019 · 5 comments
Labels
🦁 need discuss the issue or PR need to discuss

Comments

@fxha
Copy link
Contributor

fxha commented Dec 1, 2019

Describe your feature request

The preview editor should be able to jump to the linked heading from a URL like the sidebar.

What problem does this feature solve? [optional]

It would make it easier to reference other headings and navigate through the document in preview editor.

Additional context [optional]

# Heading 1

foo

## Heading 2

foo

[...]

foo [ref to Heading 2](#heading-2) bar
@Jocs
Copy link
Member

Jocs commented Dec 2, 2019

This feature request and internal link with header identifiers seem to solve the same problem? If you use the header content as the id, this will have special characters, which is not easy to handle, so I prefer the header identifiers.

@Jocs Jocs added the 🦁 need discuss the issue or PR need to discuss label Dec 2, 2019
@fxha
Copy link
Contributor Author

fxha commented Dec 2, 2019

I don't think it's a duplicate because all headers are slugifyed by default and we can link to the id for ASCII headings like in exported documents.

@fmg-dave
Copy link

+1

@alfredo-mejia
Copy link

Hi, I would like to work on this feature. I never contributed to open source but I've read the contributing documentation and would like to have this feature implemented.

@fxha
Copy link
Contributor Author

fxha commented Mar 20, 2022

Thank you for reporting the issue. We noticed that this is a duplicate and closing it in favor of #2469. You may want to subscribe there for further updates.

@fxha fxha closed this as completed Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦁 need discuss the issue or PR need to discuss
Projects
None yet
Development

No branches or pull requests

4 participants