` with a `
` for your rendered Markdown. Add the style class `prose` alongside any desired [Tailwind element modifiers](https://tailwindcss.com/docs/typography-plugin#element-modifiers) in the parent element. src/components/Prose.astro ```astro --- ---
``` 2. Query your collection entry on the page you want to render your Markdown. Pass the `
` component from `await render(entry)` to `
` as a child to wrap your Markdown content in Tailwind styles. src/pages/index.astro ```astro --- import Prose from '../components/Prose.astro'; import Layout from '../layouts/Layout.astro'; import { getEntry, render } from 'astro:content'; const entry = await getEntry('collection', 'entry'); const { Content } = await render(entry); ---
``` ## Resources [Section titled “Resources”](#resources) * [Tailwind Typography Documentation](https://tailwindcss.com/docs/typography-plugin)