Prose
3 variants. Open one in isolation: use the link on each card.
FromHtmlProp
Open alone →Block pipeline prose uses the html prop.
- First ordered list item
- Another item
TypographySample
Open alone →WithLayoutClasses
Open alone →Home intro–style wrapper: prose plus outer margin and ink on the wrapper.
---import '../../styles/markdown-math.css'
/** Tailwind Typography `.prose` wrapper for trusted HTML (block pipeline) or slot content. */interface Props { class?: string /** Pre-rendered markdown HTML from `BlogBlock` prose nodes. */ html?: string}
const { class: className, html } = Astro.props---
<div class:list={['prose', className]}> {html ? <Fragment set:html={html} /> : <slot />}</div>