From bcac2214f322ffed579c28afdcd2d7df65414dc1 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 08:33:24 -0600 Subject: [PATCH 01/20] docs: clarify Markdown and Highlight landing pages --- src/components/landing/HighlightLanding.tsx | 77 +++++++++++---------- src/components/landing/MarkdownLanding.tsx | 50 ++++++------- 2 files changed, 67 insertions(+), 60 deletions(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index a2359a166..de6c29f16 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -24,24 +24,24 @@ const bundleProfiles = [ name: 'core', detail: 'no languages', size: '1.82 KB', - width: 'w-[22%]', + width: 'w-[17%]', }, { name: 'tsx', detail: 'core + TSX', - size: '4.03 KB', - width: 'w-[49%]', + size: '4.29 KB', + width: 'w-[40%]', }, { name: 'docs', detail: '9 languages', - size: '5.97 KB', - width: 'w-[72%]', + size: '6.22 KB', + width: 'w-[58%]', }, { name: 'all', - detail: '26 languages', - size: '8.29 KB', + detail: '30 languages', + size: '10.79 KB', width: 'w-full', }, ] @@ -60,7 +60,7 @@ export default function HighlightLanding() {
@@ -90,7 +90,7 @@ export default function HighlightLanding() {
@@ -115,14 +115,14 @@ export default function HighlightLanding() {
@@ -145,14 +145,14 @@ export default function HighlightLanding() { />

- A serializable document model that keeps highlighting at an - explicit boundary. + Parse and render Markdown, then add syntax highlighting with a + callback.

Explore Markdown @@ -359,7 +359,7 @@ function BundleDial() { return (
- 0.0.11 · gzip · KB = 1,000 bytes + 1.0.0 · gzip · KB = 1,000 bytes
{bundleProfiles.map((profile) => ( @@ -379,6 +379,16 @@ function BundleDial() {
))}
+

+ Minified browser source-entry builds, measured October 1, 2026 with Node + 26.3.1. Sizes vary with imports and build tools.{' '} + + Measurement details + +

) } @@ -561,32 +571,29 @@ function BenchmarkTape() {

- Local measurements from the{' '} - - project benchmark report - - . Shiki initialization and language loading are measured separately; - EJS, ENV, and TSRX use its plaintext fallback. Timings vary by machine, - and the tools don’t provide equivalent grammar accuracy. + project benchmark script + + . Times are the median of three runs after two warmups. Shiki + initialization and language loading are measured separately; EJS, ENV, + and TSRX use its plaintext fallback. Timings vary by machine, and the + tools don’t provide equivalent grammar accuracy.

) diff --git a/src/components/landing/MarkdownLanding.tsx b/src/components/landing/MarkdownLanding.tsx index d9c777102..fb3fd336e 100644 --- a/src/components/landing/MarkdownLanding.tsx +++ b/src/components/landing/MarkdownLanding.tsx @@ -27,7 +27,7 @@ const highlightLibrary = getLibrary('highlight') const markdownPrompt = [ 'Build a technical content renderer with TanStack Markdown.', - 'Treat its serializable AST as the durable document model, render from that tree with HTML, React, or Octane, and enable only the syntax extensions the product needs.', + 'Parse Markdown into a serializable document tree, render it with HTML, React, or Octane, and enable only the syntax extensions the product needs.', 'For accumulated AI responses, use the optional streaming profile without carrying incremental parser state between updates.', 'Preserve the safe defaults and deterministic output, and keep syntax highlighting as an explicit external integration.', ].join(' ') @@ -117,7 +117,7 @@ const streamingSource = `# Streaming response The model can send **ordinary Markdown** as it thinks. -- completed blocks stay stable +- accumulated text is reparsed on each update - unfinished markers stay out of the way - React and HTML stay in sync @@ -133,20 +133,20 @@ const streamingExtensions = [streamingMarkdownExtension()] const bundleComparisons = [ { name: 'TanStack HTML', - size: '6.7 KB', - width: 'w-[13%]', + size: '7.13 KB', + width: 'w-[14%]', emphasis: true, }, - { name: 'marked', size: '12.5 KB', width: 'w-[24%]', emphasis: false }, + { name: 'marked', size: '12.47 KB', width: 'w-[24%]', emphasis: false }, { name: 'unified stack', - size: '36.8 KB', + size: '36.62 KB', width: 'w-[70%]', emphasis: false, }, { name: 'markdown-it', - size: '52.7 KB', + size: '52.06 KB', width: 'w-full', emphasis: false, }, @@ -156,7 +156,7 @@ export default function MarkdownLanding() { return ( } prompt={markdownPrompt} @@ -165,8 +165,8 @@ export default function MarkdownLanding() { @@ -184,8 +184,8 @@ export default function MarkdownLanding() {
-

- Companion, not dependency -

-
+

- Synchronous highlighting for the code fences the document model - already understands. + Add syntax highlighting through Markdown’s highlighter callback. + TanStack Highlight provides createTanStackMarkdownHighlighter for + this integration.

Explore Highlight @@ -696,10 +694,10 @@ function BundleLedger() { ))}
{[ - ['4.9 KB', 'Parser'], - ['6.6 KB', 'React adapter'], - ['6.6 KB', 'Octane adapter'], - ['2.3 KB', 'docs preset'], + ['5.29 KB', 'Parser'], + ['7.09 KB', 'React adapter'], + ['7.06 KB', 'Octane adapter'], + ['2.37 KB', 'docs preset'], ].map(([value, label]) => (
{value}
@@ -710,10 +708,12 @@ function BundleLedger() { ))}

- Gzip sizes for minified browser bundles. Renderers include the parser; - framework runtimes and highlighters are excluded. Feature sets differ.{' '} + Markdown 1.0.0 · measured October 1, 2026 with Node 26.3.1. Gzip sizes + for minified browser builds of public entry exports. Renderers include + the parser; framework runtimes and highlighters are excluded. Feature + sets differ, and sizes vary with imports and build tools.{' '} Measurement details From 78f9d5e88c52e40761a12c8a6dd7d747534eb01d Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 09:43:37 -0600 Subject: [PATCH 02/20] Preserve informal landing voice and route writing skills --- .agents/index.md | 19 ++++++++++++++ src/components/landing/HighlightLanding.tsx | 20 +++++++------- src/components/landing/MarkdownLanding.tsx | 29 ++++++++++----------- 3 files changed, 43 insertions(+), 25 deletions(-) diff --git a/.agents/index.md b/.agents/index.md index ea6eee1cb..a73a528f2 100644 --- a/.agents/index.md +++ b/.agents/index.md @@ -44,3 +44,22 @@ Inspired by https://github.com/DietrichGebert/ponytail - [UI Style Guide](./ui-style.md): Visual design principles for 2026 - [Workflow](./workflow.md): Build commands, debugging, Playwright - [Analytics](./analytics.md): GA4 event taxonomy, funnel definition, custom dimensions + +## Writing and documentation + +Use `tanner-writing-style` for public front-page headings and marketing copy, +and `editorial-restraint` for clarity and grounded claims, when those skills +are available. Front-page copy should be personable, punchy, and informal. +Lead with the benefit and preserve supplied sales emphasis while polishing +awkward phrasing. Concrete grounding does not require API names in every +headline or subhead; examples and linked documentation can carry that detail. + +Keep API references and technical guides precise and approachable. Preserve +identifiers and explain actual behavior and relevant limitations without +imposing the marketing voice on reference documentation. + +Read relevant implementation, contracts, and examples before changing product +claims. Keep capabilities, measurements, guarantees, and comparisons accurate. +If a consequential claim is unsupported, offer a stronger accurate alternative +briefly and continue within the requested scope. Subjective praise and useful +promotional hooks do not need to become dry technical prose. diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index de6c29f16..3cf5fe0c6 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -60,7 +60,7 @@ export default function HighlightLanding() {

@@ -91,7 +91,7 @@ export default function HighlightLanding() {
@@ -116,13 +116,13 @@ export default function HighlightLanding() {
@@ -131,8 +131,8 @@ export default function HighlightLanding() {
} prompt={markdownPrompt} promptLabel="Copy Markdown prompt" @@ -166,7 +166,7 @@ export default function MarkdownLanding() { @@ -174,8 +174,8 @@ export default function MarkdownLanding() {
@@ -184,8 +184,8 @@ export default function MarkdownLanding() {
@@ -213,7 +213,7 @@ export default function MarkdownLanding() {
@@ -222,8 +222,8 @@ export default function MarkdownLanding() {

- Add syntax highlighting through Markdown’s highlighter callback. - TanStack Highlight provides createTanStackMarkdownHighlighter for - this integration. + A tiny, synchronous highlighter that plugs right into Markdown’s + code fences.

Explore Highlight From a9150a36aaa577dd02461815bc1919d735d16115 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 09:51:40 -0600 Subject: [PATCH 03/20] Show Markdown and Highlight v1 docs in version picker --- src/components/landing/MarkdownLanding.tsx | 2 +- src/libraries/libraries.ts | 8 +-- tests/markdown-highlight-versions.test.ts | 62 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 5 deletions(-) create mode 100644 tests/markdown-highlight-versions.test.ts diff --git a/src/components/landing/MarkdownLanding.tsx b/src/components/landing/MarkdownLanding.tsx index f87bcdbe3..34d8b26fa 100644 --- a/src/components/landing/MarkdownLanding.tsx +++ b/src/components/landing/MarkdownLanding.tsx @@ -166,7 +166,7 @@ export default function MarkdownLanding() {
diff --git a/src/libraries/libraries.ts b/src/libraries/libraries.ts index 06a5682b9..51b10b7c7 100644 --- a/src/libraries/libraries.ts +++ b/src/libraries/libraries.ts @@ -625,9 +625,9 @@ export const markdown: LibrarySlim = { frameworks: ['react', 'vanilla'], corePackageName: '@tanstack/markdown', npmPackageNames: ['@tanstack/markdown'], - latestVersion: 'v0', + latestVersion: 'v1', latestBranch: 'main', - availableVersions: ['v0'], + availableVersions: ['v1'], defaultDocs: 'overview', sitemap: { includeLandingPage: true, @@ -656,9 +656,9 @@ export const highlight: LibrarySlim = { frameworks: ['react', 'vanilla'], corePackageName: '@tanstack/highlight', npmPackageNames: ['@tanstack/highlight'], - latestVersion: 'v0', + latestVersion: 'v1', latestBranch: 'main', - availableVersions: ['v0'], + availableVersions: ['v1'], defaultDocs: 'overview', sitemap: { includeLandingPage: true, diff --git a/tests/markdown-highlight-versions.test.ts b/tests/markdown-highlight-versions.test.ts new file mode 100644 index 000000000..cddde49e2 --- /dev/null +++ b/tests/markdown-highlight-versions.test.ts @@ -0,0 +1,62 @@ +import assert from 'node:assert/strict' +import test from 'node:test' +import { getBranch, highlight, markdown } from '../src/libraries' +import { validateLibraryVersion } from '../src/routes/-library-landing' + +for (const library of [markdown, highlight]) { + test(`${library.id} v1 picker uses the current docs branch and retires v0`, () => { + assert.equal(library.latestVersion, 'v1') + assert.deepEqual(library.availableVersions, ['v1']) + assert.equal(getBranch(library, 'v1'), 'main') + assert.equal(getBranch(library, 'latest'), 'main') + + const invalidVersion = () => { + throw new Error('retired version') + } + for (const version of ['latest', 'v1']) { + assert.equal( + validateLibraryVersion(library.id, version, invalidVersion), + library, + ) + } + assert.throws( + () => validateLibraryVersion(library.id, 'v0', invalidVersion), + /retired version/, + ) + }) +} + +const baseUrl = process.env.TANSTACK_DOCS_SMOKE_BASE_URL + +test( + 'Markdown and Highlight v0 and v1 docs aliases preserve paths and query strings', + { + skip: baseUrl ? false : 'Set TANSTACK_DOCS_SMOKE_BASE_URL for route checks', + }, + async () => { + assert.ok(baseUrl) + for (const library of [markdown, highlight]) { + for (const version of ['v0', 'v1']) { + const response = await fetch( + new URL( + `/${library.id}/${version}/docs/overview?test=version`, + baseUrl, + ), + { redirect: 'manual', signal: AbortSignal.timeout(30_000) }, + ) + assert.equal(response.status, 308) + const location = response.headers.get('location') + assert.ok(location) + const target = new URL(location, baseUrl) + assert.equal(target.pathname, `/${library.id}/latest/docs/overview`) + assert.equal(target.search, '?test=version') + } + const response = await fetch( + new URL(`/${library.id}/latest/docs/overview`, baseUrl), + { signal: AbortSignal.timeout(30_000) }, + ) + assert.equal(response.status, 200) + assert.match(await response.text(), /v1/) + } + }, +) From 8a84921fc4c766d966b18c04941d4f5e91d056b7 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 09:54:31 -0600 Subject: [PATCH 04/20] Type version-route smoke test responses --- tests/markdown-highlight-versions.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/markdown-highlight-versions.test.ts b/tests/markdown-highlight-versions.test.ts index cddde49e2..182f9a337 100644 --- a/tests/markdown-highlight-versions.test.ts +++ b/tests/markdown-highlight-versions.test.ts @@ -37,7 +37,7 @@ test( assert.ok(baseUrl) for (const library of [markdown, highlight]) { for (const version of ['v0', 'v1']) { - const response = await fetch( + const response: Response = await fetch( new URL( `/${library.id}/${version}/docs/overview?test=version`, baseUrl, @@ -51,7 +51,7 @@ test( assert.equal(target.pathname, `/${library.id}/latest/docs/overview`) assert.equal(target.search, '?test=version') } - const response = await fetch( + const response: Response = await fetch( new URL(`/${library.id}/latest/docs/overview`, baseUrl), { signal: AbortSignal.timeout(30_000) }, ) From af6f38d89ce947652f8dccf3544942741d1f6bcf Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 10:18:12 -0600 Subject: [PATCH 05/20] Use approved streaming landing copy --- src/components/landing/MarkdownLanding.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/landing/MarkdownLanding.tsx b/src/components/landing/MarkdownLanding.tsx index 34d8b26fa..a14a9d4e5 100644 --- a/src/components/landing/MarkdownLanding.tsx +++ b/src/components/landing/MarkdownLanding.tsx @@ -174,8 +174,8 @@ export default function MarkdownLanding() {
From 288f771a9491c2af3f284cfd835fc071f500240e Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 10:20:32 -0600 Subject: [PATCH 06/20] Use approved conversational syntax heading --- src/components/landing/MarkdownLanding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/landing/MarkdownLanding.tsx b/src/components/landing/MarkdownLanding.tsx index a14a9d4e5..88ca167f3 100644 --- a/src/components/landing/MarkdownLanding.tsx +++ b/src/components/landing/MarkdownLanding.tsx @@ -184,7 +184,7 @@ export default function MarkdownLanding() {
From 10f250b0aa9fa919447d51f9e2823341136ad2ca Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 10:21:05 -0600 Subject: [PATCH 07/20] Use approved syntax section description --- src/components/landing/MarkdownLanding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/landing/MarkdownLanding.tsx b/src/components/landing/MarkdownLanding.tsx index 88ca167f3..d34c6c353 100644 --- a/src/components/landing/MarkdownLanding.tsx +++ b/src/components/landing/MarkdownLanding.tsx @@ -185,7 +185,7 @@ export default function MarkdownLanding() {
Date: Thu, 1 Oct 2026 10:28:18 -0600 Subject: [PATCH 08/20] Use approved two-line Markdown safety heading --- src/components/landing/LibraryLanding.tsx | 2 +- src/components/landing/MarkdownLanding.tsx | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/components/landing/LibraryLanding.tsx b/src/components/landing/LibraryLanding.tsx index 20cbc89d2..b2d8f52fb 100644 --- a/src/components/landing/LibraryLanding.tsx +++ b/src/components/landing/LibraryLanding.tsx @@ -393,7 +393,7 @@ export function LandingSectionIntro({ centered?: boolean eyebrow?: string icon?: React.ReactNode - title: string + title: React.ReactNode }) { return (
diff --git a/src/components/landing/MarkdownLanding.tsx b/src/components/landing/MarkdownLanding.tsx index d34c6c353..2ae4ce74e 100644 --- a/src/components/landing/MarkdownLanding.tsx +++ b/src/components/landing/MarkdownLanding.tsx @@ -202,7 +202,16 @@ export default function MarkdownLanding() {
+ + User-generated Markdown? 😍 + + + Malicious XSS? ❌ + + + } body="Raw HTML is escaped and executable link and image URLs are removed by default. Custom document trees, highlighters, and HTML hooks are trusted inputs, so those stay in your hands." /> From 824651357cd050588591b71a6fb0379bbf48ea24 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 10:29:19 -0600 Subject: [PATCH 09/20] Use approved Markdown safety description --- src/components/landing/MarkdownLanding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/landing/MarkdownLanding.tsx b/src/components/landing/MarkdownLanding.tsx index 2ae4ce74e..70e4229ad 100644 --- a/src/components/landing/MarkdownLanding.tsx +++ b/src/components/landing/MarkdownLanding.tsx @@ -212,7 +212,7 @@ export default function MarkdownLanding() { } - body="Raw HTML is escaped and executable link and image URLs are removed by default. Custom document trees, highlighters, and HTML hooks are trusted inputs, so those stay in your hands." + body="Render user content with fewer worries. We escape raw HTML and block executable URLs by default, and you stay in control of custom rendering." />
From 2b4f5d2e799649d93c110a8442a19c5f14ede151 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 10:32:22 -0600 Subject: [PATCH 10/20] Keep two-line safety heading within narrow screens --- src/components/landing/MarkdownLanding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/landing/MarkdownLanding.tsx b/src/components/landing/MarkdownLanding.tsx index 70e4229ad..e148c40e0 100644 --- a/src/components/landing/MarkdownLanding.tsx +++ b/src/components/landing/MarkdownLanding.tsx @@ -203,7 +203,7 @@ export default function MarkdownLanding() {
+ User-generated Markdown? 😍 From 984c407025f7d71070d642f621036dc5facb3456 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 10:33:51 -0600 Subject: [PATCH 11/20] Use approved browser-parsing marketing copy --- src/components/landing/MarkdownLanding.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/landing/MarkdownLanding.tsx b/src/components/landing/MarkdownLanding.tsx index e148c40e0..edd1f88f3 100644 --- a/src/components/landing/MarkdownLanding.tsx +++ b/src/components/landing/MarkdownLanding.tsx @@ -221,8 +221,8 @@ export default function MarkdownLanding() {
From 3160b66f9b9e8f3ac2a6250d709e48f6e93baaf8 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 10:55:41 -0600 Subject: [PATCH 12/20] Use approved highlighting integration and hero copy --- src/components/landing/HighlightLanding.tsx | 2 +- src/components/landing/MarkdownLanding.tsx | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index 3cf5fe0c6..82ea523f0 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -60,7 +60,7 @@ export default function HighlightLanding() {
+ Got a favorite syntax highlighter? Bring it along, or use our + own{' '} + + TanStack Highlight + + . We handle the Markdown and code-block markup, you handle the + colors. + + } /> Date: Thu, 1 Oct 2026 10:57:38 -0600 Subject: [PATCH 13/20] Use approved selective-language copy --- src/components/landing/HighlightLanding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index 82ea523f0..a64c66075 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -74,7 +74,7 @@ export default function HighlightLanding() {
From bd3148b1b2e58322f54136e5b7c954bc67e80de5 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 11:04:03 -0600 Subject: [PATCH 14/20] Use approved CSS theme marketing copy --- src/components/landing/HighlightLanding.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index a64c66075..4f7a8500c 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -83,8 +83,8 @@ export default function HighlightLanding() {
From 05794a5e12a46c62a6dfd77747a4c3004a819de6 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 11:06:28 -0600 Subject: [PATCH 15/20] Use approved mixed-language section copy --- src/components/landing/HighlightLanding.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index 4f7a8500c..72a9639a8 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -90,8 +90,8 @@ export default function HighlightLanding() {
From ba88c02569d45add797fcb6d25f26aa6ba8ae330 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 11:09:19 -0600 Subject: [PATCH 16/20] Use approved annotation wordplay and explanation --- src/components/landing/HighlightLanding.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index 72a9639a8..cf00c120b 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -115,8 +115,8 @@ export default function HighlightLanding() {
From 4c90ecfe89dd2e3c169d4727ccc514a221998f1a Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 11:10:19 -0600 Subject: [PATCH 17/20] Remove unnecessary Highlight performance marketing section --- src/components/landing/HighlightLanding.tsx | 75 --------------------- 1 file changed, 75 deletions(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index cf00c120b..4fc1c8ce5 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -119,13 +119,6 @@ export default function HighlightLanding() { body="Make changed lines pop, fade everything around them, or underline the bit you’re explaining with annotations you control and CSS that makes it yours." />
-
- - -
@@ -561,74 +554,6 @@ function AnnotatedLine({ ) } -function BenchmarkTape() { - return ( -
-
- 334 docs fixtures - warmed time - HTML -
- - -

- Highlight 1.0.0 and Shiki 4.3.1, measured October 1, 2026 with Node - 26.3.1 using the{' '} - - project benchmark script - - . Times are the median of three runs after two warmups. Shiki - initialization and language loading are measured separately; EJS, ENV, - and TSRX use its plaintext fallback. Timings vary by machine, and the - tools don’t provide equivalent grammar accuracy. -

-
- ) -} - -function BenchmarkRow({ - emphasis, - name, - output, - time, -}: { - emphasis: boolean - name: string - output: string - time: string -}) { - return ( -
- - {name} - - {time} - {output} -
- ) -} - function ChoiceRow({ name, useWhen }: { name: string; useWhen: string }) { return (
From 8c6b5427574cd92748217a43c2423390e8b9a37a Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 11:11:09 -0600 Subject: [PATCH 18/20] Remove duplicated highlighter comparison section --- src/components/landing/HighlightLanding.tsx | 40 ++------------------- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index 4fc1c8ce5..6eb271687 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -1,6 +1,6 @@ import * as React from 'react' import { Link } from '@tanstack/react-router' -import { ArrowRightIcon, CheckIcon } from '@phosphor-icons/react' +import { ArrowRightIcon } from '@phosphor-icons/react' import { LibraryWordmark } from '~/components/LibraryWordmark' import { getLibrary } from '~/libraries' @@ -122,27 +122,7 @@ export default function HighlightLanding() { -
- -
- - - -
-
-
+
) } - -function ChoiceRow({ name, useWhen }: { name: string; useWhen: string }) { - return ( -
-
-
-

{useWhen}

-
- ) -} From e64e7583f8045ed379d7a8f46ad0db80be1e5c90 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 1 Oct 2026 11:14:06 -0600 Subject: [PATCH 19/20] Use approved Markdown integration copy --- src/components/landing/HighlightLanding.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index 6eb271687..acbb32e2d 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -124,8 +124,8 @@ export default function HighlightLanding() {
Date: Thu, 1 Oct 2026 11:15:22 -0600 Subject: [PATCH 20/20] Use final approved integration flexibility wording --- src/components/landing/HighlightLanding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/landing/HighlightLanding.tsx b/src/components/landing/HighlightLanding.tsx index acbb32e2d..e2db2f5ef 100644 --- a/src/components/landing/HighlightLanding.tsx +++ b/src/components/landing/HighlightLanding.tsx @@ -125,7 +125,7 @@ export default function HighlightLanding() {