TanStack/markdown
소개
Tiny, fast Markdown parsing and rendering for blogs and documentation
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- +3
- in 15 days
- +4
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
TanStack Markdown
A tiny, fast, deterministic Markdown parser and renderer for blogs and documentation.
- separately importable parser, HTML renderer, React adapter, and Octane adapter
- zero runtime dependencies
- serializable AST
- safe defaults for raw HTML and executable URLs
- optional docs extensions and external syntax highlighting
- optional AI streaming profile
The generated bundle report records minified, gzip, and Brotli sizes for reproducible browser import profiles. Renderer measurements include the parser and exclude framework runtimes and syntax highlighters; complete public-entry measurements are listed separately.
pnpm add @tanstack/markdown
If you use an AI agent, run npx @tanstack/intent@latest install so it can discover the package's task-specific skills.
import { renderHtml } from '@tanstack/markdown/html'
const html = renderHtml('# Fast by default')
import { Markdown } from '@tanstack/markdown/react'
export function Article({ source }: { source: string }) {
return <Markdown>{source}</Markdown>
}
import { Markdown } from '@tanstack/markdown/octane'
export function Article({ source }: { source: string }) @{
<Markdown>{source}</Markdown>
}
TanStack Markdown targets controlled technical content. It supports the Markdown used by blogs and docs, with deterministic output, renderer parity, malformed-input limits, and separately importable entry points. It is intentionally not a complete CommonMark, GFM, MDX, or general content-processing implementation.
For syntax highlighting, use the tested TanStack Highlight adapter. It registers only the languages you choose and returns escaped token markup inside Markdown-owned code containers.
Documentation
- Overview
- Installation
- Quick Start
- Comparison
- Syntax Profile
- React Guide
- Octane Guide
- AI Streaming
- Syntax Highlighting
- Extensions
- API Reference
- Architecture
Verification
pnpm run verify
To include downstream content in the corpus gate:
MARKDOWN_CORPUS_DIRS=../tanstack.com/src/blog:../tanstack.com/docs \
pnpm run test:corpus
To audit practical compatibility across local TanStack repositories and a pinned external docs/blog sample:
pnpm run corpus:audit:tanstack
pnpm run corpus:audit:external
Generated reports:
관련 프로젝트 살펴보기
불러오는 중…