markdown-to-jsx
markdown-to-jsx copied to clipboard
Markdown not working with tailwind in Next JS 13 - example project repo added
I want to show an article with all the styles from markdown-to-jsx but can't get it to work in NextJS when using tailwind. The styles are only applied if I add it to the tailwind.css file, but it don't seem like I'm getting the styles from the project?
I've added a repo where I've reproduced this, maybe you can take a look: https://github.com/minifisk/markdown-tailwind
Hi @minifisk , Have you ever tried https://tailwindcss.com/docs/typography-plugin?
Same comment from the other issue, ensure your md files are being scanned by the tailwind engine so it can detect class usage if the classes are in the MD files themselves