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

Markdown links with hash properties don't get the .md extension removed #12

Closed
sbley opened this issue May 31, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sbley
Copy link

sbley commented May 31, 2023

Consider this sample markdown page 01-foo.md:

More information is available on the [bar page](./02-bar.md)
More information is available in the [baz section](./02-bar.md#baz)

Expected rendered HTML:

More information is available in the <a href="./02-bar">bar page</a>
More information is available in the <a href="./02-bar#baz">baz section</a>

Actual rendered HTML:

More information is available in the <a href="./02-bar">bar page</a>
More information is available in the <a href="./02-bar.md#baz">baz section</a>

As a consequence, the second link to baz section can't be resolved.

@sbley sbley changed the title Markdown links with hash prperties don't get the .md extension removed Markdown links with hash properties don't get the .md extension removed May 31, 2023
@FlorianRappl FlorianRappl added this to the 0.17 milestone Jun 2, 2023
@FlorianRappl FlorianRappl self-assigned this Jun 2, 2023
@FlorianRappl FlorianRappl added the bug Something isn't working label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants