Settings

Theme

tailwindcss-github-markdown – GitHub Markdown styling for TailwindCSS

npmjs.com

2 points by rxliuli 8 months ago · 1 comment · 1 min read

Reader

I was frustrated with the default styles of @tailwindcss/typography, so I created a plugin that ports GitHub's beautiful Markdown styling to Tailwind CSS.

The plugin (`tailwindcss-github-markdown`) lets you add GitHub's Markdown rendering to your projects with minimal effort - just import it and add the `prose` class to your container, exactly like you would with the official typography plugin. It fully supports both light and dark themes via the standard `prose-invert` class.

GitHub: https://github.com/rxliuli/tailwindcss-github-markdown

rxliuliOP 8 months ago

I was frustrated with the default styles of @tailwindcss/typography, so I created a plugin that ports GitHub's beautiful Markdown styling to Tailwind CSS.

The plugin (`tailwindcss-github-markdown`) lets you add GitHub's Markdown rendering to your projects with minimal effort - just import it and add the `prose` class to your container, exactly like you would with the official typography plugin. It fully supports both light and dark themes via the standard `prose-invert` class.

GitHub: https://github.com/rxliuli/tailwindcss-github-markdown

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection