Skip to content

How to render imported text as markdown? #4797

Closed Answered by brc-dd
ISOR3X asked this question in Q&A
Discussion options

You must be logged in to vote

#2921 (comment)

You can use dynamic routes too - https://vitepress.dev/guide/routing#dynamic-routes

https://stackblitz.com/edit/vite-mltkoqpq?file=docs/%5Bslug%5D.md,docs/%5Bslug%5D.paths.ts (uses vitepress v2-alpha. dynamic routes and loaders are fully stable there. v1 had some bugs)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ISOR3X
Comment options

Answer selected by ISOR3X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants