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

Fix brittle Markdown link conversion #2

Open
rg-wood opened this issue Jul 20, 2024 · 0 comments
Open

Fix brittle Markdown link conversion #2

rg-wood opened this issue Jul 20, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@rg-wood
Copy link
Member

rg-wood commented Jul 20, 2024

Converting intra-project Markdown links is brittle, and can break easily. It assumes that the file name (file-name.md) will match the autogenerated anchor link. If these are not the same, the generated link will be broken. For example, if you put a # Chapter 1 heading into index.md, vellum-book will generate a broken link to the non-existent #index fragment, instead of the correct #chapter-1 one.

@rg-wood rg-wood added bug Something isn't working help wanted Extra attention is needed labels Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant