-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
Vitepress keeps adding .html
extension to any link referencing a pdf file relative to the page. Seems like it's hard-coded here
vitepress/src/node/markdownToVue.ts
Line 52 in cee0b40
url = url.replace(/[?#].*$/, '').replace(/\.(html|md)$/, '') |
May be it's the right way and any non-routed link should be put as <a>
tag? Just wanted to share this observation.
Metadata
Metadata
Assignees
Labels
No labels