-
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 |
Beta Was this translation helpful? Give feedback.
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) |
Beta Was this translation helpful? Give feedback.
#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)