alexeyzerkalenkov's profile
Alexey Zerkalenkov

@alexeyzerkalenkov•Aug 05
8.5K
Post cover image

Introducing TanStack Markdown and TanStack Highlight

From tanstack.com•Aug 05•9m read time

TanStack is releasing alpha versions of two lightweight libraries: TanStack Markdown and TanStack Highlight. These were built to replace a bloated Markdown and syntax-highlighting pipeline on tanstack.com that was transferring over 1.1 MiB of script per docs page, with 358 KiB tied to Shiki alone. TanStack Markdown parses content into a serializable document tree (4.9 KB gzipped parser, zero runtime dependencies) supporting headings, tables, footnotes, fenced code, and streaming AI output. TanStack Highlight provides synchronous, deterministic syntax highlighting for 25 languages in about 8 KB total, emitting semantic CSS classes instead of inline styles for easy theming. The two libraries are intentionally decoupled, allowing independent use. Together they reduced the content rendering footprint to ~27 KiB transferred, enabling removal of the React Server Components pipeline previously used to hide the dependency cost.

107.8K Impressions4 Comments
alexeyzerkalenkov's user avatar
Alexey Zerkalenkov
@alexeyzerkalenkov
Joined Apr 28. 2025
8.5K

Fullstack AI Engineer

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard