Source: https://seerepo.com/compare/mdx-js/mdx/vs/withastro/starlight
Markdown source: https://seerepo.com/compare/mdx-js/mdx/vs/withastro/starlight.md
Description: 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.

# 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.

- [mdx-js/mdx](https://seerepo.com/r/mdx-js/mdx): Markdown for the component era
- [withastro/starlight](https://seerepo.com/r/withastro/starlight): 🌟 Build beautiful, accessible, high-performance documentation websites with Astro

## What they share and what sets them apart

- In common: hastscript, hast-util-select, unified, vfile, hast-util-to-html, remark-directive, unist-util-visit
- Only in mdx: React, Preact, preact-render-to-string, Vite, Vue, @vue/server-renderer, @floating-ui/dom, react-error-boundary, hast-util-sanitize, rehype-stringify, xast-util-to-xml, hast-util-from-html, hast-util-to-jsx-runtime, hast-util-to-text, rehype-autolink-headings, rehype-infer-description-meta, rehype-parse, rehype-raw, rehype-slug, remark-frontmatter, remark-gemoji, remark-gfm, remark-github, remark-math, remark-mdx-frontmatter, remark-toc, unist-util-remove-position, @sparticuz/chromium, rehype-katex, remark, remark-parse, mdast-util-mdx, micromark-extension-mdxjs, remark-stringify
- 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

| | mdx | starlight |
|---|---|---|
| Size | 12,274 lines written, 46 code files | 31,765 lines written, 156 code files |
| Who writes it | 0% of its commits signed by AI | 0.2% of its commits signed by AI. With Claude Code and Cursor |
| Activity | Last push November 4, 2026, 1,720 commits, 19,851 stars | Last push November 13, 2026, 3,876 commits, 9,584 stars |
| Tests | 18 test files. 19.6% of its code files have a test that imports them | 158 test files. 43.6% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## 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](https://github.com/withastro/starlight/tree/62821331b95d55e9346ca34ebacc676d7be1f26b)

### Which has more GitHub stars, mdx or starlight?

mdx, with 19,851 stars; starlight has 9,584.

The proof: [mdx-js/mdx on GitHub](https://github.com/mdx-js/mdx)

### Which has more tests, mdx or starlight?

starlight, with 158 test files; mdx has 18.

The proof: [withastro/starlight's code at commit 6282133](https://github.com/withastro/starlight/tree/62821331b95d55e9346ca34ebacc676d7be1f26b)

### 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](https://github.com/withastro/starlight/commits)

### Which has more commits signed by AI, mdx or starlight?

starlight: an AI signed 0.2% of its commits, with Claude Code and Cursor.

## Sources

- mdx-js/mdx: Read on November 5, 2026, at commit 52285a6 (https://github.com/mdx-js/mdx/tree/52285a6758fa078ec57f3d4bd8803d9cbfb12065)
- withastro/starlight: Read on November 14, 2026, at commit 6282133 (https://github.com/withastro/starlight/tree/62821331b95d55e9346ca34ebacc676d7be1f26b)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
