Is your feature request related to a problem? Please describe
got a report from someone who understandably added a link to a pdf in a page - but it just led to a 404
Describe the solution you'd like
given that links in markdown are static, we can detect at build time if it is an actual asset in public/ (or any of the nitro public asset dirs) and automatically add an external prop to ProseA
Describe alternatives you've considered
in nuxt v5 we'll likely do a hard reload (ie make it an external link) if a route isn't resolvable by vue router, but this won't work if there's a root catch-all route.
Additional context
Is your feature request related to a problem? Please describe
got a report from someone who understandably added a link to a pdf in a page - but it just led to a 404
Describe the solution you'd like
given that links in markdown are static, we can detect at build time if it is an actual asset in
public/(or any of the nitro public asset dirs) and automatically add anexternalprop toProseADescribe alternatives you've considered
in nuxt v5 we'll likely do a hard reload (ie make it an external link) if a route isn't resolvable by vue router, but this won't work if there's a root catch-all route.
Additional context