mdx vs starlight

mdx and starlight share 7 technologies: hastscript, hast-util-select, unified, vfile, hast-util-to-html, remark-directive, and unist-util-visit. mdx is written in JavaScript and starlight in TypeScript.

Read it as markdown

What they share and what sets them apart

Only in mdx

In common

withastro

starlight

🌟 Build beautiful, accessible, high-performance documentation websites with Astro

TypeScript9.6kRead on November 14, 2026, at commit 6282133What is starlight built with?

Only in starlight

  • Astro
  • @docsearch/css
  • @docsearch/js
  • @astrojs/markdoc
  • astro-expressive-code
  • satteri
  • astrojs
  • hast-util-to-string
  • mdast-util-directive
  • mdast-util-to-markdown
  • yaml
  • hast-util-format
  • mdast-util-to-string
  • ultrahtml

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
mdx12,274 lines written46 code files
starlight31,765 lines written156 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
mdx0% of its commits signed by AI
starlight0.2% of its commits signed by AIWith Claude Code and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
mdxLast push November 4, 20261,720 commits19,851 stars
starlightLast push November 13, 20263,876 commits9,584 stars
TestsThe files that test the code, and the share of code files a test imports.
mdx18 test files19.6% of its code files have a test that imports them
starlight158 test files43.6% of its code files have a test that imports them

Frequently asked questions

Which is bigger, mdx or starlight?
starlight, with 31,765 lines written; mdx has 12,274.

The proof: withastro/starlight's code at commit 6282133

Which has more GitHub stars, mdx or starlight?
mdx, with 19,851 stars; starlight has 9,584.

The proof: mdx-js/mdx on GitHub

Which has more tests, mdx or starlight?
starlight, with 158 test files; mdx has 18.

The proof: withastro/starlight's code at commit 6282133

Which was updated more recently, mdx or starlight?
starlight: its last push was on November 13, 2026, and mdx's on November 4, 2026.

The proof: withastro/starlight's commits on GitHub

Which has more commits signed by AI, mdx or starlight?
starlight: an AI signed 0.2% of its commits, with Claude Code and Cursor.

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →