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

Convert anchor links to internal heading links #244

Open
mdespriee opened this issue Dec 9, 2024 · 1 comment
Open

Convert anchor links to internal heading links #244

mdespriee opened this issue Dec 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mdespriee
Copy link

In-page hash links are translated into web links, instead of internal links to a block in the page.
That would be very nice to have

@mdespriee mdespriee added the enhancement New feature or request label Dec 9, 2024
@kepano
Copy link
Collaborator

kepano commented Dec 9, 2024

This could work if the anchor link refers to a heading. Do you have an example of a page with those types of links?

Obsidian supports internal links to headings. Links to block references could also work but would probably be more brittle.

@kepano kepano changed the title improve parsing of in-page links improve parsing of in-page anchor links Dec 9, 2024
@kepano kepano changed the title improve parsing of in-page anchor links Convert anchor links to headings Dec 9, 2024
@kepano kepano changed the title Convert anchor links to headings Convert anchor links to internal heading links Dec 9, 2024
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

2 participants