DEV Community

Discussion on: How to Make a Markdown Blog With Next.js

Collapse
mejanhaque profile image
Muhammad Mejanul Haque • Edited on

Anyone who doesn't want to disable preflight in tailwindcss, just add headings, ul, ol etc. styles to your global CSS(ex: h1{@apply text-3xl} ), you can find this on tailwind docs. if you want to use google fonts make sure to add GoogleFont Tag in _document.tsx files. I prefer tailwind default rem, em sizes...which is more responsive.

Thanks for the post....

Collapse
joserfelix profile image
Jose Felix Author • Edited on

Thanks for the solution! I also have pondered on a way to substitute Typography; thankfully, I found a Tailwind plugin which does this job! It is called tailwindcss-typography. Soon, I will be updating the repository.

P.S. It is done! Check the repository.