惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
有赞技术团队
有赞技术团队
博客园_首页
IT之家
IT之家
爱范儿
爱范儿
量子位
小众软件
小众软件
Jina AI
Jina AI
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
The Cloudflare Blog
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
雷峰网
雷峰网
V
Visual Studio Blog
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题

Streamdown Documentation

Configuration FAQ Getting Started Introduction Security Animation Carets Code Blocks Components GitHub Flavored Markdown Interactivity Internationalization Link Safety Memoization Migrate from react-markdown Styling Unterminated Block Parsing Usage @streamdown/cjk @streamdown/code Built-in Plugins @streamdown/math @streamdown/mermaid Custom renderers
Typography
Vercel · 2026-04-11 · via Streamdown Documentation

Explore Streamdown's built-in Tailwind typography styles for beautiful Markdown rendering.

Streamdown comes with beautiful, built-in typography styles powered by Tailwind CSS. All standard Markdown elements are styled out of the box, ensuring your content looks polished without additional configuration.

Streamdown supports all six levels of Markdown headings with responsive sizing and proper spacing:

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Headings automatically include:

  • Responsive font sizes that scale appropriately
  • Proper font weights (semibold by default)
  • Optimal line heights for readability
  • Consistent vertical spacing

Text Formatting

Bold and Italic

Use standard Markdown syntax for emphasis:

**Bold text** or __also bold__
*Italic text* or _also italic_
***Bold and italic***

Strikethrough

GitHub Flavored Markdown strikethrough is fully supported:

Inline Code

Inline code is styled with a subtle background and monospace font:

Use the `Streamdown` component in your app.

Links are styled with underlines and appropriate colors:

[Visit our website](https://streamdown.ai)

Features include:

  • Distinct styling for regular links
  • Proper hover and focus states
  • Accessible color contrast
  • Smooth transitions

Unordered Lists

- First item
- Second item
  - Nested item
  - Another nested item
- Third item

Ordered Lists

1. First step
2. Second step
   1. Sub-step A
   2. Sub-step B
3. Third step

Lists include:

  • Proper indentation for nested levels
  • Consistent spacing between items
  • Clear visual hierarchy
  • Appropriate markers (bullets/numbers)

Blockquotes are styled with a left border and subtle background:

> "The development of full artificial intelligence could spell the end of the human race."
> — Stephen Hawking

Features:

  • Left accent border
  • Subtle background color
  • Proper padding and margin
  • Italic text styling

Code blocks receive syntax highlighting via Shiki:

```javascript
function greet(name) {
  return `Hello, ${name}!`;
}
```

See the Code Blocks documentation for detailed configuration options.

Images are responsive and properly contained:

![Alt text](https://example.com/image.jpg)

Features:

  • Responsive sizing
  • Proper aspect ratio preservation
  • Loading states
  • Alt text for accessibility
  • Broken image fallback with "Image not available" text

Tables are fully styled with borders and hover states:

| Feature | Supported |
|---------|-----------|
| Markdown | ✓ |
| Streaming | ✓ |
| Math | ✓ |

See the GitHub Flavored Markdown documentation for more table features.

Create visual separators:

Paragraphs receive proper spacing and line height for optimal readability:

This is a paragraph with normal text flow. It automatically wraps and includes proper spacing between adjacent paragraphs.

This is a second paragraph with appropriate margin top spacing.