<page>.md
Any page source, at its own URL plus .md.
Append .md to any documentation URL and the response is the Markdown that page
was rendered from.
/duxt/getting-started → the page
/duxt/getting-started.md → its source
Notes
It is a middleware, not a route, because .md is a suffix on the last
segment rather than a segment of its own — a route file cannot match it.
This is what DuxtCopyPage hands to
a model: the source, not the rendered page.
Was this page helpful?