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

promote links to file assets unless we already know they are pages #1354

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Fil
Copy link
Contributor

@Fil Fil commented May 15, 2024

closes #639

Note: in #639 Mike mentions “remove .md”, which I take as a suggestion that we might want a link to [page.md](page.md) to be considered as a link to the page.

With this PR I don't apply that change, and instead a link to [page.md](page.md) results in a file asset with the source markdown. If that is not what we want, then we could add .md to the skip list.

I also wonder if we need to treat a[href][download] as always linking to a file?

@Fil Fil requested a review from mbostock May 15, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Links to static files are broken
1 participant