#Markdown not rendering style with Tailwind

9 messages · Page 1 of 1 (latest)

shut lava
#

I have the @nuxtjs/tailwindcss and @nuxt/content installed.

Doing a simple page like so:

<template>
  <main>
    <ContentDoc path="terms-of-service" />
  </main>
</template>

<script setup lang="ts">
</script>

With my content/terms-of-service.md looking like this:

---
title: 'Terms of Service'
---

# Hi
This is a test

I get no styling for the markdown text
Where am I going wrong?

wild dock
#

you can, for example, use the typography plugin + prose class

shut lava
wild dock
shut lava
#

Yeah that does, but the nuxt ones don't iirc

wild dock