Hacker News new | ask | show | jobs
by muska3 2153 days ago
Played around tailwind css this weekend, pretty good and enjoyable. There's some quirks that make it slightly annoying to use with a static site generator that takes in markdown files and converts them to html. In this case it becomes annoying to style these files via something like tailwind.

For simpler projects there's tachyons as well, which shares a similar philosophy and is a bit simpler in scope.

2 comments

Maybe I'm misunderstanding, but can't you just use @apply to set up all the classes your markdown parser might output?
Yes that's the only way to do it, but then you kinda cirumvent the whole tailwind philosophy. The tailwind typography package is an attempt to fix this, but right now it's annoying to use.
Not sure if this helps for your specific problem but have you tried the typography plugin: https://tailwindcss.com/docs/typography-plugin/
Yes I tried it out, except it's extremely alpha at this stage. It's not at all easy to customize.