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

.md is stripped only from the end of a Markdown file link #6

Open
tigerros opened this issue Sep 28, 2023 · 0 comments
Open

.md is stripped only from the end of a Markdown file link #6

tigerros opened this issue Sep 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tigerros
Copy link

This means that it's impossible to link to sections in different pages. The only way to do that is with the "live" URL. Erroneous example:

[Dynamic Rendering](../reference/dynamic_rendering.md#improving-the)

This produces this route: https://dioxuslabs.com/learn/0.4/reference/dynamic_rendering.md#improving-the, which is not valid, because .md is not removed from the route. Instead you have to use:

[Dynamic Rendering](https://dioxuslabs.com/learn/0.4/reference/dynamic_rendering#improving-the)

The problem with this is that if the route before /reference/dynamic_rendering#improving-the changes (e.g., the domain changes), the link will become invalid.

@ealmloff ealmloff added the bug Something isn't working label Sep 28, 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