-
using tailwind for styling coponents, so it overwrites browser default syling of element. now im also using
markedwhich generates HTML out of github flavoured markdown. trouble is, this generated markdown's styling is overwriten by tailwind and ofc marked dont support tailwind type styling while generating HTML.so there are two solutions,
-
reset tailwind for particular div or component. (involves sass and stuf) blog: https://www.swyx.io/tailwind-unreset/
-
just use
<iframe srcDoc={markdown}>to render markdown. iframes are independent of external styling and this is coolest! so imma gonna go with this one :)
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Blog app blessed with bad frontend but great Backend :)
rootz491/rm-rf
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Blog app blessed with bad frontend but great Backend :)
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published