pngwn / MDsveX

A markdown preprocessor for Svelte.

Home Page:https://mdsvex.pngwn.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tailwindcss runs over MDsveX classes?

gneyal opened this issue · comments

commented

Screenshot 2024-03-15 at 15 11 16

In my +layout.svelte file if I comment the import app.css file - MDsveX works fine, but if I keep uncommented MDsveX's is not working properly. That is, a line like
# hello

will just come out as an <h1> element but will look the same as a <p>.

What am I missing?

Use the @apply directives Tailwind offers to generate a class you wrap the mdsvex output in