Examples

Nuxt Content

Discover how powerful it is to use Tailwind CSS with Markdown files.

The module is extended by @nuxt/content, meaning you can use Tailwind classes inside your content files with MDC syntax!

Hello, this is a [Markdown]{.px-1 .bg-blue-200 .rounded-lg} file!

::div{.w-full .bg-green-200 .p-4}
Another way to use it!
::

Learn more about the Span Syntax and how to use classes in Markdown files!

Open in GitHub