Files
heroui-vue/apps/docs/demos/typography-prose.vue
T
2026-10-22 13:07:13 +08:00

17 lines
479 B
Vue

<script setup lang="ts">
import { TypographyProse } from "@heroui-vue/components";
</script>
<template>
<TypographyProse class="flex max-w-xl flex-col gap-3">
<h1>正文标题</h1>
<p>Prose 适用于标记已是语义化、由 HeroUI 应用默认排版节奏的写作型内容。</p>
<h2>章节标题</h2>
<p>
行内代码如
<code>as</code>
与 Typography 原语获得相同的代码样式处理。
</p>
</TypographyProse>
</template>