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

Link to header in the same document not working #157

Open
mrlorx opened this issue Oct 18, 2021 · 1 comment · May be fixed by #234
Open

Link to header in the same document not working #157

mrlorx opened this issue Oct 18, 2021 · 1 comment · May be fixed by #234

Comments

@mrlorx
Copy link

mrlorx commented Oct 18, 2021

In one of my Markdown files there is a Heading with the title: # Example Header
This link should lead to it: [example](#example-header)
But instead it throws the following error: Error: could not load file: test-header File not found.

@xy2z
Copy link
Owner

xy2z commented Oct 19, 2021

Sadly this is not possible with the way PineDocs currently works., because a link to #example-header will try to load a file in the navigation called 'example-header'.

So I'm not sure how to handle both situations, any good ideas are welcome - to handle navigation links and header links, as they both start with #

Mylloon added a commit to Mylloon/PineDocs that referenced this issue Jul 12, 2022
* add support for anchors (xy2z#157)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants