Importing and displaying .md files with pagination in SolidStart
Hi! So i have some
.md
files inside /src/content/blog
.
I wanna import them and then display them (with pagination) in my index.tsx
page.
What's the best way of doing this in SolidJS?2 Replies
you can use vinxi/mdx plugin
then you can import your md files in your codebase they will be parsed as frontmatter and jsx
that's what i did in my projects but if you want some more solution checkout solid-docs project
its in mdx and solid-start
https://github.com/solidjs/solid-docs
Ah mdx, check i gonna read those docs!