Ox Content

Ox Content

High-performance documentation framework

Built with Rust. Framework-agnostic. Blazing fast.

Ox Content Logo

Blazing Fast

Arena-based allocation with Rust core for maximum performance

Framework Agnostic

Works with Vue, React, Svelte, and more via NAPI bindings

Built-in Search

Full-text search with BM25 scoring and CJK support

Customizable Themes

VitePress-like theming with CSS variables

Core Philosophy

  1. Performance First - Arena-based allocation for zero-copy parsing

  2. Standards Compliant - Full CommonMark + GFM support with mdast-compatible AST

  3. Framework Agnostic - Works with any JavaScript framework via NAPI

  4. Developer Experience - Excellent TypeScript types and error messages

Quick Links

Benchmarks

Latest local parse-benchmark run on 2026-03-07 with Node v24.14.0 on Apple M2 Max:

Parse Only (48.7 KB)

Library ops/sec throughput relative
@ox-content/napi 2463 117.22 MB/s 1.00x
md4w (md4c) 735 34.99 MB/s 3.35x slower
markdown-it 639 30.43 MB/s 3.85x slower
marked 362 17.25 MB/s 6.80x slower
remark 32 1.51 MB/s 77.86x slower

Parse + Render (48.7 KB)

Library ops/sec throughput relative
@ox-content/napi 2122 100.97 MB/s 1.00x
md4w (md4c) 1903 90.54 MB/s 1.12x slower
markdown-it 532 25.31 MB/s 3.99x slower
marked 345 16.42 MB/s 6.15x slower
micromark 34 1.62 MB/s 62.35x slower
remark 28 1.33 MB/s 75.81x slower

Reproduce with:

node benchmarks/bundle-size/parse-benchmark.mjs

The benchmark includes md4w (md4c) by default and adds Bun.markdown.html automatically when bun is available.