Repository navigation
|
Hi, I am working on a data loader that extract markdown documentation from a Python module. My data loader simply executes some python and returns a string that is markdown. How would I go about actually rendering this as markdown and not as raw text? Things like |
Answered by
brc-dd
Jun 21, 2025
Replies: 1 comment 1 reply
|
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) |
1 reply
Answer selected by
ISOR3X
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

#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)