We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using createContentLoader to render excerpts or whole pages, it doesn't respect the cleanUrls settings and produces links with .html appended.
createContentLoader
.html
https://stackblitz.com/edit/vite-kyxjcz?file=docs%2Findex.md
Produce clean urls like everywhere else
See stackblitz
It seems like the call to md.render in createContentLoader does not receive the appropriate MarkdownEnv. For comparison, here it is presumably correctly in createMarkdownToVueRenderFn
md.render
MarkdownEnv
createMarkdownToVueRenderFn
The text was updated successfully, but these errors were encountered:
env
render
brc-dd
No branches or pull requests
Describe the bug
When using
createContentLoader
to render excerpts or whole pages, it doesn't respect the cleanUrls settings and produces links with.html
appended.Reproduction
https://stackblitz.com/edit/vite-kyxjcz?file=docs%2Findex.md
Expected behavior
Produce clean urls like everywhere else
System Info
Additional context
It seems like the call to
md.render
increateContentLoader
does not receive the appropriateMarkdownEnv
. For comparison, here it is presumably correctly increateMarkdownToVueRenderFn
Validations
The text was updated successfully, but these errors were encountered: