[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-tanstack-production-pipelines":3,"mdc--3kq3th-key":31,"related-repo-tanstack-production-pipelines":6472,"related-org-tanstack-production-pipelines":6546},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":20,"repoUrl":21,"updatedAt":22,"license":23,"forks":24,"topics":25,"repo":26,"sourceUrl":29,"mdContent":30},"production-pipelines","audit and ship production Markdown pipelines","Audit and ship a production Markdown pipeline with explicit trust boundaries, external syntax highlighting, parse-ahead caching, compatibility checks, deterministic output, and bundle budgets. Load before deploying blogs, docs, or untrusted-content rendering.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"tanstack","TanStack","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ftanstack.png",[12,16,19],{"name":13,"slug":14,"type":15},"Markdown","markdown","tag",{"name":17,"slug":18,"type":15},"Deployment","deployment",{"name":9,"slug":8,"type":15},9,"https:\u002F\u002Fgithub.com\u002FTanStack\u002Fmarkdown","2026-07-26T06:08:48.34553",null,0,[],{"repoUrl":21,"stars":20,"forks":24,"topics":27,"description":28},[],"Tiny, fast Markdown parsing and rendering for blogs and documentation","https:\u002F\u002Fgithub.com\u002FTanStack\u002Fmarkdown\u002Ftree\u002FHEAD\u002Fskills\u002Fproduction-pipelines","---\nname: 'production-pipelines'\ndescription: >\n  Audit and ship a production Markdown pipeline with explicit trust boundaries,\n  external syntax highlighting, parse-ahead caching, compatibility checks,\n  deterministic output, and bundle budgets. Load before deploying blogs, docs,\n  or untrusted-content rendering.\nmetadata:\n  type: lifecycle\n  library: '@tanstack\u002Fmarkdown'\n  library_version: '0.0.12'\nrequires:\n  - 'render-markdown'\nsources:\n  - 'TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fsecurity.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fdocument-model.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fsyntax-profile.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fguides\u002Freact.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fguides\u002Fsyntax-highlighting.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fguides\u002Fperformance.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fguides\u002Ftesting.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fcomparison.md'\n  - 'TanStack\u002Fmarkdown:src\u002Futils.ts'\n  - 'TanStack\u002Fmarkdown:tests\u002Fsecurity.test.tsx'\n  - 'TanStack\u002Fmarkdown:tests\u002Fbundle-size.test.ts'\n---\n\nThis skill builds on `render-markdown`. Read it first for the supported syntax, AST, parser options, and renderer contracts.\n\n# TanStack Markdown — Production Pipeline Checklist\n\nRun every section before deploying a blog, documentation site, or user-content renderer.\n\n## Trust Boundary Checks\n\n### Check: Classify every Markdown source\n\nExpected:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderUntrustedMarkdown(\n  source: string,\n  sanitize: (html: string) => string,\n): string {\n  const rendered = renderHtml(source)\n  return sanitize(rendered)\n}\n```\n\nFail condition: Untrusted input reaches `allowHtml`, an unaudited extension `renderHtml` hook, or an unaudited highlighter.\n\nFix: Separate trusted and untrusted entry points, keep trusted callbacks disabled for untrusted content, and enforce application link, image, and final-HTML policy.\n\n## Highlighting Checks\n\n### Check: Return trusted code contents only\n\nExpected:\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { createHighlighter } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { plaintext } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fplaintext'\nimport { ts } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fts'\nimport { createTanStackMarkdownHighlighter } from '@tanstack\u002Fhighlight\u002Fmarkdown'\nconst highlighter = createHighlighter({ languages: [plaintext, ts] })\nexport const html = renderHtml('```ts {1}\\nconst answer = 42\\n```', {\n  highlighter: createTanStackMarkdownHighlighter(highlighter),\n})\n```\n\nFail condition: The callback returns a complete `\u003Cpre>\u003Ccode>` tree, does not escape source code, or comes from an unreviewed transform.\n\nFix: Return only escaped markup for the renderer-owned `\u003Ccode>` contents, and run highlighting during ingestion, build, or server rendering.\n\n## Compatibility Checks\n\n### Check: Validate the actual content corpus\n\nExpected:\n\n```bash\nMARKDOWN_CORPUS_DIRS=..\u002Fsite\u002Fsrc\u002Fblog:..\u002Fsite\u002Fdocs pnpm run test:corpus\npnpm run corpus:audit:tanstack\npnpm run corpus:audit:external\n```\n\nFail condition: Adoption relies only on CommonMark examples or a comparison table instead of the site's Markdown.\n\nFix: Add downstream content directories, preserve practical regressions with focused fixtures, and require renderer and bundle accounting for new syntax.\n\n### Check: Verify deterministic output\n\nExpected:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst source = '# Deterministic\\n\\n- one\\n- two'\nconst firstDocument = JSON.stringify(parseMarkdown(source))\nconst secondDocument = JSON.stringify(parseMarkdown(source))\nconst firstHtml = renderHtml(source)\nconst secondHtml = renderHtml(source)\n\nif (firstDocument !== secondDocument || firstHtml !== secondHtml) {\n  throw new Error('Markdown output is nondeterministic')\n}\n```\n\nFail condition: Identical source and options produce different serialized AST or HTML.\n\nFix: Remove time, randomness, environment state, and unstable ordering from extensions and render callbacks.\n\n## Performance and Cache Checks\n\n### Check: Parse once with final options\n\nExpected:\n\n```ts\nimport type { MarkdownDocument } from '@tanstack\u002Fmarkdown'\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst cache = new Map\u003Cstring, MarkdownDocument>()\n\nexport function renderCachedArticle(key: string, source: string): string {\n  const cacheKey = `markdown-0.0.12:${key}`\n  let document = cache.get(cacheKey)\n  if (!document) {\n    document = parseMarkdown(source, {\n      frontmatter: true,\n      headingIds: true,\n    })\n    cache.set(cacheKey, document)\n  }\n  return renderHtml(document)\n}\n```\n\nFail condition: Stable content is reparsed per request, or parser options\u002Fextensions change after the AST is cached.\n\nFix: Build the AST with final parse options, version persisted cache keys, invalidate stored ASTs when node contracts change, and use only narrow entry points.\n\n### Check: Enforce bundle budgets\n\nExpected:\n\n```bash\npnpm run size\npnpm test -- tests\u002Fbundle-size.test.ts\n```\n\nFail condition: Any measured entry exceeds its checked gzip budget or starts bundling a highlighter.\n\nFix: Inspect the bundle diff and justify any syntax or dependency cost before adjusting a budget.\n\n## Release Checks\n\n### Check: Run the complete package gate\n\nExpected:\n\n```bash\npnpm run verify\n```\n\nFail condition: Tests, typechecking, build, docs validation, conformance accounting, sizes, benchmarks, or the npm dry run fail.\n\nFix: Resolve every gate before publishing, including HTML\u002FReact\u002FOctane parity; audit raw HTML, highlighter output, HTML hooks, and component replacements separately.\n\n## Common Production Mistakes\n\n### CRITICAL Enabling HTML for untrusted Markdown\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderComment(source: string): string {\n  return renderHtml(source, { allowHtml: true })\n}\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderComment(source: string): string {\n  return renderHtml(source)\n}\n```\n\n`allowHtml` emits raw nodes and is not a sanitization step.\n\nSource: `docs\u002Fcore-concepts\u002Fsecurity.md`\n\n### HIGH Returning highlighter containers\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nfunction escapeCode(code: string): string {\n  return code.replace(\u002F[&\u003C>]\u002Fg, (character) => ({\n    '&': '&amp;',\n    '\u003C': '&lt;',\n    '>': '&gt;',\n  })[character] ?? character)\n}\n\nconsole.log(renderHtml('```ts\\nconst x = 1\\n```', {\n  highlighter: (code) => `\u003Cpre>\u003Ccode>${escapeCode(code)}\u003C\u002Fcode>\u003C\u002Fpre>`,\n}))\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nfunction escapeCode(code: string): string {\n  return code.replace(\u002F[&\u003C>]\u002Fg, (character) => ({\n    '&': '&amp;',\n    '\u003C': '&lt;',\n    '>': '&gt;',\n  })[character] ?? character)\n}\n\nconsole.log(renderHtml('```ts\\nconst x = 1\\n```', {\n  highlighter: (code) => `\u003Cspan class=\"token\">${escapeCode(code)}\u003C\u002Fspan>`,\n}))\n```\n\nThe renderer owns `\u003Cpre>\u003Ccode>`; the callback supplies only the code element's trusted contents.\n\nSource: `docs\u002Fguides\u002Fsyntax-highlighting.md`\n\n### CRITICAL Trusting arbitrary highlighter output\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst source = '```html\\n\u003Cimg src=x onerror=alert(1)>\\n```'\nconsole.log(renderHtml(source, { highlighter: (code) => code }))\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nfunction escapeCode(code: string): string {\n  return code.replace(\u002F[&\u003C>]\u002Fg, (character) => ({\n    '&': '&amp;',\n    '\u003C': '&lt;',\n    '>': '&gt;',\n  })[character] ?? character)\n}\n\nconst source = '```html\\n\u003Cimg src=x onerror=alert(1)>\\n```'\nconsole.log(renderHtml(source, { highlighter: escapeCode }))\n```\n\nHighlighter output is inserted without further escaping in every renderer.\n\nSource: `docs\u002Fcore-concepts\u002Fsecurity.md`\n\n### MEDIUM Bundling highlighting into static clients\n\nWrong:\n\n```tsx\nimport { Markdown } from '@tanstack\u002Fmarkdown\u002Freact'\nimport { tokenize } from '@tanstack\u002Fhighlight'\n\nexport function Article({ source }: { source: string }) {\n  return \u003CMarkdown highlighter={(code) => String(tokenize(code))}>{source}\u003C\u002FMarkdown>\n}\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport type { CodeHighlighter } from '@tanstack\u002Fmarkdown'\n\nexport function renderStaticArticle(\n  source: string,\n  highlighter: CodeHighlighter,\n): string {\n  return renderHtml(source, { highlighter })\n}\n```\n\nTokenizer runtimes, grammars, and themes can outweigh Markdown parsing and should remain build-time or server-side for static content.\n\nSource: `docs\u002Fguides\u002Fperformance.md`\n\n### CRITICAL Treating defaults as a sanitizer\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderForEveryPolicy(source: string): string {\n  return renderHtml(source)\n}\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderWithPolicy(\n  source: string,\n  sanitize: (html: string) => string,\n): string {\n  return sanitize(renderHtml(source))\n}\n```\n\nCore escaping and protocol filtering do not enforce application-specific outbound-link, image, or final-HTML policy.\n\nSource: `docs\u002Fcore-concepts\u002Fsecurity.md`\n\n### HIGH Assuming complete CommonMark behavior\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderArbitraryMarkdown(source: string): string {\n  return renderHtml(source)\n}\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderControlledDocs(source: string): string {\n  return renderHtml(source)\n}\n```\n\nThe package implements a documented docs\u002Fblog profile, not complete CommonMark, GFM, MDX, or arbitrary plugin behavior.\n\nSource: `docs\u002Fcore-concepts\u002Fsyntax-profile.md`\n\n### MEDIUM Reparsing unchanged content\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderRequest(source: string): string {\n  return renderHtml(source)\n}\n```\n\nCorrect:\n\n```ts\nimport type { MarkdownDocument } from '@tanstack\u002Fmarkdown'\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nexport function compile(source: string): MarkdownDocument {\n  return parseMarkdown(source)\n}\n\nexport function renderRequest(document: MarkdownDocument): string {\n  return renderHtml(document)\n}\n```\n\nString render inputs parse the complete document, while a cached `MarkdownDocument` skips that work.\n\nSource: `docs\u002Fcore-concepts\u002Fdocument-model.md`\n\n### HIGH Injecting HTML into React\n\nWrong:\n\n```tsx\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function Article({ source }: { source: string }) {\n  const html = renderHtml(source)\n  return \u003Carticle dangerouslySetInnerHTML={{ __html: html }} \u002F>\n}\n```\n\nCorrect:\n\n```tsx\nimport { Markdown } from '@tanstack\u002Fmarkdown\u002Freact'\n\nexport function Article({ source }: { source: string }) {\n  return \u003Carticle>\u003CMarkdown>{source}\u003C\u002FMarkdown>\u003C\u002Farticle>\n}\n```\n\nThe HTML string adds a trusted insertion boundary and bypasses React component replacement.\n\nSource: `docs\u002Fguides\u002Freact.md`\n\n### MEDIUM Expecting fence metadata to highlight\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst source = '```ts {1}\\nconst answer = 42\\n```'\nconsole.log(renderHtml(source))\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nfunction escapeCode(code: string): string {\n  return code.replace(\u002F[&\u003C>]\u002Fg, (character) => ({\n    '&': '&amp;',\n    '\u003C': '&lt;',\n    '>': '&gt;',\n  })[character] ?? character)\n}\n\nconst source = '```ts {1}\\nconst answer = 42\\n```'\nconsole.log(renderHtml(source, { highlighter: escapeCode }))\n```\n\nFence metadata enters the AST, but token markup requires an external highlighter.\n\nSource: `docs\u002Fcore-concepts\u002Fsyntax-profile.md`\n\n## Tensions\n\n### Compatibility breadth versus bundle budget\n\nDo not maximize conformance by default. Require target-corpus evidence, renderer coverage, and measured bundle cost before adding syntax.\n\n### Rich trusted output versus untrusted-content safety\n\nDo not enable raw HTML, extension HTML, or highlighter markup globally to solve presentation needs. Scope each trusted callback to controlled content.\n\n### Parse-ahead performance versus option timing\n\nBuild cached ASTs with final parser options and document transforms. Keep required HTML render hooks active when rendering those cached documents.\n\n## Pre-Deploy Summary\n\n- [ ] Every content source is classified as trusted or untrusted.\n- [ ] Raw HTML, extension HTML, and highlighter output have explicit owners.\n- [ ] Application link, image, and final-sanitization policies are enforced.\n- [ ] The downstream corpus passes deterministic AST and renderer checks.\n- [ ] Unsupported syntax is documented rather than silently assumed.\n- [ ] Stable content is parsed once with final options and versioned cache keys.\n- [ ] Highlighting runs at build time or on the server where possible.\n- [ ] Narrow entry points and individual extensions are used.\n- [ ] Bundle budgets and HTML\u002FReact\u002FOctane parity tests pass.\n- [ ] `pnpm run verify` passes before release.\n\n## Related Skills\n\n- `render-markdown` for the supported profile, AST, parser options, and core HTML rendering.\n- `docs-features` for docs metadata and code-fence behavior.\n- `custom-extensions` for parser hooks and trusted HTML extension boundaries.\n- `react-rendering` and `octane-rendering` for framework component policy and SSR parity.\n",{"data":32,"body":51},{"name":4,"description":6,"metadata":33,"requires":37,"sources":39},{"type":34,"library":35,"library_version":36},"lifecycle","@tanstack\u002Fmarkdown","0.0.12",[38],"render-markdown",[40,41,42,43,44,45,46,47,48,49,50],"TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fsecurity.md","TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fdocument-model.md","TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fsyntax-profile.md","TanStack\u002Fmarkdown:docs\u002Fguides\u002Freact.md","TanStack\u002Fmarkdown:docs\u002Fguides\u002Fsyntax-highlighting.md","TanStack\u002Fmarkdown:docs\u002Fguides\u002Fperformance.md","TanStack\u002Fmarkdown:docs\u002Fguides\u002Ftesting.md","TanStack\u002Fmarkdown:docs\u002Fcomparison.md","TanStack\u002Fmarkdown:src\u002Futils.ts","TanStack\u002Fmarkdown:tests\u002Fsecurity.test.tsx","TanStack\u002Fmarkdown:tests\u002Fbundle-size.test.ts",{"type":52,"children":53},"root",[54,70,77,82,89,96,101,365,386,391,397,403,407,767,780,793,799,805,809,883,888,893,899,903,1272,1277,1282,1288,1294,1298,1827,1832,1837,1843,1847,1892,1897,1902,1908,1914,1918,1941,1946,1951,1957,1963,1968,2116,2121,2243,2253,2264,2270,2274,2745,2749,3193,3205,3215,3221,3225,3393,3397,3801,3806,3815,3821,3825,4056,4060,4268,4273,4283,4289,4293,4416,4420,4604,4609,4618,4624,4628,4751,4755,4878,4883,4893,4899,4903,5026,5030,5307,5320,5330,5336,5340,5523,5527,5688,5693,5703,5709,5713,5832,5836,6239,6244,6253,6259,6265,6270,6276,6281,6287,6292,6298,6406,6412,6466],{"type":55,"tag":56,"props":57,"children":58},"element","p",{},[59,62,68],{"type":60,"value":61},"text","This skill builds on ",{"type":55,"tag":63,"props":64,"children":66},"code",{"className":65},[],[67],{"type":60,"value":38},{"type":60,"value":69},". Read it first for the supported syntax, AST, parser options, and renderer contracts.",{"type":55,"tag":71,"props":72,"children":74},"h1",{"id":73},"tanstack-markdown-production-pipeline-checklist",[75],{"type":60,"value":76},"TanStack Markdown — Production Pipeline Checklist",{"type":55,"tag":56,"props":78,"children":79},{},[80],{"type":60,"value":81},"Run every section before deploying a blog, documentation site, or user-content renderer.",{"type":55,"tag":83,"props":84,"children":86},"h2",{"id":85},"trust-boundary-checks",[87],{"type":60,"value":88},"Trust Boundary Checks",{"type":55,"tag":90,"props":91,"children":93},"h3",{"id":92},"check-classify-every-markdown-source",[94],{"type":60,"value":95},"Check: Classify every Markdown source",{"type":55,"tag":56,"props":97,"children":98},{},[99],{"type":60,"value":100},"Expected:",{"type":55,"tag":102,"props":103,"children":108},"pre",{"className":104,"code":105,"language":106,"meta":107,"style":107},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderUntrustedMarkdown(\n  source: string,\n  sanitize: (html: string) => string,\n): string {\n  const rendered = renderHtml(source)\n  return sanitize(rendered)\n}\n","ts","",[109],{"type":55,"tag":63,"props":110,"children":111},{"__ignoreMap":107},[112,162,172,198,224,273,291,330,357],{"type":55,"tag":113,"props":114,"children":117},"span",{"class":115,"line":116},"line",1,[118,124,130,136,141,146,151,157],{"type":55,"tag":113,"props":119,"children":121},{"style":120},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[122],{"type":60,"value":123},"import",{"type":55,"tag":113,"props":125,"children":127},{"style":126},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[128],{"type":60,"value":129}," {",{"type":55,"tag":113,"props":131,"children":133},{"style":132},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[134],{"type":60,"value":135}," renderHtml",{"type":55,"tag":113,"props":137,"children":138},{"style":126},[139],{"type":60,"value":140}," }",{"type":55,"tag":113,"props":142,"children":143},{"style":120},[144],{"type":60,"value":145}," from",{"type":55,"tag":113,"props":147,"children":148},{"style":126},[149],{"type":60,"value":150}," '",{"type":55,"tag":113,"props":152,"children":154},{"style":153},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[155],{"type":60,"value":156},"@tanstack\u002Fmarkdown\u002Fhtml",{"type":55,"tag":113,"props":158,"children":159},{"style":126},[160],{"type":60,"value":161},"'\n",{"type":55,"tag":113,"props":163,"children":165},{"class":115,"line":164},2,[166],{"type":55,"tag":113,"props":167,"children":169},{"emptyLinePlaceholder":168},true,[170],{"type":60,"value":171},"\n",{"type":55,"tag":113,"props":173,"children":175},{"class":115,"line":174},3,[176,181,187,193],{"type":55,"tag":113,"props":177,"children":178},{"style":120},[179],{"type":60,"value":180},"export",{"type":55,"tag":113,"props":182,"children":184},{"style":183},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[185],{"type":60,"value":186}," function",{"type":55,"tag":113,"props":188,"children":190},{"style":189},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[191],{"type":60,"value":192}," renderUntrustedMarkdown",{"type":55,"tag":113,"props":194,"children":195},{"style":126},[196],{"type":60,"value":197},"(\n",{"type":55,"tag":113,"props":199,"children":201},{"class":115,"line":200},4,[202,208,213,219],{"type":55,"tag":113,"props":203,"children":205},{"style":204},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[206],{"type":60,"value":207},"  source",{"type":55,"tag":113,"props":209,"children":210},{"style":126},[211],{"type":60,"value":212},":",{"type":55,"tag":113,"props":214,"children":216},{"style":215},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[217],{"type":60,"value":218}," string",{"type":55,"tag":113,"props":220,"children":221},{"style":126},[222],{"type":60,"value":223},",\n",{"type":55,"tag":113,"props":225,"children":227},{"class":115,"line":226},5,[228,233,237,242,247,251,255,260,265,269],{"type":55,"tag":113,"props":229,"children":230},{"style":189},[231],{"type":60,"value":232},"  sanitize",{"type":55,"tag":113,"props":234,"children":235},{"style":126},[236],{"type":60,"value":212},{"type":55,"tag":113,"props":238,"children":239},{"style":126},[240],{"type":60,"value":241}," (",{"type":55,"tag":113,"props":243,"children":244},{"style":204},[245],{"type":60,"value":246},"html",{"type":55,"tag":113,"props":248,"children":249},{"style":126},[250],{"type":60,"value":212},{"type":55,"tag":113,"props":252,"children":253},{"style":215},[254],{"type":60,"value":218},{"type":55,"tag":113,"props":256,"children":257},{"style":126},[258],{"type":60,"value":259},")",{"type":55,"tag":113,"props":261,"children":262},{"style":183},[263],{"type":60,"value":264}," =>",{"type":55,"tag":113,"props":266,"children":267},{"style":215},[268],{"type":60,"value":218},{"type":55,"tag":113,"props":270,"children":271},{"style":126},[272],{"type":60,"value":223},{"type":55,"tag":113,"props":274,"children":276},{"class":115,"line":275},6,[277,282,286],{"type":55,"tag":113,"props":278,"children":279},{"style":126},[280],{"type":60,"value":281},"):",{"type":55,"tag":113,"props":283,"children":284},{"style":215},[285],{"type":60,"value":218},{"type":55,"tag":113,"props":287,"children":288},{"style":126},[289],{"type":60,"value":290}," {\n",{"type":55,"tag":113,"props":292,"children":294},{"class":115,"line":293},7,[295,300,305,310,314,320,325],{"type":55,"tag":113,"props":296,"children":297},{"style":183},[298],{"type":60,"value":299},"  const",{"type":55,"tag":113,"props":301,"children":302},{"style":132},[303],{"type":60,"value":304}," rendered",{"type":55,"tag":113,"props":306,"children":307},{"style":126},[308],{"type":60,"value":309}," =",{"type":55,"tag":113,"props":311,"children":312},{"style":189},[313],{"type":60,"value":135},{"type":55,"tag":113,"props":315,"children":317},{"style":316},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[318],{"type":60,"value":319},"(",{"type":55,"tag":113,"props":321,"children":322},{"style":132},[323],{"type":60,"value":324},"source",{"type":55,"tag":113,"props":326,"children":327},{"style":316},[328],{"type":60,"value":329},")\n",{"type":55,"tag":113,"props":331,"children":333},{"class":115,"line":332},8,[334,339,344,348,353],{"type":55,"tag":113,"props":335,"children":336},{"style":120},[337],{"type":60,"value":338},"  return",{"type":55,"tag":113,"props":340,"children":341},{"style":189},[342],{"type":60,"value":343}," sanitize",{"type":55,"tag":113,"props":345,"children":346},{"style":316},[347],{"type":60,"value":319},{"type":55,"tag":113,"props":349,"children":350},{"style":132},[351],{"type":60,"value":352},"rendered",{"type":55,"tag":113,"props":354,"children":355},{"style":316},[356],{"type":60,"value":329},{"type":55,"tag":113,"props":358,"children":359},{"class":115,"line":20},[360],{"type":55,"tag":113,"props":361,"children":362},{"style":126},[363],{"type":60,"value":364},"}\n",{"type":55,"tag":56,"props":366,"children":367},{},[368,370,376,378,384],{"type":60,"value":369},"Fail condition: Untrusted input reaches ",{"type":55,"tag":63,"props":371,"children":373},{"className":372},[],[374],{"type":60,"value":375},"allowHtml",{"type":60,"value":377},", an unaudited extension ",{"type":55,"tag":63,"props":379,"children":381},{"className":380},[],[382],{"type":60,"value":383},"renderHtml",{"type":60,"value":385}," hook, or an unaudited highlighter.",{"type":55,"tag":56,"props":387,"children":388},{},[389],{"type":60,"value":390},"Fix: Separate trusted and untrusted entry points, keep trusted callbacks disabled for untrusted content, and enforce application link, image, and final-HTML policy.",{"type":55,"tag":83,"props":392,"children":394},{"id":393},"highlighting-checks",[395],{"type":60,"value":396},"Highlighting Checks",{"type":55,"tag":90,"props":398,"children":400},{"id":399},"check-return-trusted-code-contents-only",[401],{"type":60,"value":402},"Check: Return trusted code contents only",{"type":55,"tag":56,"props":404,"children":405},{},[406],{"type":60,"value":100},{"type":55,"tag":102,"props":408,"children":410},{"className":104,"code":409,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { createHighlighter } from '@tanstack\u002Fhighlight\u002Fcore'\nimport { plaintext } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fplaintext'\nimport { ts } from '@tanstack\u002Fhighlight\u002Flanguages\u002Fts'\nimport { createTanStackMarkdownHighlighter } from '@tanstack\u002Fhighlight\u002Fmarkdown'\nconst highlighter = createHighlighter({ languages: [plaintext, ts] })\nexport const html = renderHtml('```ts {1}\\nconst answer = 42\\n```', {\n  highlighter: createTanStackMarkdownHighlighter(highlighter),\n})\n",[411],{"type":55,"tag":63,"props":412,"children":413},{"__ignoreMap":107},[414,449,486,523,560,597,661,731,756],{"type":55,"tag":113,"props":415,"children":416},{"class":115,"line":116},[417,421,425,429,433,437,441,445],{"type":55,"tag":113,"props":418,"children":419},{"style":120},[420],{"type":60,"value":123},{"type":55,"tag":113,"props":422,"children":423},{"style":126},[424],{"type":60,"value":129},{"type":55,"tag":113,"props":426,"children":427},{"style":132},[428],{"type":60,"value":135},{"type":55,"tag":113,"props":430,"children":431},{"style":126},[432],{"type":60,"value":140},{"type":55,"tag":113,"props":434,"children":435},{"style":120},[436],{"type":60,"value":145},{"type":55,"tag":113,"props":438,"children":439},{"style":126},[440],{"type":60,"value":150},{"type":55,"tag":113,"props":442,"children":443},{"style":153},[444],{"type":60,"value":156},{"type":55,"tag":113,"props":446,"children":447},{"style":126},[448],{"type":60,"value":161},{"type":55,"tag":113,"props":450,"children":451},{"class":115,"line":164},[452,456,460,465,469,473,477,482],{"type":55,"tag":113,"props":453,"children":454},{"style":120},[455],{"type":60,"value":123},{"type":55,"tag":113,"props":457,"children":458},{"style":126},[459],{"type":60,"value":129},{"type":55,"tag":113,"props":461,"children":462},{"style":132},[463],{"type":60,"value":464}," createHighlighter",{"type":55,"tag":113,"props":466,"children":467},{"style":126},[468],{"type":60,"value":140},{"type":55,"tag":113,"props":470,"children":471},{"style":120},[472],{"type":60,"value":145},{"type":55,"tag":113,"props":474,"children":475},{"style":126},[476],{"type":60,"value":150},{"type":55,"tag":113,"props":478,"children":479},{"style":153},[480],{"type":60,"value":481},"@tanstack\u002Fhighlight\u002Fcore",{"type":55,"tag":113,"props":483,"children":484},{"style":126},[485],{"type":60,"value":161},{"type":55,"tag":113,"props":487,"children":488},{"class":115,"line":174},[489,493,497,502,506,510,514,519],{"type":55,"tag":113,"props":490,"children":491},{"style":120},[492],{"type":60,"value":123},{"type":55,"tag":113,"props":494,"children":495},{"style":126},[496],{"type":60,"value":129},{"type":55,"tag":113,"props":498,"children":499},{"style":132},[500],{"type":60,"value":501}," plaintext",{"type":55,"tag":113,"props":503,"children":504},{"style":126},[505],{"type":60,"value":140},{"type":55,"tag":113,"props":507,"children":508},{"style":120},[509],{"type":60,"value":145},{"type":55,"tag":113,"props":511,"children":512},{"style":126},[513],{"type":60,"value":150},{"type":55,"tag":113,"props":515,"children":516},{"style":153},[517],{"type":60,"value":518},"@tanstack\u002Fhighlight\u002Flanguages\u002Fplaintext",{"type":55,"tag":113,"props":520,"children":521},{"style":126},[522],{"type":60,"value":161},{"type":55,"tag":113,"props":524,"children":525},{"class":115,"line":200},[526,530,534,539,543,547,551,556],{"type":55,"tag":113,"props":527,"children":528},{"style":120},[529],{"type":60,"value":123},{"type":55,"tag":113,"props":531,"children":532},{"style":126},[533],{"type":60,"value":129},{"type":55,"tag":113,"props":535,"children":536},{"style":132},[537],{"type":60,"value":538}," ts",{"type":55,"tag":113,"props":540,"children":541},{"style":126},[542],{"type":60,"value":140},{"type":55,"tag":113,"props":544,"children":545},{"style":120},[546],{"type":60,"value":145},{"type":55,"tag":113,"props":548,"children":549},{"style":126},[550],{"type":60,"value":150},{"type":55,"tag":113,"props":552,"children":553},{"style":153},[554],{"type":60,"value":555},"@tanstack\u002Fhighlight\u002Flanguages\u002Fts",{"type":55,"tag":113,"props":557,"children":558},{"style":126},[559],{"type":60,"value":161},{"type":55,"tag":113,"props":561,"children":562},{"class":115,"line":226},[563,567,571,576,580,584,588,593],{"type":55,"tag":113,"props":564,"children":565},{"style":120},[566],{"type":60,"value":123},{"type":55,"tag":113,"props":568,"children":569},{"style":126},[570],{"type":60,"value":129},{"type":55,"tag":113,"props":572,"children":573},{"style":132},[574],{"type":60,"value":575}," createTanStackMarkdownHighlighter",{"type":55,"tag":113,"props":577,"children":578},{"style":126},[579],{"type":60,"value":140},{"type":55,"tag":113,"props":581,"children":582},{"style":120},[583],{"type":60,"value":145},{"type":55,"tag":113,"props":585,"children":586},{"style":126},[587],{"type":60,"value":150},{"type":55,"tag":113,"props":589,"children":590},{"style":153},[591],{"type":60,"value":592},"@tanstack\u002Fhighlight\u002Fmarkdown",{"type":55,"tag":113,"props":594,"children":595},{"style":126},[596],{"type":60,"value":161},{"type":55,"tag":113,"props":598,"children":599},{"class":115,"line":275},[600,605,610,615,619,623,628,633,637,642,647,652,657],{"type":55,"tag":113,"props":601,"children":602},{"style":183},[603],{"type":60,"value":604},"const",{"type":55,"tag":113,"props":606,"children":607},{"style":132},[608],{"type":60,"value":609}," highlighter ",{"type":55,"tag":113,"props":611,"children":612},{"style":126},[613],{"type":60,"value":614},"=",{"type":55,"tag":113,"props":616,"children":617},{"style":189},[618],{"type":60,"value":464},{"type":55,"tag":113,"props":620,"children":621},{"style":132},[622],{"type":60,"value":319},{"type":55,"tag":113,"props":624,"children":625},{"style":126},[626],{"type":60,"value":627},"{",{"type":55,"tag":113,"props":629,"children":630},{"style":316},[631],{"type":60,"value":632}," languages",{"type":55,"tag":113,"props":634,"children":635},{"style":126},[636],{"type":60,"value":212},{"type":55,"tag":113,"props":638,"children":639},{"style":132},[640],{"type":60,"value":641}," [plaintext",{"type":55,"tag":113,"props":643,"children":644},{"style":126},[645],{"type":60,"value":646},",",{"type":55,"tag":113,"props":648,"children":649},{"style":132},[650],{"type":60,"value":651}," ts] ",{"type":55,"tag":113,"props":653,"children":654},{"style":126},[655],{"type":60,"value":656},"}",{"type":55,"tag":113,"props":658,"children":659},{"style":132},[660],{"type":60,"value":329},{"type":55,"tag":113,"props":662,"children":663},{"class":115,"line":293},[664,668,673,678,682,686,690,695,700,705,710,714,719,723,727],{"type":55,"tag":113,"props":665,"children":666},{"style":120},[667],{"type":60,"value":180},{"type":55,"tag":113,"props":669,"children":670},{"style":183},[671],{"type":60,"value":672}," const",{"type":55,"tag":113,"props":674,"children":675},{"style":132},[676],{"type":60,"value":677}," html ",{"type":55,"tag":113,"props":679,"children":680},{"style":126},[681],{"type":60,"value":614},{"type":55,"tag":113,"props":683,"children":684},{"style":189},[685],{"type":60,"value":135},{"type":55,"tag":113,"props":687,"children":688},{"style":132},[689],{"type":60,"value":319},{"type":55,"tag":113,"props":691,"children":692},{"style":126},[693],{"type":60,"value":694},"'",{"type":55,"tag":113,"props":696,"children":697},{"style":153},[698],{"type":60,"value":699},"```ts {1}",{"type":55,"tag":113,"props":701,"children":702},{"style":132},[703],{"type":60,"value":704},"\\n",{"type":55,"tag":113,"props":706,"children":707},{"style":153},[708],{"type":60,"value":709},"const answer = 42",{"type":55,"tag":113,"props":711,"children":712},{"style":132},[713],{"type":60,"value":704},{"type":55,"tag":113,"props":715,"children":716},{"style":153},[717],{"type":60,"value":718},"```",{"type":55,"tag":113,"props":720,"children":721},{"style":126},[722],{"type":60,"value":694},{"type":55,"tag":113,"props":724,"children":725},{"style":126},[726],{"type":60,"value":646},{"type":55,"tag":113,"props":728,"children":729},{"style":126},[730],{"type":60,"value":290},{"type":55,"tag":113,"props":732,"children":733},{"class":115,"line":332},[734,739,743,747,752],{"type":55,"tag":113,"props":735,"children":736},{"style":316},[737],{"type":60,"value":738},"  highlighter",{"type":55,"tag":113,"props":740,"children":741},{"style":126},[742],{"type":60,"value":212},{"type":55,"tag":113,"props":744,"children":745},{"style":189},[746],{"type":60,"value":575},{"type":55,"tag":113,"props":748,"children":749},{"style":132},[750],{"type":60,"value":751},"(highlighter)",{"type":55,"tag":113,"props":753,"children":754},{"style":126},[755],{"type":60,"value":223},{"type":55,"tag":113,"props":757,"children":758},{"class":115,"line":20},[759,763],{"type":55,"tag":113,"props":760,"children":761},{"style":126},[762],{"type":60,"value":656},{"type":55,"tag":113,"props":764,"children":765},{"style":132},[766],{"type":60,"value":329},{"type":55,"tag":56,"props":768,"children":769},{},[770,772,778],{"type":60,"value":771},"Fail condition: The callback returns a complete ",{"type":55,"tag":63,"props":773,"children":775},{"className":774},[],[776],{"type":60,"value":777},"\u003Cpre>\u003Ccode>",{"type":60,"value":779}," tree, does not escape source code, or comes from an unreviewed transform.",{"type":55,"tag":56,"props":781,"children":782},{},[783,785,791],{"type":60,"value":784},"Fix: Return only escaped markup for the renderer-owned ",{"type":55,"tag":63,"props":786,"children":788},{"className":787},[],[789],{"type":60,"value":790},"\u003Ccode>",{"type":60,"value":792}," contents, and run highlighting during ingestion, build, or server rendering.",{"type":55,"tag":83,"props":794,"children":796},{"id":795},"compatibility-checks",[797],{"type":60,"value":798},"Compatibility Checks",{"type":55,"tag":90,"props":800,"children":802},{"id":801},"check-validate-the-actual-content-corpus",[803],{"type":60,"value":804},"Check: Validate the actual content corpus",{"type":55,"tag":56,"props":806,"children":807},{},[808],{"type":60,"value":100},{"type":55,"tag":102,"props":810,"children":814},{"className":811,"code":812,"language":813,"meta":107,"style":107},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","MARKDOWN_CORPUS_DIRS=..\u002Fsite\u002Fsrc\u002Fblog:..\u002Fsite\u002Fdocs pnpm run test:corpus\npnpm run corpus:audit:tanstack\npnpm run corpus:audit:external\n","bash",[815],{"type":55,"tag":63,"props":816,"children":817},{"__ignoreMap":107},[818,850,867],{"type":55,"tag":113,"props":819,"children":820},{"class":115,"line":116},[821,826,830,835,840,845],{"type":55,"tag":113,"props":822,"children":823},{"style":132},[824],{"type":60,"value":825},"MARKDOWN_CORPUS_DIRS",{"type":55,"tag":113,"props":827,"children":828},{"style":126},[829],{"type":60,"value":614},{"type":55,"tag":113,"props":831,"children":832},{"style":153},[833],{"type":60,"value":834},"..\u002Fsite\u002Fsrc\u002Fblog:..\u002Fsite\u002Fdocs",{"type":55,"tag":113,"props":836,"children":837},{"style":215},[838],{"type":60,"value":839}," pnpm",{"type":55,"tag":113,"props":841,"children":842},{"style":153},[843],{"type":60,"value":844}," run",{"type":55,"tag":113,"props":846,"children":847},{"style":153},[848],{"type":60,"value":849}," test:corpus\n",{"type":55,"tag":113,"props":851,"children":852},{"class":115,"line":164},[853,858,862],{"type":55,"tag":113,"props":854,"children":855},{"style":215},[856],{"type":60,"value":857},"pnpm",{"type":55,"tag":113,"props":859,"children":860},{"style":153},[861],{"type":60,"value":844},{"type":55,"tag":113,"props":863,"children":864},{"style":153},[865],{"type":60,"value":866}," corpus:audit:tanstack\n",{"type":55,"tag":113,"props":868,"children":869},{"class":115,"line":174},[870,874,878],{"type":55,"tag":113,"props":871,"children":872},{"style":215},[873],{"type":60,"value":857},{"type":55,"tag":113,"props":875,"children":876},{"style":153},[877],{"type":60,"value":844},{"type":55,"tag":113,"props":879,"children":880},{"style":153},[881],{"type":60,"value":882}," corpus:audit:external\n",{"type":55,"tag":56,"props":884,"children":885},{},[886],{"type":60,"value":887},"Fail condition: Adoption relies only on CommonMark examples or a comparison table instead of the site's Markdown.",{"type":55,"tag":56,"props":889,"children":890},{},[891],{"type":60,"value":892},"Fix: Add downstream content directories, preserve practical regressions with focused fixtures, and require renderer and bundle accounting for new syntax.",{"type":55,"tag":90,"props":894,"children":896},{"id":895},"check-verify-deterministic-output",[897],{"type":60,"value":898},"Check: Verify deterministic output",{"type":55,"tag":56,"props":900,"children":901},{},[902],{"type":60,"value":100},{"type":55,"tag":102,"props":904,"children":906},{"className":104,"code":905,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst source = '# Deterministic\\n\\n- one\\n- two'\nconst firstDocument = JSON.stringify(parseMarkdown(source))\nconst secondDocument = JSON.stringify(parseMarkdown(source))\nconst firstHtml = renderHtml(source)\nconst secondHtml = renderHtml(source)\n\nif (firstDocument !== secondDocument || firstHtml !== secondHtml) {\n  throw new Error('Markdown output is nondeterministic')\n}\n",[907],{"type":55,"tag":63,"props":908,"children":909},{"__ignoreMap":107},[910,945,982,989,1037,1082,1122,1147,1171,1178,1224,1264],{"type":55,"tag":113,"props":911,"children":912},{"class":115,"line":116},[913,917,921,925,929,933,937,941],{"type":55,"tag":113,"props":914,"children":915},{"style":120},[916],{"type":60,"value":123},{"type":55,"tag":113,"props":918,"children":919},{"style":126},[920],{"type":60,"value":129},{"type":55,"tag":113,"props":922,"children":923},{"style":132},[924],{"type":60,"value":135},{"type":55,"tag":113,"props":926,"children":927},{"style":126},[928],{"type":60,"value":140},{"type":55,"tag":113,"props":930,"children":931},{"style":120},[932],{"type":60,"value":145},{"type":55,"tag":113,"props":934,"children":935},{"style":126},[936],{"type":60,"value":150},{"type":55,"tag":113,"props":938,"children":939},{"style":153},[940],{"type":60,"value":156},{"type":55,"tag":113,"props":942,"children":943},{"style":126},[944],{"type":60,"value":161},{"type":55,"tag":113,"props":946,"children":947},{"class":115,"line":164},[948,952,956,961,965,969,973,978],{"type":55,"tag":113,"props":949,"children":950},{"style":120},[951],{"type":60,"value":123},{"type":55,"tag":113,"props":953,"children":954},{"style":126},[955],{"type":60,"value":129},{"type":55,"tag":113,"props":957,"children":958},{"style":132},[959],{"type":60,"value":960}," parseMarkdown",{"type":55,"tag":113,"props":962,"children":963},{"style":126},[964],{"type":60,"value":140},{"type":55,"tag":113,"props":966,"children":967},{"style":120},[968],{"type":60,"value":145},{"type":55,"tag":113,"props":970,"children":971},{"style":126},[972],{"type":60,"value":150},{"type":55,"tag":113,"props":974,"children":975},{"style":153},[976],{"type":60,"value":977},"@tanstack\u002Fmarkdown\u002Fparser",{"type":55,"tag":113,"props":979,"children":980},{"style":126},[981],{"type":60,"value":161},{"type":55,"tag":113,"props":983,"children":984},{"class":115,"line":174},[985],{"type":55,"tag":113,"props":986,"children":987},{"emptyLinePlaceholder":168},[988],{"type":60,"value":171},{"type":55,"tag":113,"props":990,"children":991},{"class":115,"line":200},[992,996,1001,1005,1009,1014,1019,1024,1028,1033],{"type":55,"tag":113,"props":993,"children":994},{"style":183},[995],{"type":60,"value":604},{"type":55,"tag":113,"props":997,"children":998},{"style":132},[999],{"type":60,"value":1000}," source ",{"type":55,"tag":113,"props":1002,"children":1003},{"style":126},[1004],{"type":60,"value":614},{"type":55,"tag":113,"props":1006,"children":1007},{"style":126},[1008],{"type":60,"value":150},{"type":55,"tag":113,"props":1010,"children":1011},{"style":153},[1012],{"type":60,"value":1013},"# Deterministic",{"type":55,"tag":113,"props":1015,"children":1016},{"style":132},[1017],{"type":60,"value":1018},"\\n\\n",{"type":55,"tag":113,"props":1020,"children":1021},{"style":153},[1022],{"type":60,"value":1023},"- one",{"type":55,"tag":113,"props":1025,"children":1026},{"style":132},[1027],{"type":60,"value":704},{"type":55,"tag":113,"props":1029,"children":1030},{"style":153},[1031],{"type":60,"value":1032},"- two",{"type":55,"tag":113,"props":1034,"children":1035},{"style":126},[1036],{"type":60,"value":161},{"type":55,"tag":113,"props":1038,"children":1039},{"class":115,"line":226},[1040,1044,1049,1053,1058,1063,1068,1072,1077],{"type":55,"tag":113,"props":1041,"children":1042},{"style":183},[1043],{"type":60,"value":604},{"type":55,"tag":113,"props":1045,"children":1046},{"style":132},[1047],{"type":60,"value":1048}," firstDocument ",{"type":55,"tag":113,"props":1050,"children":1051},{"style":126},[1052],{"type":60,"value":614},{"type":55,"tag":113,"props":1054,"children":1055},{"style":132},[1056],{"type":60,"value":1057}," JSON",{"type":55,"tag":113,"props":1059,"children":1060},{"style":126},[1061],{"type":60,"value":1062},".",{"type":55,"tag":113,"props":1064,"children":1065},{"style":189},[1066],{"type":60,"value":1067},"stringify",{"type":55,"tag":113,"props":1069,"children":1070},{"style":132},[1071],{"type":60,"value":319},{"type":55,"tag":113,"props":1073,"children":1074},{"style":189},[1075],{"type":60,"value":1076},"parseMarkdown",{"type":55,"tag":113,"props":1078,"children":1079},{"style":132},[1080],{"type":60,"value":1081},"(source))\n",{"type":55,"tag":113,"props":1083,"children":1084},{"class":115,"line":275},[1085,1089,1094,1098,1102,1106,1110,1114,1118],{"type":55,"tag":113,"props":1086,"children":1087},{"style":183},[1088],{"type":60,"value":604},{"type":55,"tag":113,"props":1090,"children":1091},{"style":132},[1092],{"type":60,"value":1093}," secondDocument ",{"type":55,"tag":113,"props":1095,"children":1096},{"style":126},[1097],{"type":60,"value":614},{"type":55,"tag":113,"props":1099,"children":1100},{"style":132},[1101],{"type":60,"value":1057},{"type":55,"tag":113,"props":1103,"children":1104},{"style":126},[1105],{"type":60,"value":1062},{"type":55,"tag":113,"props":1107,"children":1108},{"style":189},[1109],{"type":60,"value":1067},{"type":55,"tag":113,"props":1111,"children":1112},{"style":132},[1113],{"type":60,"value":319},{"type":55,"tag":113,"props":1115,"children":1116},{"style":189},[1117],{"type":60,"value":1076},{"type":55,"tag":113,"props":1119,"children":1120},{"style":132},[1121],{"type":60,"value":1081},{"type":55,"tag":113,"props":1123,"children":1124},{"class":115,"line":293},[1125,1129,1134,1138,1142],{"type":55,"tag":113,"props":1126,"children":1127},{"style":183},[1128],{"type":60,"value":604},{"type":55,"tag":113,"props":1130,"children":1131},{"style":132},[1132],{"type":60,"value":1133}," firstHtml ",{"type":55,"tag":113,"props":1135,"children":1136},{"style":126},[1137],{"type":60,"value":614},{"type":55,"tag":113,"props":1139,"children":1140},{"style":189},[1141],{"type":60,"value":135},{"type":55,"tag":113,"props":1143,"children":1144},{"style":132},[1145],{"type":60,"value":1146},"(source)\n",{"type":55,"tag":113,"props":1148,"children":1149},{"class":115,"line":332},[1150,1154,1159,1163,1167],{"type":55,"tag":113,"props":1151,"children":1152},{"style":183},[1153],{"type":60,"value":604},{"type":55,"tag":113,"props":1155,"children":1156},{"style":132},[1157],{"type":60,"value":1158}," secondHtml ",{"type":55,"tag":113,"props":1160,"children":1161},{"style":126},[1162],{"type":60,"value":614},{"type":55,"tag":113,"props":1164,"children":1165},{"style":189},[1166],{"type":60,"value":135},{"type":55,"tag":113,"props":1168,"children":1169},{"style":132},[1170],{"type":60,"value":1146},{"type":55,"tag":113,"props":1172,"children":1173},{"class":115,"line":20},[1174],{"type":55,"tag":113,"props":1175,"children":1176},{"emptyLinePlaceholder":168},[1177],{"type":60,"value":171},{"type":55,"tag":113,"props":1179,"children":1181},{"class":115,"line":1180},10,[1182,1187,1192,1197,1201,1206,1210,1214,1219],{"type":55,"tag":113,"props":1183,"children":1184},{"style":120},[1185],{"type":60,"value":1186},"if",{"type":55,"tag":113,"props":1188,"children":1189},{"style":132},[1190],{"type":60,"value":1191}," (firstDocument ",{"type":55,"tag":113,"props":1193,"children":1194},{"style":126},[1195],{"type":60,"value":1196},"!==",{"type":55,"tag":113,"props":1198,"children":1199},{"style":132},[1200],{"type":60,"value":1093},{"type":55,"tag":113,"props":1202,"children":1203},{"style":126},[1204],{"type":60,"value":1205},"||",{"type":55,"tag":113,"props":1207,"children":1208},{"style":132},[1209],{"type":60,"value":1133},{"type":55,"tag":113,"props":1211,"children":1212},{"style":126},[1213],{"type":60,"value":1196},{"type":55,"tag":113,"props":1215,"children":1216},{"style":132},[1217],{"type":60,"value":1218}," secondHtml) ",{"type":55,"tag":113,"props":1220,"children":1221},{"style":126},[1222],{"type":60,"value":1223},"{\n",{"type":55,"tag":113,"props":1225,"children":1227},{"class":115,"line":1226},11,[1228,1233,1238,1243,1247,1251,1256,1260],{"type":55,"tag":113,"props":1229,"children":1230},{"style":120},[1231],{"type":60,"value":1232},"  throw",{"type":55,"tag":113,"props":1234,"children":1235},{"style":126},[1236],{"type":60,"value":1237}," new",{"type":55,"tag":113,"props":1239,"children":1240},{"style":189},[1241],{"type":60,"value":1242}," Error",{"type":55,"tag":113,"props":1244,"children":1245},{"style":316},[1246],{"type":60,"value":319},{"type":55,"tag":113,"props":1248,"children":1249},{"style":126},[1250],{"type":60,"value":694},{"type":55,"tag":113,"props":1252,"children":1253},{"style":153},[1254],{"type":60,"value":1255},"Markdown output is nondeterministic",{"type":55,"tag":113,"props":1257,"children":1258},{"style":126},[1259],{"type":60,"value":694},{"type":55,"tag":113,"props":1261,"children":1262},{"style":316},[1263],{"type":60,"value":329},{"type":55,"tag":113,"props":1265,"children":1267},{"class":115,"line":1266},12,[1268],{"type":55,"tag":113,"props":1269,"children":1270},{"style":126},[1271],{"type":60,"value":364},{"type":55,"tag":56,"props":1273,"children":1274},{},[1275],{"type":60,"value":1276},"Fail condition: Identical source and options produce different serialized AST or HTML.",{"type":55,"tag":56,"props":1278,"children":1279},{},[1280],{"type":60,"value":1281},"Fix: Remove time, randomness, environment state, and unstable ordering from extensions and render callbacks.",{"type":55,"tag":83,"props":1283,"children":1285},{"id":1284},"performance-and-cache-checks",[1286],{"type":60,"value":1287},"Performance and Cache Checks",{"type":55,"tag":90,"props":1289,"children":1291},{"id":1290},"check-parse-once-with-final-options",[1292],{"type":60,"value":1293},"Check: Parse once with final options",{"type":55,"tag":56,"props":1295,"children":1296},{},[1297],{"type":60,"value":100},{"type":55,"tag":102,"props":1299,"children":1301},{"className":104,"code":1300,"language":106,"meta":107,"style":107},"import type { MarkdownDocument } from '@tanstack\u002Fmarkdown'\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst cache = new Map\u003Cstring, MarkdownDocument>()\n\nexport function renderCachedArticle(key: string, source: string): string {\n  const cacheKey = `markdown-0.0.12:${key}`\n  let document = cache.get(cacheKey)\n  if (!document) {\n    document = parseMarkdown(source, {\n      frontmatter: true,\n      headingIds: true,\n    })\n    cache.set(cacheKey, document)\n  }\n  return renderHtml(document)\n}\n",[1302],{"type":55,"tag":63,"props":1303,"children":1304},{"__ignoreMap":107},[1305,1346,1381,1416,1423,1476,1483,1545,1585,1629,1660,1692,1714,1735,1748,1786,1795,1819],{"type":55,"tag":113,"props":1306,"children":1307},{"class":115,"line":116},[1308,1312,1317,1321,1326,1330,1334,1338,1342],{"type":55,"tag":113,"props":1309,"children":1310},{"style":120},[1311],{"type":60,"value":123},{"type":55,"tag":113,"props":1313,"children":1314},{"style":120},[1315],{"type":60,"value":1316}," type",{"type":55,"tag":113,"props":1318,"children":1319},{"style":126},[1320],{"type":60,"value":129},{"type":55,"tag":113,"props":1322,"children":1323},{"style":132},[1324],{"type":60,"value":1325}," MarkdownDocument",{"type":55,"tag":113,"props":1327,"children":1328},{"style":126},[1329],{"type":60,"value":140},{"type":55,"tag":113,"props":1331,"children":1332},{"style":120},[1333],{"type":60,"value":145},{"type":55,"tag":113,"props":1335,"children":1336},{"style":126},[1337],{"type":60,"value":150},{"type":55,"tag":113,"props":1339,"children":1340},{"style":153},[1341],{"type":60,"value":35},{"type":55,"tag":113,"props":1343,"children":1344},{"style":126},[1345],{"type":60,"value":161},{"type":55,"tag":113,"props":1347,"children":1348},{"class":115,"line":164},[1349,1353,1357,1361,1365,1369,1373,1377],{"type":55,"tag":113,"props":1350,"children":1351},{"style":120},[1352],{"type":60,"value":123},{"type":55,"tag":113,"props":1354,"children":1355},{"style":126},[1356],{"type":60,"value":129},{"type":55,"tag":113,"props":1358,"children":1359},{"style":132},[1360],{"type":60,"value":135},{"type":55,"tag":113,"props":1362,"children":1363},{"style":126},[1364],{"type":60,"value":140},{"type":55,"tag":113,"props":1366,"children":1367},{"style":120},[1368],{"type":60,"value":145},{"type":55,"tag":113,"props":1370,"children":1371},{"style":126},[1372],{"type":60,"value":150},{"type":55,"tag":113,"props":1374,"children":1375},{"style":153},[1376],{"type":60,"value":156},{"type":55,"tag":113,"props":1378,"children":1379},{"style":126},[1380],{"type":60,"value":161},{"type":55,"tag":113,"props":1382,"children":1383},{"class":115,"line":174},[1384,1388,1392,1396,1400,1404,1408,1412],{"type":55,"tag":113,"props":1385,"children":1386},{"style":120},[1387],{"type":60,"value":123},{"type":55,"tag":113,"props":1389,"children":1390},{"style":126},[1391],{"type":60,"value":129},{"type":55,"tag":113,"props":1393,"children":1394},{"style":132},[1395],{"type":60,"value":960},{"type":55,"tag":113,"props":1397,"children":1398},{"style":126},[1399],{"type":60,"value":140},{"type":55,"tag":113,"props":1401,"children":1402},{"style":120},[1403],{"type":60,"value":145},{"type":55,"tag":113,"props":1405,"children":1406},{"style":126},[1407],{"type":60,"value":150},{"type":55,"tag":113,"props":1409,"children":1410},{"style":153},[1411],{"type":60,"value":977},{"type":55,"tag":113,"props":1413,"children":1414},{"style":126},[1415],{"type":60,"value":161},{"type":55,"tag":113,"props":1417,"children":1418},{"class":115,"line":200},[1419],{"type":55,"tag":113,"props":1420,"children":1421},{"emptyLinePlaceholder":168},[1422],{"type":60,"value":171},{"type":55,"tag":113,"props":1424,"children":1425},{"class":115,"line":226},[1426,1430,1435,1439,1443,1448,1453,1458,1462,1466,1471],{"type":55,"tag":113,"props":1427,"children":1428},{"style":183},[1429],{"type":60,"value":604},{"type":55,"tag":113,"props":1431,"children":1432},{"style":132},[1433],{"type":60,"value":1434}," cache ",{"type":55,"tag":113,"props":1436,"children":1437},{"style":126},[1438],{"type":60,"value":614},{"type":55,"tag":113,"props":1440,"children":1441},{"style":126},[1442],{"type":60,"value":1237},{"type":55,"tag":113,"props":1444,"children":1445},{"style":189},[1446],{"type":60,"value":1447}," Map",{"type":55,"tag":113,"props":1449,"children":1450},{"style":126},[1451],{"type":60,"value":1452},"\u003C",{"type":55,"tag":113,"props":1454,"children":1455},{"style":215},[1456],{"type":60,"value":1457},"string",{"type":55,"tag":113,"props":1459,"children":1460},{"style":126},[1461],{"type":60,"value":646},{"type":55,"tag":113,"props":1463,"children":1464},{"style":215},[1465],{"type":60,"value":1325},{"type":55,"tag":113,"props":1467,"children":1468},{"style":126},[1469],{"type":60,"value":1470},">",{"type":55,"tag":113,"props":1472,"children":1473},{"style":132},[1474],{"type":60,"value":1475},"()\n",{"type":55,"tag":113,"props":1477,"children":1478},{"class":115,"line":275},[1479],{"type":55,"tag":113,"props":1480,"children":1481},{"emptyLinePlaceholder":168},[1482],{"type":60,"value":171},{"type":55,"tag":113,"props":1484,"children":1485},{"class":115,"line":293},[1486,1490,1494,1499,1503,1508,1512,1516,1520,1525,1529,1533,1537,1541],{"type":55,"tag":113,"props":1487,"children":1488},{"style":120},[1489],{"type":60,"value":180},{"type":55,"tag":113,"props":1491,"children":1492},{"style":183},[1493],{"type":60,"value":186},{"type":55,"tag":113,"props":1495,"children":1496},{"style":189},[1497],{"type":60,"value":1498}," renderCachedArticle",{"type":55,"tag":113,"props":1500,"children":1501},{"style":126},[1502],{"type":60,"value":319},{"type":55,"tag":113,"props":1504,"children":1505},{"style":204},[1506],{"type":60,"value":1507},"key",{"type":55,"tag":113,"props":1509,"children":1510},{"style":126},[1511],{"type":60,"value":212},{"type":55,"tag":113,"props":1513,"children":1514},{"style":215},[1515],{"type":60,"value":218},{"type":55,"tag":113,"props":1517,"children":1518},{"style":126},[1519],{"type":60,"value":646},{"type":55,"tag":113,"props":1521,"children":1522},{"style":204},[1523],{"type":60,"value":1524}," source",{"type":55,"tag":113,"props":1526,"children":1527},{"style":126},[1528],{"type":60,"value":212},{"type":55,"tag":113,"props":1530,"children":1531},{"style":215},[1532],{"type":60,"value":218},{"type":55,"tag":113,"props":1534,"children":1535},{"style":126},[1536],{"type":60,"value":281},{"type":55,"tag":113,"props":1538,"children":1539},{"style":215},[1540],{"type":60,"value":218},{"type":55,"tag":113,"props":1542,"children":1543},{"style":126},[1544],{"type":60,"value":290},{"type":55,"tag":113,"props":1546,"children":1547},{"class":115,"line":332},[1548,1552,1557,1561,1566,1571,1576,1580],{"type":55,"tag":113,"props":1549,"children":1550},{"style":183},[1551],{"type":60,"value":299},{"type":55,"tag":113,"props":1553,"children":1554},{"style":132},[1555],{"type":60,"value":1556}," cacheKey",{"type":55,"tag":113,"props":1558,"children":1559},{"style":126},[1560],{"type":60,"value":309},{"type":55,"tag":113,"props":1562,"children":1563},{"style":126},[1564],{"type":60,"value":1565}," `",{"type":55,"tag":113,"props":1567,"children":1568},{"style":153},[1569],{"type":60,"value":1570},"markdown-0.0.12:",{"type":55,"tag":113,"props":1572,"children":1573},{"style":126},[1574],{"type":60,"value":1575},"${",{"type":55,"tag":113,"props":1577,"children":1578},{"style":132},[1579],{"type":60,"value":1507},{"type":55,"tag":113,"props":1581,"children":1582},{"style":126},[1583],{"type":60,"value":1584},"}`\n",{"type":55,"tag":113,"props":1586,"children":1587},{"class":115,"line":20},[1588,1593,1598,1602,1607,1611,1616,1620,1625],{"type":55,"tag":113,"props":1589,"children":1590},{"style":183},[1591],{"type":60,"value":1592},"  let",{"type":55,"tag":113,"props":1594,"children":1595},{"style":132},[1596],{"type":60,"value":1597}," document",{"type":55,"tag":113,"props":1599,"children":1600},{"style":126},[1601],{"type":60,"value":309},{"type":55,"tag":113,"props":1603,"children":1604},{"style":132},[1605],{"type":60,"value":1606}," cache",{"type":55,"tag":113,"props":1608,"children":1609},{"style":126},[1610],{"type":60,"value":1062},{"type":55,"tag":113,"props":1612,"children":1613},{"style":189},[1614],{"type":60,"value":1615},"get",{"type":55,"tag":113,"props":1617,"children":1618},{"style":316},[1619],{"type":60,"value":319},{"type":55,"tag":113,"props":1621,"children":1622},{"style":132},[1623],{"type":60,"value":1624},"cacheKey",{"type":55,"tag":113,"props":1626,"children":1627},{"style":316},[1628],{"type":60,"value":329},{"type":55,"tag":113,"props":1630,"children":1631},{"class":115,"line":1180},[1632,1637,1641,1646,1651,1656],{"type":55,"tag":113,"props":1633,"children":1634},{"style":120},[1635],{"type":60,"value":1636},"  if",{"type":55,"tag":113,"props":1638,"children":1639},{"style":316},[1640],{"type":60,"value":241},{"type":55,"tag":113,"props":1642,"children":1643},{"style":126},[1644],{"type":60,"value":1645},"!",{"type":55,"tag":113,"props":1647,"children":1648},{"style":132},[1649],{"type":60,"value":1650},"document",{"type":55,"tag":113,"props":1652,"children":1653},{"style":316},[1654],{"type":60,"value":1655},") ",{"type":55,"tag":113,"props":1657,"children":1658},{"style":126},[1659],{"type":60,"value":1223},{"type":55,"tag":113,"props":1661,"children":1662},{"class":115,"line":1226},[1663,1668,1672,1676,1680,1684,1688],{"type":55,"tag":113,"props":1664,"children":1665},{"style":132},[1666],{"type":60,"value":1667},"    document",{"type":55,"tag":113,"props":1669,"children":1670},{"style":126},[1671],{"type":60,"value":309},{"type":55,"tag":113,"props":1673,"children":1674},{"style":189},[1675],{"type":60,"value":960},{"type":55,"tag":113,"props":1677,"children":1678},{"style":316},[1679],{"type":60,"value":319},{"type":55,"tag":113,"props":1681,"children":1682},{"style":132},[1683],{"type":60,"value":324},{"type":55,"tag":113,"props":1685,"children":1686},{"style":126},[1687],{"type":60,"value":646},{"type":55,"tag":113,"props":1689,"children":1690},{"style":126},[1691],{"type":60,"value":290},{"type":55,"tag":113,"props":1693,"children":1694},{"class":115,"line":1266},[1695,1700,1704,1710],{"type":55,"tag":113,"props":1696,"children":1697},{"style":316},[1698],{"type":60,"value":1699},"      frontmatter",{"type":55,"tag":113,"props":1701,"children":1702},{"style":126},[1703],{"type":60,"value":212},{"type":55,"tag":113,"props":1705,"children":1707},{"style":1706},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1708],{"type":60,"value":1709}," true",{"type":55,"tag":113,"props":1711,"children":1712},{"style":126},[1713],{"type":60,"value":223},{"type":55,"tag":113,"props":1715,"children":1717},{"class":115,"line":1716},13,[1718,1723,1727,1731],{"type":55,"tag":113,"props":1719,"children":1720},{"style":316},[1721],{"type":60,"value":1722},"      headingIds",{"type":55,"tag":113,"props":1724,"children":1725},{"style":126},[1726],{"type":60,"value":212},{"type":55,"tag":113,"props":1728,"children":1729},{"style":1706},[1730],{"type":60,"value":1709},{"type":55,"tag":113,"props":1732,"children":1733},{"style":126},[1734],{"type":60,"value":223},{"type":55,"tag":113,"props":1736,"children":1738},{"class":115,"line":1737},14,[1739,1744],{"type":55,"tag":113,"props":1740,"children":1741},{"style":126},[1742],{"type":60,"value":1743},"    }",{"type":55,"tag":113,"props":1745,"children":1746},{"style":316},[1747],{"type":60,"value":329},{"type":55,"tag":113,"props":1749,"children":1751},{"class":115,"line":1750},15,[1752,1757,1761,1766,1770,1774,1778,1782],{"type":55,"tag":113,"props":1753,"children":1754},{"style":132},[1755],{"type":60,"value":1756},"    cache",{"type":55,"tag":113,"props":1758,"children":1759},{"style":126},[1760],{"type":60,"value":1062},{"type":55,"tag":113,"props":1762,"children":1763},{"style":189},[1764],{"type":60,"value":1765},"set",{"type":55,"tag":113,"props":1767,"children":1768},{"style":316},[1769],{"type":60,"value":319},{"type":55,"tag":113,"props":1771,"children":1772},{"style":132},[1773],{"type":60,"value":1624},{"type":55,"tag":113,"props":1775,"children":1776},{"style":126},[1777],{"type":60,"value":646},{"type":55,"tag":113,"props":1779,"children":1780},{"style":132},[1781],{"type":60,"value":1597},{"type":55,"tag":113,"props":1783,"children":1784},{"style":316},[1785],{"type":60,"value":329},{"type":55,"tag":113,"props":1787,"children":1789},{"class":115,"line":1788},16,[1790],{"type":55,"tag":113,"props":1791,"children":1792},{"style":126},[1793],{"type":60,"value":1794},"  }\n",{"type":55,"tag":113,"props":1796,"children":1798},{"class":115,"line":1797},17,[1799,1803,1807,1811,1815],{"type":55,"tag":113,"props":1800,"children":1801},{"style":120},[1802],{"type":60,"value":338},{"type":55,"tag":113,"props":1804,"children":1805},{"style":189},[1806],{"type":60,"value":135},{"type":55,"tag":113,"props":1808,"children":1809},{"style":316},[1810],{"type":60,"value":319},{"type":55,"tag":113,"props":1812,"children":1813},{"style":132},[1814],{"type":60,"value":1650},{"type":55,"tag":113,"props":1816,"children":1817},{"style":316},[1818],{"type":60,"value":329},{"type":55,"tag":113,"props":1820,"children":1822},{"class":115,"line":1821},18,[1823],{"type":55,"tag":113,"props":1824,"children":1825},{"style":126},[1826],{"type":60,"value":364},{"type":55,"tag":56,"props":1828,"children":1829},{},[1830],{"type":60,"value":1831},"Fail condition: Stable content is reparsed per request, or parser options\u002Fextensions change after the AST is cached.",{"type":55,"tag":56,"props":1833,"children":1834},{},[1835],{"type":60,"value":1836},"Fix: Build the AST with final parse options, version persisted cache keys, invalidate stored ASTs when node contracts change, and use only narrow entry points.",{"type":55,"tag":90,"props":1838,"children":1840},{"id":1839},"check-enforce-bundle-budgets",[1841],{"type":60,"value":1842},"Check: Enforce bundle budgets",{"type":55,"tag":56,"props":1844,"children":1845},{},[1846],{"type":60,"value":100},{"type":55,"tag":102,"props":1848,"children":1850},{"className":811,"code":1849,"language":813,"meta":107,"style":107},"pnpm run size\npnpm test -- tests\u002Fbundle-size.test.ts\n",[1851],{"type":55,"tag":63,"props":1852,"children":1853},{"__ignoreMap":107},[1854,1870],{"type":55,"tag":113,"props":1855,"children":1856},{"class":115,"line":116},[1857,1861,1865],{"type":55,"tag":113,"props":1858,"children":1859},{"style":215},[1860],{"type":60,"value":857},{"type":55,"tag":113,"props":1862,"children":1863},{"style":153},[1864],{"type":60,"value":844},{"type":55,"tag":113,"props":1866,"children":1867},{"style":153},[1868],{"type":60,"value":1869}," size\n",{"type":55,"tag":113,"props":1871,"children":1872},{"class":115,"line":164},[1873,1877,1882,1887],{"type":55,"tag":113,"props":1874,"children":1875},{"style":215},[1876],{"type":60,"value":857},{"type":55,"tag":113,"props":1878,"children":1879},{"style":153},[1880],{"type":60,"value":1881}," test",{"type":55,"tag":113,"props":1883,"children":1884},{"style":153},[1885],{"type":60,"value":1886}," --",{"type":55,"tag":113,"props":1888,"children":1889},{"style":153},[1890],{"type":60,"value":1891}," tests\u002Fbundle-size.test.ts\n",{"type":55,"tag":56,"props":1893,"children":1894},{},[1895],{"type":60,"value":1896},"Fail condition: Any measured entry exceeds its checked gzip budget or starts bundling a highlighter.",{"type":55,"tag":56,"props":1898,"children":1899},{},[1900],{"type":60,"value":1901},"Fix: Inspect the bundle diff and justify any syntax or dependency cost before adjusting a budget.",{"type":55,"tag":83,"props":1903,"children":1905},{"id":1904},"release-checks",[1906],{"type":60,"value":1907},"Release Checks",{"type":55,"tag":90,"props":1909,"children":1911},{"id":1910},"check-run-the-complete-package-gate",[1912],{"type":60,"value":1913},"Check: Run the complete package gate",{"type":55,"tag":56,"props":1915,"children":1916},{},[1917],{"type":60,"value":100},{"type":55,"tag":102,"props":1919,"children":1921},{"className":811,"code":1920,"language":813,"meta":107,"style":107},"pnpm run verify\n",[1922],{"type":55,"tag":63,"props":1923,"children":1924},{"__ignoreMap":107},[1925],{"type":55,"tag":113,"props":1926,"children":1927},{"class":115,"line":116},[1928,1932,1936],{"type":55,"tag":113,"props":1929,"children":1930},{"style":215},[1931],{"type":60,"value":857},{"type":55,"tag":113,"props":1933,"children":1934},{"style":153},[1935],{"type":60,"value":844},{"type":55,"tag":113,"props":1937,"children":1938},{"style":153},[1939],{"type":60,"value":1940}," verify\n",{"type":55,"tag":56,"props":1942,"children":1943},{},[1944],{"type":60,"value":1945},"Fail condition: Tests, typechecking, build, docs validation, conformance accounting, sizes, benchmarks, or the npm dry run fail.",{"type":55,"tag":56,"props":1947,"children":1948},{},[1949],{"type":60,"value":1950},"Fix: Resolve every gate before publishing, including HTML\u002FReact\u002FOctane parity; audit raw HTML, highlighter output, HTML hooks, and component replacements separately.",{"type":55,"tag":83,"props":1952,"children":1954},{"id":1953},"common-production-mistakes",[1955],{"type":60,"value":1956},"Common Production Mistakes",{"type":55,"tag":90,"props":1958,"children":1960},{"id":1959},"critical-enabling-html-for-untrusted-markdown",[1961],{"type":60,"value":1962},"CRITICAL Enabling HTML for untrusted Markdown",{"type":55,"tag":56,"props":1964,"children":1965},{},[1966],{"type":60,"value":1967},"Wrong:",{"type":55,"tag":102,"props":1969,"children":1971},{"className":104,"code":1970,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderComment(source: string): string {\n  return renderHtml(source, { allowHtml: true })\n}\n",[1972],{"type":55,"tag":63,"props":1973,"children":1974},{"__ignoreMap":107},[1975,2010,2017,2061,2109],{"type":55,"tag":113,"props":1976,"children":1977},{"class":115,"line":116},[1978,1982,1986,1990,1994,1998,2002,2006],{"type":55,"tag":113,"props":1979,"children":1980},{"style":120},[1981],{"type":60,"value":123},{"type":55,"tag":113,"props":1983,"children":1984},{"style":126},[1985],{"type":60,"value":129},{"type":55,"tag":113,"props":1987,"children":1988},{"style":132},[1989],{"type":60,"value":135},{"type":55,"tag":113,"props":1991,"children":1992},{"style":126},[1993],{"type":60,"value":140},{"type":55,"tag":113,"props":1995,"children":1996},{"style":120},[1997],{"type":60,"value":145},{"type":55,"tag":113,"props":1999,"children":2000},{"style":126},[2001],{"type":60,"value":150},{"type":55,"tag":113,"props":2003,"children":2004},{"style":153},[2005],{"type":60,"value":156},{"type":55,"tag":113,"props":2007,"children":2008},{"style":126},[2009],{"type":60,"value":161},{"type":55,"tag":113,"props":2011,"children":2012},{"class":115,"line":164},[2013],{"type":55,"tag":113,"props":2014,"children":2015},{"emptyLinePlaceholder":168},[2016],{"type":60,"value":171},{"type":55,"tag":113,"props":2018,"children":2019},{"class":115,"line":174},[2020,2024,2028,2033,2037,2041,2045,2049,2053,2057],{"type":55,"tag":113,"props":2021,"children":2022},{"style":120},[2023],{"type":60,"value":180},{"type":55,"tag":113,"props":2025,"children":2026},{"style":183},[2027],{"type":60,"value":186},{"type":55,"tag":113,"props":2029,"children":2030},{"style":189},[2031],{"type":60,"value":2032}," renderComment",{"type":55,"tag":113,"props":2034,"children":2035},{"style":126},[2036],{"type":60,"value":319},{"type":55,"tag":113,"props":2038,"children":2039},{"style":204},[2040],{"type":60,"value":324},{"type":55,"tag":113,"props":2042,"children":2043},{"style":126},[2044],{"type":60,"value":212},{"type":55,"tag":113,"props":2046,"children":2047},{"style":215},[2048],{"type":60,"value":218},{"type":55,"tag":113,"props":2050,"children":2051},{"style":126},[2052],{"type":60,"value":281},{"type":55,"tag":113,"props":2054,"children":2055},{"style":215},[2056],{"type":60,"value":218},{"type":55,"tag":113,"props":2058,"children":2059},{"style":126},[2060],{"type":60,"value":290},{"type":55,"tag":113,"props":2062,"children":2063},{"class":115,"line":200},[2064,2068,2072,2076,2080,2084,2088,2093,2097,2101,2105],{"type":55,"tag":113,"props":2065,"children":2066},{"style":120},[2067],{"type":60,"value":338},{"type":55,"tag":113,"props":2069,"children":2070},{"style":189},[2071],{"type":60,"value":135},{"type":55,"tag":113,"props":2073,"children":2074},{"style":316},[2075],{"type":60,"value":319},{"type":55,"tag":113,"props":2077,"children":2078},{"style":132},[2079],{"type":60,"value":324},{"type":55,"tag":113,"props":2081,"children":2082},{"style":126},[2083],{"type":60,"value":646},{"type":55,"tag":113,"props":2085,"children":2086},{"style":126},[2087],{"type":60,"value":129},{"type":55,"tag":113,"props":2089,"children":2090},{"style":316},[2091],{"type":60,"value":2092}," allowHtml",{"type":55,"tag":113,"props":2094,"children":2095},{"style":126},[2096],{"type":60,"value":212},{"type":55,"tag":113,"props":2098,"children":2099},{"style":1706},[2100],{"type":60,"value":1709},{"type":55,"tag":113,"props":2102,"children":2103},{"style":126},[2104],{"type":60,"value":140},{"type":55,"tag":113,"props":2106,"children":2107},{"style":316},[2108],{"type":60,"value":329},{"type":55,"tag":113,"props":2110,"children":2111},{"class":115,"line":226},[2112],{"type":55,"tag":113,"props":2113,"children":2114},{"style":126},[2115],{"type":60,"value":364},{"type":55,"tag":56,"props":2117,"children":2118},{},[2119],{"type":60,"value":2120},"Correct:",{"type":55,"tag":102,"props":2122,"children":2124},{"className":104,"code":2123,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderComment(source: string): string {\n  return renderHtml(source)\n}\n",[2125],{"type":55,"tag":63,"props":2126,"children":2127},{"__ignoreMap":107},[2128,2163,2170,2213,2236],{"type":55,"tag":113,"props":2129,"children":2130},{"class":115,"line":116},[2131,2135,2139,2143,2147,2151,2155,2159],{"type":55,"tag":113,"props":2132,"children":2133},{"style":120},[2134],{"type":60,"value":123},{"type":55,"tag":113,"props":2136,"children":2137},{"style":126},[2138],{"type":60,"value":129},{"type":55,"tag":113,"props":2140,"children":2141},{"style":132},[2142],{"type":60,"value":135},{"type":55,"tag":113,"props":2144,"children":2145},{"style":126},[2146],{"type":60,"value":140},{"type":55,"tag":113,"props":2148,"children":2149},{"style":120},[2150],{"type":60,"value":145},{"type":55,"tag":113,"props":2152,"children":2153},{"style":126},[2154],{"type":60,"value":150},{"type":55,"tag":113,"props":2156,"children":2157},{"style":153},[2158],{"type":60,"value":156},{"type":55,"tag":113,"props":2160,"children":2161},{"style":126},[2162],{"type":60,"value":161},{"type":55,"tag":113,"props":2164,"children":2165},{"class":115,"line":164},[2166],{"type":55,"tag":113,"props":2167,"children":2168},{"emptyLinePlaceholder":168},[2169],{"type":60,"value":171},{"type":55,"tag":113,"props":2171,"children":2172},{"class":115,"line":174},[2173,2177,2181,2185,2189,2193,2197,2201,2205,2209],{"type":55,"tag":113,"props":2174,"children":2175},{"style":120},[2176],{"type":60,"value":180},{"type":55,"tag":113,"props":2178,"children":2179},{"style":183},[2180],{"type":60,"value":186},{"type":55,"tag":113,"props":2182,"children":2183},{"style":189},[2184],{"type":60,"value":2032},{"type":55,"tag":113,"props":2186,"children":2187},{"style":126},[2188],{"type":60,"value":319},{"type":55,"tag":113,"props":2190,"children":2191},{"style":204},[2192],{"type":60,"value":324},{"type":55,"tag":113,"props":2194,"children":2195},{"style":126},[2196],{"type":60,"value":212},{"type":55,"tag":113,"props":2198,"children":2199},{"style":215},[2200],{"type":60,"value":218},{"type":55,"tag":113,"props":2202,"children":2203},{"style":126},[2204],{"type":60,"value":281},{"type":55,"tag":113,"props":2206,"children":2207},{"style":215},[2208],{"type":60,"value":218},{"type":55,"tag":113,"props":2210,"children":2211},{"style":126},[2212],{"type":60,"value":290},{"type":55,"tag":113,"props":2214,"children":2215},{"class":115,"line":200},[2216,2220,2224,2228,2232],{"type":55,"tag":113,"props":2217,"children":2218},{"style":120},[2219],{"type":60,"value":338},{"type":55,"tag":113,"props":2221,"children":2222},{"style":189},[2223],{"type":60,"value":135},{"type":55,"tag":113,"props":2225,"children":2226},{"style":316},[2227],{"type":60,"value":319},{"type":55,"tag":113,"props":2229,"children":2230},{"style":132},[2231],{"type":60,"value":324},{"type":55,"tag":113,"props":2233,"children":2234},{"style":316},[2235],{"type":60,"value":329},{"type":55,"tag":113,"props":2237,"children":2238},{"class":115,"line":226},[2239],{"type":55,"tag":113,"props":2240,"children":2241},{"style":126},[2242],{"type":60,"value":364},{"type":55,"tag":56,"props":2244,"children":2245},{},[2246,2251],{"type":55,"tag":63,"props":2247,"children":2249},{"className":2248},[],[2250],{"type":60,"value":375},{"type":60,"value":2252}," emits raw nodes and is not a sanitization step.",{"type":55,"tag":56,"props":2254,"children":2255},{},[2256,2258],{"type":60,"value":2257},"Source: ",{"type":55,"tag":63,"props":2259,"children":2261},{"className":2260},[],[2262],{"type":60,"value":2263},"docs\u002Fcore-concepts\u002Fsecurity.md",{"type":55,"tag":90,"props":2265,"children":2267},{"id":2266},"high-returning-highlighter-containers",[2268],{"type":60,"value":2269},"HIGH Returning highlighter containers",{"type":55,"tag":56,"props":2271,"children":2272},{},[2273],{"type":60,"value":1967},{"type":55,"tag":102,"props":2275,"children":2277},{"className":104,"code":2276,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nfunction escapeCode(code: string): string {\n  return code.replace(\u002F[&\u003C>]\u002Fg, (character) => ({\n    '&': '&amp;',\n    '\u003C': '&lt;',\n    '>': '&gt;',\n  })[character] ?? character)\n}\n\nconsole.log(renderHtml('```ts\\nconst x = 1\\n```', {\n  highlighter: (code) => `\u003Cpre>\u003Ccode>${escapeCode(code)}\u003C\u002Fcode>\u003C\u002Fpre>`,\n}))\n",[2278],{"type":55,"tag":63,"props":2279,"children":2280},{"__ignoreMap":107},[2281,2316,2323,2364,2439,2477,2513,2549,2585,2592,2599,2666,2733],{"type":55,"tag":113,"props":2282,"children":2283},{"class":115,"line":116},[2284,2288,2292,2296,2300,2304,2308,2312],{"type":55,"tag":113,"props":2285,"children":2286},{"style":120},[2287],{"type":60,"value":123},{"type":55,"tag":113,"props":2289,"children":2290},{"style":126},[2291],{"type":60,"value":129},{"type":55,"tag":113,"props":2293,"children":2294},{"style":132},[2295],{"type":60,"value":135},{"type":55,"tag":113,"props":2297,"children":2298},{"style":126},[2299],{"type":60,"value":140},{"type":55,"tag":113,"props":2301,"children":2302},{"style":120},[2303],{"type":60,"value":145},{"type":55,"tag":113,"props":2305,"children":2306},{"style":126},[2307],{"type":60,"value":150},{"type":55,"tag":113,"props":2309,"children":2310},{"style":153},[2311],{"type":60,"value":156},{"type":55,"tag":113,"props":2313,"children":2314},{"style":126},[2315],{"type":60,"value":161},{"type":55,"tag":113,"props":2317,"children":2318},{"class":115,"line":164},[2319],{"type":55,"tag":113,"props":2320,"children":2321},{"emptyLinePlaceholder":168},[2322],{"type":60,"value":171},{"type":55,"tag":113,"props":2324,"children":2325},{"class":115,"line":174},[2326,2331,2336,2340,2344,2348,2352,2356,2360],{"type":55,"tag":113,"props":2327,"children":2328},{"style":183},[2329],{"type":60,"value":2330},"function",{"type":55,"tag":113,"props":2332,"children":2333},{"style":189},[2334],{"type":60,"value":2335}," escapeCode",{"type":55,"tag":113,"props":2337,"children":2338},{"style":126},[2339],{"type":60,"value":319},{"type":55,"tag":113,"props":2341,"children":2342},{"style":204},[2343],{"type":60,"value":63},{"type":55,"tag":113,"props":2345,"children":2346},{"style":126},[2347],{"type":60,"value":212},{"type":55,"tag":113,"props":2349,"children":2350},{"style":215},[2351],{"type":60,"value":218},{"type":55,"tag":113,"props":2353,"children":2354},{"style":126},[2355],{"type":60,"value":281},{"type":55,"tag":113,"props":2357,"children":2358},{"style":215},[2359],{"type":60,"value":218},{"type":55,"tag":113,"props":2361,"children":2362},{"style":126},[2363],{"type":60,"value":290},{"type":55,"tag":113,"props":2365,"children":2366},{"class":115,"line":200},[2367,2371,2376,2380,2385,2389,2394,2399,2404,2410,2414,2418,2423,2427,2431,2435],{"type":55,"tag":113,"props":2368,"children":2369},{"style":120},[2370],{"type":60,"value":338},{"type":55,"tag":113,"props":2372,"children":2373},{"style":132},[2374],{"type":60,"value":2375}," code",{"type":55,"tag":113,"props":2377,"children":2378},{"style":126},[2379],{"type":60,"value":1062},{"type":55,"tag":113,"props":2381,"children":2382},{"style":189},[2383],{"type":60,"value":2384},"replace",{"type":55,"tag":113,"props":2386,"children":2387},{"style":316},[2388],{"type":60,"value":319},{"type":55,"tag":113,"props":2390,"children":2391},{"style":126},[2392],{"type":60,"value":2393},"\u002F[",{"type":55,"tag":113,"props":2395,"children":2396},{"style":153},[2397],{"type":60,"value":2398},"&\u003C>",{"type":55,"tag":113,"props":2400,"children":2401},{"style":126},[2402],{"type":60,"value":2403},"]\u002F",{"type":55,"tag":113,"props":2405,"children":2407},{"style":2406},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[2408],{"type":60,"value":2409},"g",{"type":55,"tag":113,"props":2411,"children":2412},{"style":126},[2413],{"type":60,"value":646},{"type":55,"tag":113,"props":2415,"children":2416},{"style":126},[2417],{"type":60,"value":241},{"type":55,"tag":113,"props":2419,"children":2420},{"style":204},[2421],{"type":60,"value":2422},"character",{"type":55,"tag":113,"props":2424,"children":2425},{"style":126},[2426],{"type":60,"value":259},{"type":55,"tag":113,"props":2428,"children":2429},{"style":183},[2430],{"type":60,"value":264},{"type":55,"tag":113,"props":2432,"children":2433},{"style":316},[2434],{"type":60,"value":241},{"type":55,"tag":113,"props":2436,"children":2437},{"style":126},[2438],{"type":60,"value":1223},{"type":55,"tag":113,"props":2440,"children":2441},{"class":115,"line":226},[2442,2447,2452,2456,2460,2464,2469,2473],{"type":55,"tag":113,"props":2443,"children":2444},{"style":126},[2445],{"type":60,"value":2446},"    '",{"type":55,"tag":113,"props":2448,"children":2449},{"style":316},[2450],{"type":60,"value":2451},"&",{"type":55,"tag":113,"props":2453,"children":2454},{"style":126},[2455],{"type":60,"value":694},{"type":55,"tag":113,"props":2457,"children":2458},{"style":126},[2459],{"type":60,"value":212},{"type":55,"tag":113,"props":2461,"children":2462},{"style":126},[2463],{"type":60,"value":150},{"type":55,"tag":113,"props":2465,"children":2466},{"style":153},[2467],{"type":60,"value":2468},"&amp;",{"type":55,"tag":113,"props":2470,"children":2471},{"style":126},[2472],{"type":60,"value":694},{"type":55,"tag":113,"props":2474,"children":2475},{"style":126},[2476],{"type":60,"value":223},{"type":55,"tag":113,"props":2478,"children":2479},{"class":115,"line":275},[2480,2484,2488,2492,2496,2500,2505,2509],{"type":55,"tag":113,"props":2481,"children":2482},{"style":126},[2483],{"type":60,"value":2446},{"type":55,"tag":113,"props":2485,"children":2486},{"style":316},[2487],{"type":60,"value":1452},{"type":55,"tag":113,"props":2489,"children":2490},{"style":126},[2491],{"type":60,"value":694},{"type":55,"tag":113,"props":2493,"children":2494},{"style":126},[2495],{"type":60,"value":212},{"type":55,"tag":113,"props":2497,"children":2498},{"style":126},[2499],{"type":60,"value":150},{"type":55,"tag":113,"props":2501,"children":2502},{"style":153},[2503],{"type":60,"value":2504},"&lt;",{"type":55,"tag":113,"props":2506,"children":2507},{"style":126},[2508],{"type":60,"value":694},{"type":55,"tag":113,"props":2510,"children":2511},{"style":126},[2512],{"type":60,"value":223},{"type":55,"tag":113,"props":2514,"children":2515},{"class":115,"line":293},[2516,2520,2524,2528,2532,2536,2541,2545],{"type":55,"tag":113,"props":2517,"children":2518},{"style":126},[2519],{"type":60,"value":2446},{"type":55,"tag":113,"props":2521,"children":2522},{"style":316},[2523],{"type":60,"value":1470},{"type":55,"tag":113,"props":2525,"children":2526},{"style":126},[2527],{"type":60,"value":694},{"type":55,"tag":113,"props":2529,"children":2530},{"style":126},[2531],{"type":60,"value":212},{"type":55,"tag":113,"props":2533,"children":2534},{"style":126},[2535],{"type":60,"value":150},{"type":55,"tag":113,"props":2537,"children":2538},{"style":153},[2539],{"type":60,"value":2540},"&gt;",{"type":55,"tag":113,"props":2542,"children":2543},{"style":126},[2544],{"type":60,"value":694},{"type":55,"tag":113,"props":2546,"children":2547},{"style":126},[2548],{"type":60,"value":223},{"type":55,"tag":113,"props":2550,"children":2551},{"class":115,"line":332},[2552,2557,2562,2566,2571,2576,2581],{"type":55,"tag":113,"props":2553,"children":2554},{"style":126},[2555],{"type":60,"value":2556},"  }",{"type":55,"tag":113,"props":2558,"children":2559},{"style":316},[2560],{"type":60,"value":2561},")[",{"type":55,"tag":113,"props":2563,"children":2564},{"style":132},[2565],{"type":60,"value":2422},{"type":55,"tag":113,"props":2567,"children":2568},{"style":316},[2569],{"type":60,"value":2570},"] ",{"type":55,"tag":113,"props":2572,"children":2573},{"style":126},[2574],{"type":60,"value":2575},"??",{"type":55,"tag":113,"props":2577,"children":2578},{"style":132},[2579],{"type":60,"value":2580}," character",{"type":55,"tag":113,"props":2582,"children":2583},{"style":316},[2584],{"type":60,"value":329},{"type":55,"tag":113,"props":2586,"children":2587},{"class":115,"line":20},[2588],{"type":55,"tag":113,"props":2589,"children":2590},{"style":126},[2591],{"type":60,"value":364},{"type":55,"tag":113,"props":2593,"children":2594},{"class":115,"line":1180},[2595],{"type":55,"tag":113,"props":2596,"children":2597},{"emptyLinePlaceholder":168},[2598],{"type":60,"value":171},{"type":55,"tag":113,"props":2600,"children":2601},{"class":115,"line":1226},[2602,2607,2611,2616,2620,2624,2628,2632,2637,2641,2646,2650,2654,2658,2662],{"type":55,"tag":113,"props":2603,"children":2604},{"style":132},[2605],{"type":60,"value":2606},"console",{"type":55,"tag":113,"props":2608,"children":2609},{"style":126},[2610],{"type":60,"value":1062},{"type":55,"tag":113,"props":2612,"children":2613},{"style":189},[2614],{"type":60,"value":2615},"log",{"type":55,"tag":113,"props":2617,"children":2618},{"style":132},[2619],{"type":60,"value":319},{"type":55,"tag":113,"props":2621,"children":2622},{"style":189},[2623],{"type":60,"value":383},{"type":55,"tag":113,"props":2625,"children":2626},{"style":132},[2627],{"type":60,"value":319},{"type":55,"tag":113,"props":2629,"children":2630},{"style":126},[2631],{"type":60,"value":694},{"type":55,"tag":113,"props":2633,"children":2634},{"style":153},[2635],{"type":60,"value":2636},"```ts",{"type":55,"tag":113,"props":2638,"children":2639},{"style":132},[2640],{"type":60,"value":704},{"type":55,"tag":113,"props":2642,"children":2643},{"style":153},[2644],{"type":60,"value":2645},"const x = 1",{"type":55,"tag":113,"props":2647,"children":2648},{"style":132},[2649],{"type":60,"value":704},{"type":55,"tag":113,"props":2651,"children":2652},{"style":153},[2653],{"type":60,"value":718},{"type":55,"tag":113,"props":2655,"children":2656},{"style":126},[2657],{"type":60,"value":694},{"type":55,"tag":113,"props":2659,"children":2660},{"style":126},[2661],{"type":60,"value":646},{"type":55,"tag":113,"props":2663,"children":2664},{"style":126},[2665],{"type":60,"value":290},{"type":55,"tag":113,"props":2667,"children":2668},{"class":115,"line":1266},[2669,2673,2677,2681,2685,2689,2693,2697,2701,2705,2710,2715,2719,2724,2729],{"type":55,"tag":113,"props":2670,"children":2671},{"style":189},[2672],{"type":60,"value":738},{"type":55,"tag":113,"props":2674,"children":2675},{"style":126},[2676],{"type":60,"value":212},{"type":55,"tag":113,"props":2678,"children":2679},{"style":126},[2680],{"type":60,"value":241},{"type":55,"tag":113,"props":2682,"children":2683},{"style":204},[2684],{"type":60,"value":63},{"type":55,"tag":113,"props":2686,"children":2687},{"style":126},[2688],{"type":60,"value":259},{"type":55,"tag":113,"props":2690,"children":2691},{"style":183},[2692],{"type":60,"value":264},{"type":55,"tag":113,"props":2694,"children":2695},{"style":126},[2696],{"type":60,"value":1565},{"type":55,"tag":113,"props":2698,"children":2699},{"style":153},[2700],{"type":60,"value":777},{"type":55,"tag":113,"props":2702,"children":2703},{"style":126},[2704],{"type":60,"value":1575},{"type":55,"tag":113,"props":2706,"children":2707},{"style":189},[2708],{"type":60,"value":2709},"escapeCode",{"type":55,"tag":113,"props":2711,"children":2712},{"style":132},[2713],{"type":60,"value":2714},"(code)",{"type":55,"tag":113,"props":2716,"children":2717},{"style":126},[2718],{"type":60,"value":656},{"type":55,"tag":113,"props":2720,"children":2721},{"style":153},[2722],{"type":60,"value":2723},"\u003C\u002Fcode>\u003C\u002Fpre>",{"type":55,"tag":113,"props":2725,"children":2726},{"style":126},[2727],{"type":60,"value":2728},"`",{"type":55,"tag":113,"props":2730,"children":2731},{"style":126},[2732],{"type":60,"value":223},{"type":55,"tag":113,"props":2734,"children":2735},{"class":115,"line":1716},[2736,2740],{"type":55,"tag":113,"props":2737,"children":2738},{"style":126},[2739],{"type":60,"value":656},{"type":55,"tag":113,"props":2741,"children":2742},{"style":132},[2743],{"type":60,"value":2744},"))\n",{"type":55,"tag":56,"props":2746,"children":2747},{},[2748],{"type":60,"value":2120},{"type":55,"tag":102,"props":2750,"children":2752},{"className":104,"code":2751,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nfunction escapeCode(code: string): string {\n  return code.replace(\u002F[&\u003C>]\u002Fg, (character) => ({\n    '&': '&amp;',\n    '\u003C': '&lt;',\n    '>': '&gt;',\n  })[character] ?? character)\n}\n\nconsole.log(renderHtml('```ts\\nconst x = 1\\n```', {\n  highlighter: (code) => `\u003Cspan class=\"token\">${escapeCode(code)}\u003C\u002Fspan>`,\n}))\n",[2753],{"type":55,"tag":63,"props":2754,"children":2755},{"__ignoreMap":107},[2756,2791,2798,2837,2904,2939,2974,3009,3040,3047,3054,3117,3182],{"type":55,"tag":113,"props":2757,"children":2758},{"class":115,"line":116},[2759,2763,2767,2771,2775,2779,2783,2787],{"type":55,"tag":113,"props":2760,"children":2761},{"style":120},[2762],{"type":60,"value":123},{"type":55,"tag":113,"props":2764,"children":2765},{"style":126},[2766],{"type":60,"value":129},{"type":55,"tag":113,"props":2768,"children":2769},{"style":132},[2770],{"type":60,"value":135},{"type":55,"tag":113,"props":2772,"children":2773},{"style":126},[2774],{"type":60,"value":140},{"type":55,"tag":113,"props":2776,"children":2777},{"style":120},[2778],{"type":60,"value":145},{"type":55,"tag":113,"props":2780,"children":2781},{"style":126},[2782],{"type":60,"value":150},{"type":55,"tag":113,"props":2784,"children":2785},{"style":153},[2786],{"type":60,"value":156},{"type":55,"tag":113,"props":2788,"children":2789},{"style":126},[2790],{"type":60,"value":161},{"type":55,"tag":113,"props":2792,"children":2793},{"class":115,"line":164},[2794],{"type":55,"tag":113,"props":2795,"children":2796},{"emptyLinePlaceholder":168},[2797],{"type":60,"value":171},{"type":55,"tag":113,"props":2799,"children":2800},{"class":115,"line":174},[2801,2805,2809,2813,2817,2821,2825,2829,2833],{"type":55,"tag":113,"props":2802,"children":2803},{"style":183},[2804],{"type":60,"value":2330},{"type":55,"tag":113,"props":2806,"children":2807},{"style":189},[2808],{"type":60,"value":2335},{"type":55,"tag":113,"props":2810,"children":2811},{"style":126},[2812],{"type":60,"value":319},{"type":55,"tag":113,"props":2814,"children":2815},{"style":204},[2816],{"type":60,"value":63},{"type":55,"tag":113,"props":2818,"children":2819},{"style":126},[2820],{"type":60,"value":212},{"type":55,"tag":113,"props":2822,"children":2823},{"style":215},[2824],{"type":60,"value":218},{"type":55,"tag":113,"props":2826,"children":2827},{"style":126},[2828],{"type":60,"value":281},{"type":55,"tag":113,"props":2830,"children":2831},{"style":215},[2832],{"type":60,"value":218},{"type":55,"tag":113,"props":2834,"children":2835},{"style":126},[2836],{"type":60,"value":290},{"type":55,"tag":113,"props":2838,"children":2839},{"class":115,"line":200},[2840,2844,2848,2852,2856,2860,2864,2868,2872,2876,2880,2884,2888,2892,2896,2900],{"type":55,"tag":113,"props":2841,"children":2842},{"style":120},[2843],{"type":60,"value":338},{"type":55,"tag":113,"props":2845,"children":2846},{"style":132},[2847],{"type":60,"value":2375},{"type":55,"tag":113,"props":2849,"children":2850},{"style":126},[2851],{"type":60,"value":1062},{"type":55,"tag":113,"props":2853,"children":2854},{"style":189},[2855],{"type":60,"value":2384},{"type":55,"tag":113,"props":2857,"children":2858},{"style":316},[2859],{"type":60,"value":319},{"type":55,"tag":113,"props":2861,"children":2862},{"style":126},[2863],{"type":60,"value":2393},{"type":55,"tag":113,"props":2865,"children":2866},{"style":153},[2867],{"type":60,"value":2398},{"type":55,"tag":113,"props":2869,"children":2870},{"style":126},[2871],{"type":60,"value":2403},{"type":55,"tag":113,"props":2873,"children":2874},{"style":2406},[2875],{"type":60,"value":2409},{"type":55,"tag":113,"props":2877,"children":2878},{"style":126},[2879],{"type":60,"value":646},{"type":55,"tag":113,"props":2881,"children":2882},{"style":126},[2883],{"type":60,"value":241},{"type":55,"tag":113,"props":2885,"children":2886},{"style":204},[2887],{"type":60,"value":2422},{"type":55,"tag":113,"props":2889,"children":2890},{"style":126},[2891],{"type":60,"value":259},{"type":55,"tag":113,"props":2893,"children":2894},{"style":183},[2895],{"type":60,"value":264},{"type":55,"tag":113,"props":2897,"children":2898},{"style":316},[2899],{"type":60,"value":241},{"type":55,"tag":113,"props":2901,"children":2902},{"style":126},[2903],{"type":60,"value":1223},{"type":55,"tag":113,"props":2905,"children":2906},{"class":115,"line":226},[2907,2911,2915,2919,2923,2927,2931,2935],{"type":55,"tag":113,"props":2908,"children":2909},{"style":126},[2910],{"type":60,"value":2446},{"type":55,"tag":113,"props":2912,"children":2913},{"style":316},[2914],{"type":60,"value":2451},{"type":55,"tag":113,"props":2916,"children":2917},{"style":126},[2918],{"type":60,"value":694},{"type":55,"tag":113,"props":2920,"children":2921},{"style":126},[2922],{"type":60,"value":212},{"type":55,"tag":113,"props":2924,"children":2925},{"style":126},[2926],{"type":60,"value":150},{"type":55,"tag":113,"props":2928,"children":2929},{"style":153},[2930],{"type":60,"value":2468},{"type":55,"tag":113,"props":2932,"children":2933},{"style":126},[2934],{"type":60,"value":694},{"type":55,"tag":113,"props":2936,"children":2937},{"style":126},[2938],{"type":60,"value":223},{"type":55,"tag":113,"props":2940,"children":2941},{"class":115,"line":275},[2942,2946,2950,2954,2958,2962,2966,2970],{"type":55,"tag":113,"props":2943,"children":2944},{"style":126},[2945],{"type":60,"value":2446},{"type":55,"tag":113,"props":2947,"children":2948},{"style":316},[2949],{"type":60,"value":1452},{"type":55,"tag":113,"props":2951,"children":2952},{"style":126},[2953],{"type":60,"value":694},{"type":55,"tag":113,"props":2955,"children":2956},{"style":126},[2957],{"type":60,"value":212},{"type":55,"tag":113,"props":2959,"children":2960},{"style":126},[2961],{"type":60,"value":150},{"type":55,"tag":113,"props":2963,"children":2964},{"style":153},[2965],{"type":60,"value":2504},{"type":55,"tag":113,"props":2967,"children":2968},{"style":126},[2969],{"type":60,"value":694},{"type":55,"tag":113,"props":2971,"children":2972},{"style":126},[2973],{"type":60,"value":223},{"type":55,"tag":113,"props":2975,"children":2976},{"class":115,"line":293},[2977,2981,2985,2989,2993,2997,3001,3005],{"type":55,"tag":113,"props":2978,"children":2979},{"style":126},[2980],{"type":60,"value":2446},{"type":55,"tag":113,"props":2982,"children":2983},{"style":316},[2984],{"type":60,"value":1470},{"type":55,"tag":113,"props":2986,"children":2987},{"style":126},[2988],{"type":60,"value":694},{"type":55,"tag":113,"props":2990,"children":2991},{"style":126},[2992],{"type":60,"value":212},{"type":55,"tag":113,"props":2994,"children":2995},{"style":126},[2996],{"type":60,"value":150},{"type":55,"tag":113,"props":2998,"children":2999},{"style":153},[3000],{"type":60,"value":2540},{"type":55,"tag":113,"props":3002,"children":3003},{"style":126},[3004],{"type":60,"value":694},{"type":55,"tag":113,"props":3006,"children":3007},{"style":126},[3008],{"type":60,"value":223},{"type":55,"tag":113,"props":3010,"children":3011},{"class":115,"line":332},[3012,3016,3020,3024,3028,3032,3036],{"type":55,"tag":113,"props":3013,"children":3014},{"style":126},[3015],{"type":60,"value":2556},{"type":55,"tag":113,"props":3017,"children":3018},{"style":316},[3019],{"type":60,"value":2561},{"type":55,"tag":113,"props":3021,"children":3022},{"style":132},[3023],{"type":60,"value":2422},{"type":55,"tag":113,"props":3025,"children":3026},{"style":316},[3027],{"type":60,"value":2570},{"type":55,"tag":113,"props":3029,"children":3030},{"style":126},[3031],{"type":60,"value":2575},{"type":55,"tag":113,"props":3033,"children":3034},{"style":132},[3035],{"type":60,"value":2580},{"type":55,"tag":113,"props":3037,"children":3038},{"style":316},[3039],{"type":60,"value":329},{"type":55,"tag":113,"props":3041,"children":3042},{"class":115,"line":20},[3043],{"type":55,"tag":113,"props":3044,"children":3045},{"style":126},[3046],{"type":60,"value":364},{"type":55,"tag":113,"props":3048,"children":3049},{"class":115,"line":1180},[3050],{"type":55,"tag":113,"props":3051,"children":3052},{"emptyLinePlaceholder":168},[3053],{"type":60,"value":171},{"type":55,"tag":113,"props":3055,"children":3056},{"class":115,"line":1226},[3057,3061,3065,3069,3073,3077,3081,3085,3089,3093,3097,3101,3105,3109,3113],{"type":55,"tag":113,"props":3058,"children":3059},{"style":132},[3060],{"type":60,"value":2606},{"type":55,"tag":113,"props":3062,"children":3063},{"style":126},[3064],{"type":60,"value":1062},{"type":55,"tag":113,"props":3066,"children":3067},{"style":189},[3068],{"type":60,"value":2615},{"type":55,"tag":113,"props":3070,"children":3071},{"style":132},[3072],{"type":60,"value":319},{"type":55,"tag":113,"props":3074,"children":3075},{"style":189},[3076],{"type":60,"value":383},{"type":55,"tag":113,"props":3078,"children":3079},{"style":132},[3080],{"type":60,"value":319},{"type":55,"tag":113,"props":3082,"children":3083},{"style":126},[3084],{"type":60,"value":694},{"type":55,"tag":113,"props":3086,"children":3087},{"style":153},[3088],{"type":60,"value":2636},{"type":55,"tag":113,"props":3090,"children":3091},{"style":132},[3092],{"type":60,"value":704},{"type":55,"tag":113,"props":3094,"children":3095},{"style":153},[3096],{"type":60,"value":2645},{"type":55,"tag":113,"props":3098,"children":3099},{"style":132},[3100],{"type":60,"value":704},{"type":55,"tag":113,"props":3102,"children":3103},{"style":153},[3104],{"type":60,"value":718},{"type":55,"tag":113,"props":3106,"children":3107},{"style":126},[3108],{"type":60,"value":694},{"type":55,"tag":113,"props":3110,"children":3111},{"style":126},[3112],{"type":60,"value":646},{"type":55,"tag":113,"props":3114,"children":3115},{"style":126},[3116],{"type":60,"value":290},{"type":55,"tag":113,"props":3118,"children":3119},{"class":115,"line":1266},[3120,3124,3128,3132,3136,3140,3144,3148,3153,3157,3161,3165,3169,3174,3178],{"type":55,"tag":113,"props":3121,"children":3122},{"style":189},[3123],{"type":60,"value":738},{"type":55,"tag":113,"props":3125,"children":3126},{"style":126},[3127],{"type":60,"value":212},{"type":55,"tag":113,"props":3129,"children":3130},{"style":126},[3131],{"type":60,"value":241},{"type":55,"tag":113,"props":3133,"children":3134},{"style":204},[3135],{"type":60,"value":63},{"type":55,"tag":113,"props":3137,"children":3138},{"style":126},[3139],{"type":60,"value":259},{"type":55,"tag":113,"props":3141,"children":3142},{"style":183},[3143],{"type":60,"value":264},{"type":55,"tag":113,"props":3145,"children":3146},{"style":126},[3147],{"type":60,"value":1565},{"type":55,"tag":113,"props":3149,"children":3150},{"style":153},[3151],{"type":60,"value":3152},"\u003Cspan class=\"token\">",{"type":55,"tag":113,"props":3154,"children":3155},{"style":126},[3156],{"type":60,"value":1575},{"type":55,"tag":113,"props":3158,"children":3159},{"style":189},[3160],{"type":60,"value":2709},{"type":55,"tag":113,"props":3162,"children":3163},{"style":132},[3164],{"type":60,"value":2714},{"type":55,"tag":113,"props":3166,"children":3167},{"style":126},[3168],{"type":60,"value":656},{"type":55,"tag":113,"props":3170,"children":3171},{"style":153},[3172],{"type":60,"value":3173},"\u003C\u002Fspan>",{"type":55,"tag":113,"props":3175,"children":3176},{"style":126},[3177],{"type":60,"value":2728},{"type":55,"tag":113,"props":3179,"children":3180},{"style":126},[3181],{"type":60,"value":223},{"type":55,"tag":113,"props":3183,"children":3184},{"class":115,"line":1716},[3185,3189],{"type":55,"tag":113,"props":3186,"children":3187},{"style":126},[3188],{"type":60,"value":656},{"type":55,"tag":113,"props":3190,"children":3191},{"style":132},[3192],{"type":60,"value":2744},{"type":55,"tag":56,"props":3194,"children":3195},{},[3196,3198,3203],{"type":60,"value":3197},"The renderer owns ",{"type":55,"tag":63,"props":3199,"children":3201},{"className":3200},[],[3202],{"type":60,"value":777},{"type":60,"value":3204},"; the callback supplies only the code element's trusted contents.",{"type":55,"tag":56,"props":3206,"children":3207},{},[3208,3209],{"type":60,"value":2257},{"type":55,"tag":63,"props":3210,"children":3212},{"className":3211},[],[3213],{"type":60,"value":3214},"docs\u002Fguides\u002Fsyntax-highlighting.md",{"type":55,"tag":90,"props":3216,"children":3218},{"id":3217},"critical-trusting-arbitrary-highlighter-output",[3219],{"type":60,"value":3220},"CRITICAL Trusting arbitrary highlighter output",{"type":55,"tag":56,"props":3222,"children":3223},{},[3224],{"type":60,"value":1967},{"type":55,"tag":102,"props":3226,"children":3228},{"className":104,"code":3227,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst source = '```html\\n\u003Cimg src=x onerror=alert(1)>\\n```'\nconsole.log(renderHtml(source, { highlighter: (code) => code }))\n",[3229],{"type":55,"tag":63,"props":3230,"children":3231},{"__ignoreMap":107},[3232,3267,3274,3319],{"type":55,"tag":113,"props":3233,"children":3234},{"class":115,"line":116},[3235,3239,3243,3247,3251,3255,3259,3263],{"type":55,"tag":113,"props":3236,"children":3237},{"style":120},[3238],{"type":60,"value":123},{"type":55,"tag":113,"props":3240,"children":3241},{"style":126},[3242],{"type":60,"value":129},{"type":55,"tag":113,"props":3244,"children":3245},{"style":132},[3246],{"type":60,"value":135},{"type":55,"tag":113,"props":3248,"children":3249},{"style":126},[3250],{"type":60,"value":140},{"type":55,"tag":113,"props":3252,"children":3253},{"style":120},[3254],{"type":60,"value":145},{"type":55,"tag":113,"props":3256,"children":3257},{"style":126},[3258],{"type":60,"value":150},{"type":55,"tag":113,"props":3260,"children":3261},{"style":153},[3262],{"type":60,"value":156},{"type":55,"tag":113,"props":3264,"children":3265},{"style":126},[3266],{"type":60,"value":161},{"type":55,"tag":113,"props":3268,"children":3269},{"class":115,"line":164},[3270],{"type":55,"tag":113,"props":3271,"children":3272},{"emptyLinePlaceholder":168},[3273],{"type":60,"value":171},{"type":55,"tag":113,"props":3275,"children":3276},{"class":115,"line":174},[3277,3281,3285,3289,3293,3298,3302,3307,3311,3315],{"type":55,"tag":113,"props":3278,"children":3279},{"style":183},[3280],{"type":60,"value":604},{"type":55,"tag":113,"props":3282,"children":3283},{"style":132},[3284],{"type":60,"value":1000},{"type":55,"tag":113,"props":3286,"children":3287},{"style":126},[3288],{"type":60,"value":614},{"type":55,"tag":113,"props":3290,"children":3291},{"style":126},[3292],{"type":60,"value":150},{"type":55,"tag":113,"props":3294,"children":3295},{"style":153},[3296],{"type":60,"value":3297},"```html",{"type":55,"tag":113,"props":3299,"children":3300},{"style":132},[3301],{"type":60,"value":704},{"type":55,"tag":113,"props":3303,"children":3304},{"style":153},[3305],{"type":60,"value":3306},"\u003Cimg src=x onerror=alert(1)>",{"type":55,"tag":113,"props":3308,"children":3309},{"style":132},[3310],{"type":60,"value":704},{"type":55,"tag":113,"props":3312,"children":3313},{"style":153},[3314],{"type":60,"value":718},{"type":55,"tag":113,"props":3316,"children":3317},{"style":126},[3318],{"type":60,"value":161},{"type":55,"tag":113,"props":3320,"children":3321},{"class":115,"line":200},[3322,3326,3330,3334,3338,3342,3347,3351,3355,3360,3364,3368,3372,3376,3380,3385,3389],{"type":55,"tag":113,"props":3323,"children":3324},{"style":132},[3325],{"type":60,"value":2606},{"type":55,"tag":113,"props":3327,"children":3328},{"style":126},[3329],{"type":60,"value":1062},{"type":55,"tag":113,"props":3331,"children":3332},{"style":189},[3333],{"type":60,"value":2615},{"type":55,"tag":113,"props":3335,"children":3336},{"style":132},[3337],{"type":60,"value":319},{"type":55,"tag":113,"props":3339,"children":3340},{"style":189},[3341],{"type":60,"value":383},{"type":55,"tag":113,"props":3343,"children":3344},{"style":132},[3345],{"type":60,"value":3346},"(source",{"type":55,"tag":113,"props":3348,"children":3349},{"style":126},[3350],{"type":60,"value":646},{"type":55,"tag":113,"props":3352,"children":3353},{"style":126},[3354],{"type":60,"value":129},{"type":55,"tag":113,"props":3356,"children":3357},{"style":189},[3358],{"type":60,"value":3359}," highlighter",{"type":55,"tag":113,"props":3361,"children":3362},{"style":126},[3363],{"type":60,"value":212},{"type":55,"tag":113,"props":3365,"children":3366},{"style":126},[3367],{"type":60,"value":241},{"type":55,"tag":113,"props":3369,"children":3370},{"style":204},[3371],{"type":60,"value":63},{"type":55,"tag":113,"props":3373,"children":3374},{"style":126},[3375],{"type":60,"value":259},{"type":55,"tag":113,"props":3377,"children":3378},{"style":183},[3379],{"type":60,"value":264},{"type":55,"tag":113,"props":3381,"children":3382},{"style":132},[3383],{"type":60,"value":3384}," code ",{"type":55,"tag":113,"props":3386,"children":3387},{"style":126},[3388],{"type":60,"value":656},{"type":55,"tag":113,"props":3390,"children":3391},{"style":132},[3392],{"type":60,"value":2744},{"type":55,"tag":56,"props":3394,"children":3395},{},[3396],{"type":60,"value":2120},{"type":55,"tag":102,"props":3398,"children":3400},{"className":104,"code":3399,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nfunction escapeCode(code: string): string {\n  return code.replace(\u002F[&\u003C>]\u002Fg, (character) => ({\n    '&': '&amp;',\n    '\u003C': '&lt;',\n    '>': '&gt;',\n  })[character] ?? character)\n}\n\nconst source = '```html\\n\u003Cimg src=x onerror=alert(1)>\\n```'\nconsole.log(renderHtml(source, { highlighter: escapeCode }))\n",[3401],{"type":55,"tag":63,"props":3402,"children":3403},{"__ignoreMap":107},[3404,3439,3446,3485,3552,3587,3622,3657,3688,3695,3702,3745],{"type":55,"tag":113,"props":3405,"children":3406},{"class":115,"line":116},[3407,3411,3415,3419,3423,3427,3431,3435],{"type":55,"tag":113,"props":3408,"children":3409},{"style":120},[3410],{"type":60,"value":123},{"type":55,"tag":113,"props":3412,"children":3413},{"style":126},[3414],{"type":60,"value":129},{"type":55,"tag":113,"props":3416,"children":3417},{"style":132},[3418],{"type":60,"value":135},{"type":55,"tag":113,"props":3420,"children":3421},{"style":126},[3422],{"type":60,"value":140},{"type":55,"tag":113,"props":3424,"children":3425},{"style":120},[3426],{"type":60,"value":145},{"type":55,"tag":113,"props":3428,"children":3429},{"style":126},[3430],{"type":60,"value":150},{"type":55,"tag":113,"props":3432,"children":3433},{"style":153},[3434],{"type":60,"value":156},{"type":55,"tag":113,"props":3436,"children":3437},{"style":126},[3438],{"type":60,"value":161},{"type":55,"tag":113,"props":3440,"children":3441},{"class":115,"line":164},[3442],{"type":55,"tag":113,"props":3443,"children":3444},{"emptyLinePlaceholder":168},[3445],{"type":60,"value":171},{"type":55,"tag":113,"props":3447,"children":3448},{"class":115,"line":174},[3449,3453,3457,3461,3465,3469,3473,3477,3481],{"type":55,"tag":113,"props":3450,"children":3451},{"style":183},[3452],{"type":60,"value":2330},{"type":55,"tag":113,"props":3454,"children":3455},{"style":189},[3456],{"type":60,"value":2335},{"type":55,"tag":113,"props":3458,"children":3459},{"style":126},[3460],{"type":60,"value":319},{"type":55,"tag":113,"props":3462,"children":3463},{"style":204},[3464],{"type":60,"value":63},{"type":55,"tag":113,"props":3466,"children":3467},{"style":126},[3468],{"type":60,"value":212},{"type":55,"tag":113,"props":3470,"children":3471},{"style":215},[3472],{"type":60,"value":218},{"type":55,"tag":113,"props":3474,"children":3475},{"style":126},[3476],{"type":60,"value":281},{"type":55,"tag":113,"props":3478,"children":3479},{"style":215},[3480],{"type":60,"value":218},{"type":55,"tag":113,"props":3482,"children":3483},{"style":126},[3484],{"type":60,"value":290},{"type":55,"tag":113,"props":3486,"children":3487},{"class":115,"line":200},[3488,3492,3496,3500,3504,3508,3512,3516,3520,3524,3528,3532,3536,3540,3544,3548],{"type":55,"tag":113,"props":3489,"children":3490},{"style":120},[3491],{"type":60,"value":338},{"type":55,"tag":113,"props":3493,"children":3494},{"style":132},[3495],{"type":60,"value":2375},{"type":55,"tag":113,"props":3497,"children":3498},{"style":126},[3499],{"type":60,"value":1062},{"type":55,"tag":113,"props":3501,"children":3502},{"style":189},[3503],{"type":60,"value":2384},{"type":55,"tag":113,"props":3505,"children":3506},{"style":316},[3507],{"type":60,"value":319},{"type":55,"tag":113,"props":3509,"children":3510},{"style":126},[3511],{"type":60,"value":2393},{"type":55,"tag":113,"props":3513,"children":3514},{"style":153},[3515],{"type":60,"value":2398},{"type":55,"tag":113,"props":3517,"children":3518},{"style":126},[3519],{"type":60,"value":2403},{"type":55,"tag":113,"props":3521,"children":3522},{"style":2406},[3523],{"type":60,"value":2409},{"type":55,"tag":113,"props":3525,"children":3526},{"style":126},[3527],{"type":60,"value":646},{"type":55,"tag":113,"props":3529,"children":3530},{"style":126},[3531],{"type":60,"value":241},{"type":55,"tag":113,"props":3533,"children":3534},{"style":204},[3535],{"type":60,"value":2422},{"type":55,"tag":113,"props":3537,"children":3538},{"style":126},[3539],{"type":60,"value":259},{"type":55,"tag":113,"props":3541,"children":3542},{"style":183},[3543],{"type":60,"value":264},{"type":55,"tag":113,"props":3545,"children":3546},{"style":316},[3547],{"type":60,"value":241},{"type":55,"tag":113,"props":3549,"children":3550},{"style":126},[3551],{"type":60,"value":1223},{"type":55,"tag":113,"props":3553,"children":3554},{"class":115,"line":226},[3555,3559,3563,3567,3571,3575,3579,3583],{"type":55,"tag":113,"props":3556,"children":3557},{"style":126},[3558],{"type":60,"value":2446},{"type":55,"tag":113,"props":3560,"children":3561},{"style":316},[3562],{"type":60,"value":2451},{"type":55,"tag":113,"props":3564,"children":3565},{"style":126},[3566],{"type":60,"value":694},{"type":55,"tag":113,"props":3568,"children":3569},{"style":126},[3570],{"type":60,"value":212},{"type":55,"tag":113,"props":3572,"children":3573},{"style":126},[3574],{"type":60,"value":150},{"type":55,"tag":113,"props":3576,"children":3577},{"style":153},[3578],{"type":60,"value":2468},{"type":55,"tag":113,"props":3580,"children":3581},{"style":126},[3582],{"type":60,"value":694},{"type":55,"tag":113,"props":3584,"children":3585},{"style":126},[3586],{"type":60,"value":223},{"type":55,"tag":113,"props":3588,"children":3589},{"class":115,"line":275},[3590,3594,3598,3602,3606,3610,3614,3618],{"type":55,"tag":113,"props":3591,"children":3592},{"style":126},[3593],{"type":60,"value":2446},{"type":55,"tag":113,"props":3595,"children":3596},{"style":316},[3597],{"type":60,"value":1452},{"type":55,"tag":113,"props":3599,"children":3600},{"style":126},[3601],{"type":60,"value":694},{"type":55,"tag":113,"props":3603,"children":3604},{"style":126},[3605],{"type":60,"value":212},{"type":55,"tag":113,"props":3607,"children":3608},{"style":126},[3609],{"type":60,"value":150},{"type":55,"tag":113,"props":3611,"children":3612},{"style":153},[3613],{"type":60,"value":2504},{"type":55,"tag":113,"props":3615,"children":3616},{"style":126},[3617],{"type":60,"value":694},{"type":55,"tag":113,"props":3619,"children":3620},{"style":126},[3621],{"type":60,"value":223},{"type":55,"tag":113,"props":3623,"children":3624},{"class":115,"line":293},[3625,3629,3633,3637,3641,3645,3649,3653],{"type":55,"tag":113,"props":3626,"children":3627},{"style":126},[3628],{"type":60,"value":2446},{"type":55,"tag":113,"props":3630,"children":3631},{"style":316},[3632],{"type":60,"value":1470},{"type":55,"tag":113,"props":3634,"children":3635},{"style":126},[3636],{"type":60,"value":694},{"type":55,"tag":113,"props":3638,"children":3639},{"style":126},[3640],{"type":60,"value":212},{"type":55,"tag":113,"props":3642,"children":3643},{"style":126},[3644],{"type":60,"value":150},{"type":55,"tag":113,"props":3646,"children":3647},{"style":153},[3648],{"type":60,"value":2540},{"type":55,"tag":113,"props":3650,"children":3651},{"style":126},[3652],{"type":60,"value":694},{"type":55,"tag":113,"props":3654,"children":3655},{"style":126},[3656],{"type":60,"value":223},{"type":55,"tag":113,"props":3658,"children":3659},{"class":115,"line":332},[3660,3664,3668,3672,3676,3680,3684],{"type":55,"tag":113,"props":3661,"children":3662},{"style":126},[3663],{"type":60,"value":2556},{"type":55,"tag":113,"props":3665,"children":3666},{"style":316},[3667],{"type":60,"value":2561},{"type":55,"tag":113,"props":3669,"children":3670},{"style":132},[3671],{"type":60,"value":2422},{"type":55,"tag":113,"props":3673,"children":3674},{"style":316},[3675],{"type":60,"value":2570},{"type":55,"tag":113,"props":3677,"children":3678},{"style":126},[3679],{"type":60,"value":2575},{"type":55,"tag":113,"props":3681,"children":3682},{"style":132},[3683],{"type":60,"value":2580},{"type":55,"tag":113,"props":3685,"children":3686},{"style":316},[3687],{"type":60,"value":329},{"type":55,"tag":113,"props":3689,"children":3690},{"class":115,"line":20},[3691],{"type":55,"tag":113,"props":3692,"children":3693},{"style":126},[3694],{"type":60,"value":364},{"type":55,"tag":113,"props":3696,"children":3697},{"class":115,"line":1180},[3698],{"type":55,"tag":113,"props":3699,"children":3700},{"emptyLinePlaceholder":168},[3701],{"type":60,"value":171},{"type":55,"tag":113,"props":3703,"children":3704},{"class":115,"line":1226},[3705,3709,3713,3717,3721,3725,3729,3733,3737,3741],{"type":55,"tag":113,"props":3706,"children":3707},{"style":183},[3708],{"type":60,"value":604},{"type":55,"tag":113,"props":3710,"children":3711},{"style":132},[3712],{"type":60,"value":1000},{"type":55,"tag":113,"props":3714,"children":3715},{"style":126},[3716],{"type":60,"value":614},{"type":55,"tag":113,"props":3718,"children":3719},{"style":126},[3720],{"type":60,"value":150},{"type":55,"tag":113,"props":3722,"children":3723},{"style":153},[3724],{"type":60,"value":3297},{"type":55,"tag":113,"props":3726,"children":3727},{"style":132},[3728],{"type":60,"value":704},{"type":55,"tag":113,"props":3730,"children":3731},{"style":153},[3732],{"type":60,"value":3306},{"type":55,"tag":113,"props":3734,"children":3735},{"style":132},[3736],{"type":60,"value":704},{"type":55,"tag":113,"props":3738,"children":3739},{"style":153},[3740],{"type":60,"value":718},{"type":55,"tag":113,"props":3742,"children":3743},{"style":126},[3744],{"type":60,"value":161},{"type":55,"tag":113,"props":3746,"children":3747},{"class":115,"line":1266},[3748,3752,3756,3760,3764,3768,3772,3776,3780,3784,3788,3793,3797],{"type":55,"tag":113,"props":3749,"children":3750},{"style":132},[3751],{"type":60,"value":2606},{"type":55,"tag":113,"props":3753,"children":3754},{"style":126},[3755],{"type":60,"value":1062},{"type":55,"tag":113,"props":3757,"children":3758},{"style":189},[3759],{"type":60,"value":2615},{"type":55,"tag":113,"props":3761,"children":3762},{"style":132},[3763],{"type":60,"value":319},{"type":55,"tag":113,"props":3765,"children":3766},{"style":189},[3767],{"type":60,"value":383},{"type":55,"tag":113,"props":3769,"children":3770},{"style":132},[3771],{"type":60,"value":3346},{"type":55,"tag":113,"props":3773,"children":3774},{"style":126},[3775],{"type":60,"value":646},{"type":55,"tag":113,"props":3777,"children":3778},{"style":126},[3779],{"type":60,"value":129},{"type":55,"tag":113,"props":3781,"children":3782},{"style":316},[3783],{"type":60,"value":3359},{"type":55,"tag":113,"props":3785,"children":3786},{"style":126},[3787],{"type":60,"value":212},{"type":55,"tag":113,"props":3789,"children":3790},{"style":132},[3791],{"type":60,"value":3792}," escapeCode ",{"type":55,"tag":113,"props":3794,"children":3795},{"style":126},[3796],{"type":60,"value":656},{"type":55,"tag":113,"props":3798,"children":3799},{"style":132},[3800],{"type":60,"value":2744},{"type":55,"tag":56,"props":3802,"children":3803},{},[3804],{"type":60,"value":3805},"Highlighter output is inserted without further escaping in every renderer.",{"type":55,"tag":56,"props":3807,"children":3808},{},[3809,3810],{"type":60,"value":2257},{"type":55,"tag":63,"props":3811,"children":3813},{"className":3812},[],[3814],{"type":60,"value":2263},{"type":55,"tag":90,"props":3816,"children":3818},{"id":3817},"medium-bundling-highlighting-into-static-clients",[3819],{"type":60,"value":3820},"MEDIUM Bundling highlighting into static clients",{"type":55,"tag":56,"props":3822,"children":3823},{},[3824],{"type":60,"value":1967},{"type":55,"tag":102,"props":3826,"children":3830},{"className":3827,"code":3828,"language":3829,"meta":107,"style":107},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { Markdown } from '@tanstack\u002Fmarkdown\u002Freact'\nimport { tokenize } from '@tanstack\u002Fhighlight'\n\nexport function Article({ source }: { source: string }) {\n  return \u003CMarkdown highlighter={(code) => String(tokenize(code))}>{source}\u003C\u002FMarkdown>\n}\n","tsx",[3831],{"type":55,"tag":63,"props":3832,"children":3833},{"__ignoreMap":107},[3834,3871,3908,3915,3970,4049],{"type":55,"tag":113,"props":3835,"children":3836},{"class":115,"line":116},[3837,3841,3845,3850,3854,3858,3862,3867],{"type":55,"tag":113,"props":3838,"children":3839},{"style":120},[3840],{"type":60,"value":123},{"type":55,"tag":113,"props":3842,"children":3843},{"style":126},[3844],{"type":60,"value":129},{"type":55,"tag":113,"props":3846,"children":3847},{"style":132},[3848],{"type":60,"value":3849}," Markdown",{"type":55,"tag":113,"props":3851,"children":3852},{"style":126},[3853],{"type":60,"value":140},{"type":55,"tag":113,"props":3855,"children":3856},{"style":120},[3857],{"type":60,"value":145},{"type":55,"tag":113,"props":3859,"children":3860},{"style":126},[3861],{"type":60,"value":150},{"type":55,"tag":113,"props":3863,"children":3864},{"style":153},[3865],{"type":60,"value":3866},"@tanstack\u002Fmarkdown\u002Freact",{"type":55,"tag":113,"props":3868,"children":3869},{"style":126},[3870],{"type":60,"value":161},{"type":55,"tag":113,"props":3872,"children":3873},{"class":115,"line":164},[3874,3878,3882,3887,3891,3895,3899,3904],{"type":55,"tag":113,"props":3875,"children":3876},{"style":120},[3877],{"type":60,"value":123},{"type":55,"tag":113,"props":3879,"children":3880},{"style":126},[3881],{"type":60,"value":129},{"type":55,"tag":113,"props":3883,"children":3884},{"style":132},[3885],{"type":60,"value":3886}," tokenize",{"type":55,"tag":113,"props":3888,"children":3889},{"style":126},[3890],{"type":60,"value":140},{"type":55,"tag":113,"props":3892,"children":3893},{"style":120},[3894],{"type":60,"value":145},{"type":55,"tag":113,"props":3896,"children":3897},{"style":126},[3898],{"type":60,"value":150},{"type":55,"tag":113,"props":3900,"children":3901},{"style":153},[3902],{"type":60,"value":3903},"@tanstack\u002Fhighlight",{"type":55,"tag":113,"props":3905,"children":3906},{"style":126},[3907],{"type":60,"value":161},{"type":55,"tag":113,"props":3909,"children":3910},{"class":115,"line":174},[3911],{"type":55,"tag":113,"props":3912,"children":3913},{"emptyLinePlaceholder":168},[3914],{"type":60,"value":171},{"type":55,"tag":113,"props":3916,"children":3917},{"class":115,"line":200},[3918,3922,3926,3931,3936,3940,3945,3949,3953,3957,3961,3966],{"type":55,"tag":113,"props":3919,"children":3920},{"style":120},[3921],{"type":60,"value":180},{"type":55,"tag":113,"props":3923,"children":3924},{"style":183},[3925],{"type":60,"value":186},{"type":55,"tag":113,"props":3927,"children":3928},{"style":189},[3929],{"type":60,"value":3930}," Article",{"type":55,"tag":113,"props":3932,"children":3933},{"style":126},[3934],{"type":60,"value":3935},"({",{"type":55,"tag":113,"props":3937,"children":3938},{"style":204},[3939],{"type":60,"value":1524},{"type":55,"tag":113,"props":3941,"children":3942},{"style":126},[3943],{"type":60,"value":3944}," }:",{"type":55,"tag":113,"props":3946,"children":3947},{"style":126},[3948],{"type":60,"value":129},{"type":55,"tag":113,"props":3950,"children":3951},{"style":316},[3952],{"type":60,"value":1524},{"type":55,"tag":113,"props":3954,"children":3955},{"style":126},[3956],{"type":60,"value":212},{"type":55,"tag":113,"props":3958,"children":3959},{"style":215},[3960],{"type":60,"value":218},{"type":55,"tag":113,"props":3962,"children":3963},{"style":126},[3964],{"type":60,"value":3965}," })",{"type":55,"tag":113,"props":3967,"children":3968},{"style":126},[3969],{"type":60,"value":290},{"type":55,"tag":113,"props":3971,"children":3972},{"class":115,"line":226},[3973,3977,3982,3986,3990,3995,3999,4003,4007,4012,4016,4021,4026,4031,4035,4040,4044],{"type":55,"tag":113,"props":3974,"children":3975},{"style":120},[3976],{"type":60,"value":338},{"type":55,"tag":113,"props":3978,"children":3979},{"style":126},[3980],{"type":60,"value":3981}," \u003C",{"type":55,"tag":113,"props":3983,"children":3984},{"style":215},[3985],{"type":60,"value":13},{"type":55,"tag":113,"props":3987,"children":3988},{"style":183},[3989],{"type":60,"value":3359},{"type":55,"tag":113,"props":3991,"children":3992},{"style":126},[3993],{"type":60,"value":3994},"={(",{"type":55,"tag":113,"props":3996,"children":3997},{"style":204},[3998],{"type":60,"value":63},{"type":55,"tag":113,"props":4000,"children":4001},{"style":126},[4002],{"type":60,"value":259},{"type":55,"tag":113,"props":4004,"children":4005},{"style":183},[4006],{"type":60,"value":264},{"type":55,"tag":113,"props":4008,"children":4009},{"style":189},[4010],{"type":60,"value":4011}," String",{"type":55,"tag":113,"props":4013,"children":4014},{"style":132},[4015],{"type":60,"value":319},{"type":55,"tag":113,"props":4017,"children":4018},{"style":189},[4019],{"type":60,"value":4020},"tokenize",{"type":55,"tag":113,"props":4022,"children":4023},{"style":132},[4024],{"type":60,"value":4025},"(code))",{"type":55,"tag":113,"props":4027,"children":4028},{"style":126},[4029],{"type":60,"value":4030},"}>{",{"type":55,"tag":113,"props":4032,"children":4033},{"style":132},[4034],{"type":60,"value":324},{"type":55,"tag":113,"props":4036,"children":4037},{"style":126},[4038],{"type":60,"value":4039},"}\u003C\u002F",{"type":55,"tag":113,"props":4041,"children":4042},{"style":215},[4043],{"type":60,"value":13},{"type":55,"tag":113,"props":4045,"children":4046},{"style":126},[4047],{"type":60,"value":4048},">\n",{"type":55,"tag":113,"props":4050,"children":4051},{"class":115,"line":275},[4052],{"type":55,"tag":113,"props":4053,"children":4054},{"style":126},[4055],{"type":60,"value":364},{"type":55,"tag":56,"props":4057,"children":4058},{},[4059],{"type":60,"value":2120},{"type":55,"tag":102,"props":4061,"children":4063},{"className":104,"code":4062,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport type { CodeHighlighter } from '@tanstack\u002Fmarkdown'\n\nexport function renderStaticArticle(\n  source: string,\n  highlighter: CodeHighlighter,\n): string {\n  return renderHtml(source, { highlighter })\n}\n",[4064],{"type":55,"tag":63,"props":4065,"children":4066},{"__ignoreMap":107},[4067,4102,4142,4149,4169,4188,4207,4222,4261],{"type":55,"tag":113,"props":4068,"children":4069},{"class":115,"line":116},[4070,4074,4078,4082,4086,4090,4094,4098],{"type":55,"tag":113,"props":4071,"children":4072},{"style":120},[4073],{"type":60,"value":123},{"type":55,"tag":113,"props":4075,"children":4076},{"style":126},[4077],{"type":60,"value":129},{"type":55,"tag":113,"props":4079,"children":4080},{"style":132},[4081],{"type":60,"value":135},{"type":55,"tag":113,"props":4083,"children":4084},{"style":126},[4085],{"type":60,"value":140},{"type":55,"tag":113,"props":4087,"children":4088},{"style":120},[4089],{"type":60,"value":145},{"type":55,"tag":113,"props":4091,"children":4092},{"style":126},[4093],{"type":60,"value":150},{"type":55,"tag":113,"props":4095,"children":4096},{"style":153},[4097],{"type":60,"value":156},{"type":55,"tag":113,"props":4099,"children":4100},{"style":126},[4101],{"type":60,"value":161},{"type":55,"tag":113,"props":4103,"children":4104},{"class":115,"line":164},[4105,4109,4113,4117,4122,4126,4130,4134,4138],{"type":55,"tag":113,"props":4106,"children":4107},{"style":120},[4108],{"type":60,"value":123},{"type":55,"tag":113,"props":4110,"children":4111},{"style":120},[4112],{"type":60,"value":1316},{"type":55,"tag":113,"props":4114,"children":4115},{"style":126},[4116],{"type":60,"value":129},{"type":55,"tag":113,"props":4118,"children":4119},{"style":132},[4120],{"type":60,"value":4121}," CodeHighlighter",{"type":55,"tag":113,"props":4123,"children":4124},{"style":126},[4125],{"type":60,"value":140},{"type":55,"tag":113,"props":4127,"children":4128},{"style":120},[4129],{"type":60,"value":145},{"type":55,"tag":113,"props":4131,"children":4132},{"style":126},[4133],{"type":60,"value":150},{"type":55,"tag":113,"props":4135,"children":4136},{"style":153},[4137],{"type":60,"value":35},{"type":55,"tag":113,"props":4139,"children":4140},{"style":126},[4141],{"type":60,"value":161},{"type":55,"tag":113,"props":4143,"children":4144},{"class":115,"line":174},[4145],{"type":55,"tag":113,"props":4146,"children":4147},{"emptyLinePlaceholder":168},[4148],{"type":60,"value":171},{"type":55,"tag":113,"props":4150,"children":4151},{"class":115,"line":200},[4152,4156,4160,4165],{"type":55,"tag":113,"props":4153,"children":4154},{"style":120},[4155],{"type":60,"value":180},{"type":55,"tag":113,"props":4157,"children":4158},{"style":183},[4159],{"type":60,"value":186},{"type":55,"tag":113,"props":4161,"children":4162},{"style":189},[4163],{"type":60,"value":4164}," renderStaticArticle",{"type":55,"tag":113,"props":4166,"children":4167},{"style":126},[4168],{"type":60,"value":197},{"type":55,"tag":113,"props":4170,"children":4171},{"class":115,"line":226},[4172,4176,4180,4184],{"type":55,"tag":113,"props":4173,"children":4174},{"style":204},[4175],{"type":60,"value":207},{"type":55,"tag":113,"props":4177,"children":4178},{"style":126},[4179],{"type":60,"value":212},{"type":55,"tag":113,"props":4181,"children":4182},{"style":215},[4183],{"type":60,"value":218},{"type":55,"tag":113,"props":4185,"children":4186},{"style":126},[4187],{"type":60,"value":223},{"type":55,"tag":113,"props":4189,"children":4190},{"class":115,"line":275},[4191,4195,4199,4203],{"type":55,"tag":113,"props":4192,"children":4193},{"style":204},[4194],{"type":60,"value":738},{"type":55,"tag":113,"props":4196,"children":4197},{"style":126},[4198],{"type":60,"value":212},{"type":55,"tag":113,"props":4200,"children":4201},{"style":215},[4202],{"type":60,"value":4121},{"type":55,"tag":113,"props":4204,"children":4205},{"style":126},[4206],{"type":60,"value":223},{"type":55,"tag":113,"props":4208,"children":4209},{"class":115,"line":293},[4210,4214,4218],{"type":55,"tag":113,"props":4211,"children":4212},{"style":126},[4213],{"type":60,"value":281},{"type":55,"tag":113,"props":4215,"children":4216},{"style":215},[4217],{"type":60,"value":218},{"type":55,"tag":113,"props":4219,"children":4220},{"style":126},[4221],{"type":60,"value":290},{"type":55,"tag":113,"props":4223,"children":4224},{"class":115,"line":332},[4225,4229,4233,4237,4241,4245,4249,4253,4257],{"type":55,"tag":113,"props":4226,"children":4227},{"style":120},[4228],{"type":60,"value":338},{"type":55,"tag":113,"props":4230,"children":4231},{"style":189},[4232],{"type":60,"value":135},{"type":55,"tag":113,"props":4234,"children":4235},{"style":316},[4236],{"type":60,"value":319},{"type":55,"tag":113,"props":4238,"children":4239},{"style":132},[4240],{"type":60,"value":324},{"type":55,"tag":113,"props":4242,"children":4243},{"style":126},[4244],{"type":60,"value":646},{"type":55,"tag":113,"props":4246,"children":4247},{"style":126},[4248],{"type":60,"value":129},{"type":55,"tag":113,"props":4250,"children":4251},{"style":132},[4252],{"type":60,"value":3359},{"type":55,"tag":113,"props":4254,"children":4255},{"style":126},[4256],{"type":60,"value":140},{"type":55,"tag":113,"props":4258,"children":4259},{"style":316},[4260],{"type":60,"value":329},{"type":55,"tag":113,"props":4262,"children":4263},{"class":115,"line":20},[4264],{"type":55,"tag":113,"props":4265,"children":4266},{"style":126},[4267],{"type":60,"value":364},{"type":55,"tag":56,"props":4269,"children":4270},{},[4271],{"type":60,"value":4272},"Tokenizer runtimes, grammars, and themes can outweigh Markdown parsing and should remain build-time or server-side for static content.",{"type":55,"tag":56,"props":4274,"children":4275},{},[4276,4277],{"type":60,"value":2257},{"type":55,"tag":63,"props":4278,"children":4280},{"className":4279},[],[4281],{"type":60,"value":4282},"docs\u002Fguides\u002Fperformance.md",{"type":55,"tag":90,"props":4284,"children":4286},{"id":4285},"critical-treating-defaults-as-a-sanitizer",[4287],{"type":60,"value":4288},"CRITICAL Treating defaults as a sanitizer",{"type":55,"tag":56,"props":4290,"children":4291},{},[4292],{"type":60,"value":1967},{"type":55,"tag":102,"props":4294,"children":4296},{"className":104,"code":4295,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderForEveryPolicy(source: string): string {\n  return renderHtml(source)\n}\n",[4297],{"type":55,"tag":63,"props":4298,"children":4299},{"__ignoreMap":107},[4300,4335,4342,4386,4409],{"type":55,"tag":113,"props":4301,"children":4302},{"class":115,"line":116},[4303,4307,4311,4315,4319,4323,4327,4331],{"type":55,"tag":113,"props":4304,"children":4305},{"style":120},[4306],{"type":60,"value":123},{"type":55,"tag":113,"props":4308,"children":4309},{"style":126},[4310],{"type":60,"value":129},{"type":55,"tag":113,"props":4312,"children":4313},{"style":132},[4314],{"type":60,"value":135},{"type":55,"tag":113,"props":4316,"children":4317},{"style":126},[4318],{"type":60,"value":140},{"type":55,"tag":113,"props":4320,"children":4321},{"style":120},[4322],{"type":60,"value":145},{"type":55,"tag":113,"props":4324,"children":4325},{"style":126},[4326],{"type":60,"value":150},{"type":55,"tag":113,"props":4328,"children":4329},{"style":153},[4330],{"type":60,"value":156},{"type":55,"tag":113,"props":4332,"children":4333},{"style":126},[4334],{"type":60,"value":161},{"type":55,"tag":113,"props":4336,"children":4337},{"class":115,"line":164},[4338],{"type":55,"tag":113,"props":4339,"children":4340},{"emptyLinePlaceholder":168},[4341],{"type":60,"value":171},{"type":55,"tag":113,"props":4343,"children":4344},{"class":115,"line":174},[4345,4349,4353,4358,4362,4366,4370,4374,4378,4382],{"type":55,"tag":113,"props":4346,"children":4347},{"style":120},[4348],{"type":60,"value":180},{"type":55,"tag":113,"props":4350,"children":4351},{"style":183},[4352],{"type":60,"value":186},{"type":55,"tag":113,"props":4354,"children":4355},{"style":189},[4356],{"type":60,"value":4357}," renderForEveryPolicy",{"type":55,"tag":113,"props":4359,"children":4360},{"style":126},[4361],{"type":60,"value":319},{"type":55,"tag":113,"props":4363,"children":4364},{"style":204},[4365],{"type":60,"value":324},{"type":55,"tag":113,"props":4367,"children":4368},{"style":126},[4369],{"type":60,"value":212},{"type":55,"tag":113,"props":4371,"children":4372},{"style":215},[4373],{"type":60,"value":218},{"type":55,"tag":113,"props":4375,"children":4376},{"style":126},[4377],{"type":60,"value":281},{"type":55,"tag":113,"props":4379,"children":4380},{"style":215},[4381],{"type":60,"value":218},{"type":55,"tag":113,"props":4383,"children":4384},{"style":126},[4385],{"type":60,"value":290},{"type":55,"tag":113,"props":4387,"children":4388},{"class":115,"line":200},[4389,4393,4397,4401,4405],{"type":55,"tag":113,"props":4390,"children":4391},{"style":120},[4392],{"type":60,"value":338},{"type":55,"tag":113,"props":4394,"children":4395},{"style":189},[4396],{"type":60,"value":135},{"type":55,"tag":113,"props":4398,"children":4399},{"style":316},[4400],{"type":60,"value":319},{"type":55,"tag":113,"props":4402,"children":4403},{"style":132},[4404],{"type":60,"value":324},{"type":55,"tag":113,"props":4406,"children":4407},{"style":316},[4408],{"type":60,"value":329},{"type":55,"tag":113,"props":4410,"children":4411},{"class":115,"line":226},[4412],{"type":55,"tag":113,"props":4413,"children":4414},{"style":126},[4415],{"type":60,"value":364},{"type":55,"tag":56,"props":4417,"children":4418},{},[4419],{"type":60,"value":2120},{"type":55,"tag":102,"props":4421,"children":4423},{"className":104,"code":4422,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderWithPolicy(\n  source: string,\n  sanitize: (html: string) => string,\n): string {\n  return sanitize(renderHtml(source))\n}\n",[4424],{"type":55,"tag":63,"props":4425,"children":4426},{"__ignoreMap":107},[4427,4462,4469,4489,4508,4551,4566,4597],{"type":55,"tag":113,"props":4428,"children":4429},{"class":115,"line":116},[4430,4434,4438,4442,4446,4450,4454,4458],{"type":55,"tag":113,"props":4431,"children":4432},{"style":120},[4433],{"type":60,"value":123},{"type":55,"tag":113,"props":4435,"children":4436},{"style":126},[4437],{"type":60,"value":129},{"type":55,"tag":113,"props":4439,"children":4440},{"style":132},[4441],{"type":60,"value":135},{"type":55,"tag":113,"props":4443,"children":4444},{"style":126},[4445],{"type":60,"value":140},{"type":55,"tag":113,"props":4447,"children":4448},{"style":120},[4449],{"type":60,"value":145},{"type":55,"tag":113,"props":4451,"children":4452},{"style":126},[4453],{"type":60,"value":150},{"type":55,"tag":113,"props":4455,"children":4456},{"style":153},[4457],{"type":60,"value":156},{"type":55,"tag":113,"props":4459,"children":4460},{"style":126},[4461],{"type":60,"value":161},{"type":55,"tag":113,"props":4463,"children":4464},{"class":115,"line":164},[4465],{"type":55,"tag":113,"props":4466,"children":4467},{"emptyLinePlaceholder":168},[4468],{"type":60,"value":171},{"type":55,"tag":113,"props":4470,"children":4471},{"class":115,"line":174},[4472,4476,4480,4485],{"type":55,"tag":113,"props":4473,"children":4474},{"style":120},[4475],{"type":60,"value":180},{"type":55,"tag":113,"props":4477,"children":4478},{"style":183},[4479],{"type":60,"value":186},{"type":55,"tag":113,"props":4481,"children":4482},{"style":189},[4483],{"type":60,"value":4484}," renderWithPolicy",{"type":55,"tag":113,"props":4486,"children":4487},{"style":126},[4488],{"type":60,"value":197},{"type":55,"tag":113,"props":4490,"children":4491},{"class":115,"line":200},[4492,4496,4500,4504],{"type":55,"tag":113,"props":4493,"children":4494},{"style":204},[4495],{"type":60,"value":207},{"type":55,"tag":113,"props":4497,"children":4498},{"style":126},[4499],{"type":60,"value":212},{"type":55,"tag":113,"props":4501,"children":4502},{"style":215},[4503],{"type":60,"value":218},{"type":55,"tag":113,"props":4505,"children":4506},{"style":126},[4507],{"type":60,"value":223},{"type":55,"tag":113,"props":4509,"children":4510},{"class":115,"line":226},[4511,4515,4519,4523,4527,4531,4535,4539,4543,4547],{"type":55,"tag":113,"props":4512,"children":4513},{"style":189},[4514],{"type":60,"value":232},{"type":55,"tag":113,"props":4516,"children":4517},{"style":126},[4518],{"type":60,"value":212},{"type":55,"tag":113,"props":4520,"children":4521},{"style":126},[4522],{"type":60,"value":241},{"type":55,"tag":113,"props":4524,"children":4525},{"style":204},[4526],{"type":60,"value":246},{"type":55,"tag":113,"props":4528,"children":4529},{"style":126},[4530],{"type":60,"value":212},{"type":55,"tag":113,"props":4532,"children":4533},{"style":215},[4534],{"type":60,"value":218},{"type":55,"tag":113,"props":4536,"children":4537},{"style":126},[4538],{"type":60,"value":259},{"type":55,"tag":113,"props":4540,"children":4541},{"style":183},[4542],{"type":60,"value":264},{"type":55,"tag":113,"props":4544,"children":4545},{"style":215},[4546],{"type":60,"value":218},{"type":55,"tag":113,"props":4548,"children":4549},{"style":126},[4550],{"type":60,"value":223},{"type":55,"tag":113,"props":4552,"children":4553},{"class":115,"line":275},[4554,4558,4562],{"type":55,"tag":113,"props":4555,"children":4556},{"style":126},[4557],{"type":60,"value":281},{"type":55,"tag":113,"props":4559,"children":4560},{"style":215},[4561],{"type":60,"value":218},{"type":55,"tag":113,"props":4563,"children":4564},{"style":126},[4565],{"type":60,"value":290},{"type":55,"tag":113,"props":4567,"children":4568},{"class":115,"line":293},[4569,4573,4577,4581,4585,4589,4593],{"type":55,"tag":113,"props":4570,"children":4571},{"style":120},[4572],{"type":60,"value":338},{"type":55,"tag":113,"props":4574,"children":4575},{"style":189},[4576],{"type":60,"value":343},{"type":55,"tag":113,"props":4578,"children":4579},{"style":316},[4580],{"type":60,"value":319},{"type":55,"tag":113,"props":4582,"children":4583},{"style":189},[4584],{"type":60,"value":383},{"type":55,"tag":113,"props":4586,"children":4587},{"style":316},[4588],{"type":60,"value":319},{"type":55,"tag":113,"props":4590,"children":4591},{"style":132},[4592],{"type":60,"value":324},{"type":55,"tag":113,"props":4594,"children":4595},{"style":316},[4596],{"type":60,"value":2744},{"type":55,"tag":113,"props":4598,"children":4599},{"class":115,"line":332},[4600],{"type":55,"tag":113,"props":4601,"children":4602},{"style":126},[4603],{"type":60,"value":364},{"type":55,"tag":56,"props":4605,"children":4606},{},[4607],{"type":60,"value":4608},"Core escaping and protocol filtering do not enforce application-specific outbound-link, image, or final-HTML policy.",{"type":55,"tag":56,"props":4610,"children":4611},{},[4612,4613],{"type":60,"value":2257},{"type":55,"tag":63,"props":4614,"children":4616},{"className":4615},[],[4617],{"type":60,"value":2263},{"type":55,"tag":90,"props":4619,"children":4621},{"id":4620},"high-assuming-complete-commonmark-behavior",[4622],{"type":60,"value":4623},"HIGH Assuming complete CommonMark behavior",{"type":55,"tag":56,"props":4625,"children":4626},{},[4627],{"type":60,"value":1967},{"type":55,"tag":102,"props":4629,"children":4631},{"className":104,"code":4630,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderArbitraryMarkdown(source: string): string {\n  return renderHtml(source)\n}\n",[4632],{"type":55,"tag":63,"props":4633,"children":4634},{"__ignoreMap":107},[4635,4670,4677,4721,4744],{"type":55,"tag":113,"props":4636,"children":4637},{"class":115,"line":116},[4638,4642,4646,4650,4654,4658,4662,4666],{"type":55,"tag":113,"props":4639,"children":4640},{"style":120},[4641],{"type":60,"value":123},{"type":55,"tag":113,"props":4643,"children":4644},{"style":126},[4645],{"type":60,"value":129},{"type":55,"tag":113,"props":4647,"children":4648},{"style":132},[4649],{"type":60,"value":135},{"type":55,"tag":113,"props":4651,"children":4652},{"style":126},[4653],{"type":60,"value":140},{"type":55,"tag":113,"props":4655,"children":4656},{"style":120},[4657],{"type":60,"value":145},{"type":55,"tag":113,"props":4659,"children":4660},{"style":126},[4661],{"type":60,"value":150},{"type":55,"tag":113,"props":4663,"children":4664},{"style":153},[4665],{"type":60,"value":156},{"type":55,"tag":113,"props":4667,"children":4668},{"style":126},[4669],{"type":60,"value":161},{"type":55,"tag":113,"props":4671,"children":4672},{"class":115,"line":164},[4673],{"type":55,"tag":113,"props":4674,"children":4675},{"emptyLinePlaceholder":168},[4676],{"type":60,"value":171},{"type":55,"tag":113,"props":4678,"children":4679},{"class":115,"line":174},[4680,4684,4688,4693,4697,4701,4705,4709,4713,4717],{"type":55,"tag":113,"props":4681,"children":4682},{"style":120},[4683],{"type":60,"value":180},{"type":55,"tag":113,"props":4685,"children":4686},{"style":183},[4687],{"type":60,"value":186},{"type":55,"tag":113,"props":4689,"children":4690},{"style":189},[4691],{"type":60,"value":4692}," renderArbitraryMarkdown",{"type":55,"tag":113,"props":4694,"children":4695},{"style":126},[4696],{"type":60,"value":319},{"type":55,"tag":113,"props":4698,"children":4699},{"style":204},[4700],{"type":60,"value":324},{"type":55,"tag":113,"props":4702,"children":4703},{"style":126},[4704],{"type":60,"value":212},{"type":55,"tag":113,"props":4706,"children":4707},{"style":215},[4708],{"type":60,"value":218},{"type":55,"tag":113,"props":4710,"children":4711},{"style":126},[4712],{"type":60,"value":281},{"type":55,"tag":113,"props":4714,"children":4715},{"style":215},[4716],{"type":60,"value":218},{"type":55,"tag":113,"props":4718,"children":4719},{"style":126},[4720],{"type":60,"value":290},{"type":55,"tag":113,"props":4722,"children":4723},{"class":115,"line":200},[4724,4728,4732,4736,4740],{"type":55,"tag":113,"props":4725,"children":4726},{"style":120},[4727],{"type":60,"value":338},{"type":55,"tag":113,"props":4729,"children":4730},{"style":189},[4731],{"type":60,"value":135},{"type":55,"tag":113,"props":4733,"children":4734},{"style":316},[4735],{"type":60,"value":319},{"type":55,"tag":113,"props":4737,"children":4738},{"style":132},[4739],{"type":60,"value":324},{"type":55,"tag":113,"props":4741,"children":4742},{"style":316},[4743],{"type":60,"value":329},{"type":55,"tag":113,"props":4745,"children":4746},{"class":115,"line":226},[4747],{"type":55,"tag":113,"props":4748,"children":4749},{"style":126},[4750],{"type":60,"value":364},{"type":55,"tag":56,"props":4752,"children":4753},{},[4754],{"type":60,"value":2120},{"type":55,"tag":102,"props":4756,"children":4758},{"className":104,"code":4757,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderControlledDocs(source: string): string {\n  return renderHtml(source)\n}\n",[4759],{"type":55,"tag":63,"props":4760,"children":4761},{"__ignoreMap":107},[4762,4797,4804,4848,4871],{"type":55,"tag":113,"props":4763,"children":4764},{"class":115,"line":116},[4765,4769,4773,4777,4781,4785,4789,4793],{"type":55,"tag":113,"props":4766,"children":4767},{"style":120},[4768],{"type":60,"value":123},{"type":55,"tag":113,"props":4770,"children":4771},{"style":126},[4772],{"type":60,"value":129},{"type":55,"tag":113,"props":4774,"children":4775},{"style":132},[4776],{"type":60,"value":135},{"type":55,"tag":113,"props":4778,"children":4779},{"style":126},[4780],{"type":60,"value":140},{"type":55,"tag":113,"props":4782,"children":4783},{"style":120},[4784],{"type":60,"value":145},{"type":55,"tag":113,"props":4786,"children":4787},{"style":126},[4788],{"type":60,"value":150},{"type":55,"tag":113,"props":4790,"children":4791},{"style":153},[4792],{"type":60,"value":156},{"type":55,"tag":113,"props":4794,"children":4795},{"style":126},[4796],{"type":60,"value":161},{"type":55,"tag":113,"props":4798,"children":4799},{"class":115,"line":164},[4800],{"type":55,"tag":113,"props":4801,"children":4802},{"emptyLinePlaceholder":168},[4803],{"type":60,"value":171},{"type":55,"tag":113,"props":4805,"children":4806},{"class":115,"line":174},[4807,4811,4815,4820,4824,4828,4832,4836,4840,4844],{"type":55,"tag":113,"props":4808,"children":4809},{"style":120},[4810],{"type":60,"value":180},{"type":55,"tag":113,"props":4812,"children":4813},{"style":183},[4814],{"type":60,"value":186},{"type":55,"tag":113,"props":4816,"children":4817},{"style":189},[4818],{"type":60,"value":4819}," renderControlledDocs",{"type":55,"tag":113,"props":4821,"children":4822},{"style":126},[4823],{"type":60,"value":319},{"type":55,"tag":113,"props":4825,"children":4826},{"style":204},[4827],{"type":60,"value":324},{"type":55,"tag":113,"props":4829,"children":4830},{"style":126},[4831],{"type":60,"value":212},{"type":55,"tag":113,"props":4833,"children":4834},{"style":215},[4835],{"type":60,"value":218},{"type":55,"tag":113,"props":4837,"children":4838},{"style":126},[4839],{"type":60,"value":281},{"type":55,"tag":113,"props":4841,"children":4842},{"style":215},[4843],{"type":60,"value":218},{"type":55,"tag":113,"props":4845,"children":4846},{"style":126},[4847],{"type":60,"value":290},{"type":55,"tag":113,"props":4849,"children":4850},{"class":115,"line":200},[4851,4855,4859,4863,4867],{"type":55,"tag":113,"props":4852,"children":4853},{"style":120},[4854],{"type":60,"value":338},{"type":55,"tag":113,"props":4856,"children":4857},{"style":189},[4858],{"type":60,"value":135},{"type":55,"tag":113,"props":4860,"children":4861},{"style":316},[4862],{"type":60,"value":319},{"type":55,"tag":113,"props":4864,"children":4865},{"style":132},[4866],{"type":60,"value":324},{"type":55,"tag":113,"props":4868,"children":4869},{"style":316},[4870],{"type":60,"value":329},{"type":55,"tag":113,"props":4872,"children":4873},{"class":115,"line":226},[4874],{"type":55,"tag":113,"props":4875,"children":4876},{"style":126},[4877],{"type":60,"value":364},{"type":55,"tag":56,"props":4879,"children":4880},{},[4881],{"type":60,"value":4882},"The package implements a documented docs\u002Fblog profile, not complete CommonMark, GFM, MDX, or arbitrary plugin behavior.",{"type":55,"tag":56,"props":4884,"children":4885},{},[4886,4887],{"type":60,"value":2257},{"type":55,"tag":63,"props":4888,"children":4890},{"className":4889},[],[4891],{"type":60,"value":4892},"docs\u002Fcore-concepts\u002Fsyntax-profile.md",{"type":55,"tag":90,"props":4894,"children":4896},{"id":4895},"medium-reparsing-unchanged-content",[4897],{"type":60,"value":4898},"MEDIUM Reparsing unchanged content",{"type":55,"tag":56,"props":4900,"children":4901},{},[4902],{"type":60,"value":1967},{"type":55,"tag":102,"props":4904,"children":4906},{"className":104,"code":4905,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function renderRequest(source: string): string {\n  return renderHtml(source)\n}\n",[4907],{"type":55,"tag":63,"props":4908,"children":4909},{"__ignoreMap":107},[4910,4945,4952,4996,5019],{"type":55,"tag":113,"props":4911,"children":4912},{"class":115,"line":116},[4913,4917,4921,4925,4929,4933,4937,4941],{"type":55,"tag":113,"props":4914,"children":4915},{"style":120},[4916],{"type":60,"value":123},{"type":55,"tag":113,"props":4918,"children":4919},{"style":126},[4920],{"type":60,"value":129},{"type":55,"tag":113,"props":4922,"children":4923},{"style":132},[4924],{"type":60,"value":135},{"type":55,"tag":113,"props":4926,"children":4927},{"style":126},[4928],{"type":60,"value":140},{"type":55,"tag":113,"props":4930,"children":4931},{"style":120},[4932],{"type":60,"value":145},{"type":55,"tag":113,"props":4934,"children":4935},{"style":126},[4936],{"type":60,"value":150},{"type":55,"tag":113,"props":4938,"children":4939},{"style":153},[4940],{"type":60,"value":156},{"type":55,"tag":113,"props":4942,"children":4943},{"style":126},[4944],{"type":60,"value":161},{"type":55,"tag":113,"props":4946,"children":4947},{"class":115,"line":164},[4948],{"type":55,"tag":113,"props":4949,"children":4950},{"emptyLinePlaceholder":168},[4951],{"type":60,"value":171},{"type":55,"tag":113,"props":4953,"children":4954},{"class":115,"line":174},[4955,4959,4963,4968,4972,4976,4980,4984,4988,4992],{"type":55,"tag":113,"props":4956,"children":4957},{"style":120},[4958],{"type":60,"value":180},{"type":55,"tag":113,"props":4960,"children":4961},{"style":183},[4962],{"type":60,"value":186},{"type":55,"tag":113,"props":4964,"children":4965},{"style":189},[4966],{"type":60,"value":4967}," renderRequest",{"type":55,"tag":113,"props":4969,"children":4970},{"style":126},[4971],{"type":60,"value":319},{"type":55,"tag":113,"props":4973,"children":4974},{"style":204},[4975],{"type":60,"value":324},{"type":55,"tag":113,"props":4977,"children":4978},{"style":126},[4979],{"type":60,"value":212},{"type":55,"tag":113,"props":4981,"children":4982},{"style":215},[4983],{"type":60,"value":218},{"type":55,"tag":113,"props":4985,"children":4986},{"style":126},[4987],{"type":60,"value":281},{"type":55,"tag":113,"props":4989,"children":4990},{"style":215},[4991],{"type":60,"value":218},{"type":55,"tag":113,"props":4993,"children":4994},{"style":126},[4995],{"type":60,"value":290},{"type":55,"tag":113,"props":4997,"children":4998},{"class":115,"line":200},[4999,5003,5007,5011,5015],{"type":55,"tag":113,"props":5000,"children":5001},{"style":120},[5002],{"type":60,"value":338},{"type":55,"tag":113,"props":5004,"children":5005},{"style":189},[5006],{"type":60,"value":135},{"type":55,"tag":113,"props":5008,"children":5009},{"style":316},[5010],{"type":60,"value":319},{"type":55,"tag":113,"props":5012,"children":5013},{"style":132},[5014],{"type":60,"value":324},{"type":55,"tag":113,"props":5016,"children":5017},{"style":316},[5018],{"type":60,"value":329},{"type":55,"tag":113,"props":5020,"children":5021},{"class":115,"line":226},[5022],{"type":55,"tag":113,"props":5023,"children":5024},{"style":126},[5025],{"type":60,"value":364},{"type":55,"tag":56,"props":5027,"children":5028},{},[5029],{"type":60,"value":2120},{"type":55,"tag":102,"props":5031,"children":5033},{"className":104,"code":5032,"language":106,"meta":107,"style":107},"import type { MarkdownDocument } from '@tanstack\u002Fmarkdown'\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nexport function compile(source: string): MarkdownDocument {\n  return parseMarkdown(source)\n}\n\nexport function renderRequest(document: MarkdownDocument): string {\n  return renderHtml(document)\n}\n",[5034],{"type":55,"tag":63,"props":5035,"children":5036},{"__ignoreMap":107},[5037,5076,5111,5146,5153,5197,5220,5227,5234,5277,5300],{"type":55,"tag":113,"props":5038,"children":5039},{"class":115,"line":116},[5040,5044,5048,5052,5056,5060,5064,5068,5072],{"type":55,"tag":113,"props":5041,"children":5042},{"style":120},[5043],{"type":60,"value":123},{"type":55,"tag":113,"props":5045,"children":5046},{"style":120},[5047],{"type":60,"value":1316},{"type":55,"tag":113,"props":5049,"children":5050},{"style":126},[5051],{"type":60,"value":129},{"type":55,"tag":113,"props":5053,"children":5054},{"style":132},[5055],{"type":60,"value":1325},{"type":55,"tag":113,"props":5057,"children":5058},{"style":126},[5059],{"type":60,"value":140},{"type":55,"tag":113,"props":5061,"children":5062},{"style":120},[5063],{"type":60,"value":145},{"type":55,"tag":113,"props":5065,"children":5066},{"style":126},[5067],{"type":60,"value":150},{"type":55,"tag":113,"props":5069,"children":5070},{"style":153},[5071],{"type":60,"value":35},{"type":55,"tag":113,"props":5073,"children":5074},{"style":126},[5075],{"type":60,"value":161},{"type":55,"tag":113,"props":5077,"children":5078},{"class":115,"line":164},[5079,5083,5087,5091,5095,5099,5103,5107],{"type":55,"tag":113,"props":5080,"children":5081},{"style":120},[5082],{"type":60,"value":123},{"type":55,"tag":113,"props":5084,"children":5085},{"style":126},[5086],{"type":60,"value":129},{"type":55,"tag":113,"props":5088,"children":5089},{"style":132},[5090],{"type":60,"value":135},{"type":55,"tag":113,"props":5092,"children":5093},{"style":126},[5094],{"type":60,"value":140},{"type":55,"tag":113,"props":5096,"children":5097},{"style":120},[5098],{"type":60,"value":145},{"type":55,"tag":113,"props":5100,"children":5101},{"style":126},[5102],{"type":60,"value":150},{"type":55,"tag":113,"props":5104,"children":5105},{"style":153},[5106],{"type":60,"value":156},{"type":55,"tag":113,"props":5108,"children":5109},{"style":126},[5110],{"type":60,"value":161},{"type":55,"tag":113,"props":5112,"children":5113},{"class":115,"line":174},[5114,5118,5122,5126,5130,5134,5138,5142],{"type":55,"tag":113,"props":5115,"children":5116},{"style":120},[5117],{"type":60,"value":123},{"type":55,"tag":113,"props":5119,"children":5120},{"style":126},[5121],{"type":60,"value":129},{"type":55,"tag":113,"props":5123,"children":5124},{"style":132},[5125],{"type":60,"value":960},{"type":55,"tag":113,"props":5127,"children":5128},{"style":126},[5129],{"type":60,"value":140},{"type":55,"tag":113,"props":5131,"children":5132},{"style":120},[5133],{"type":60,"value":145},{"type":55,"tag":113,"props":5135,"children":5136},{"style":126},[5137],{"type":60,"value":150},{"type":55,"tag":113,"props":5139,"children":5140},{"style":153},[5141],{"type":60,"value":977},{"type":55,"tag":113,"props":5143,"children":5144},{"style":126},[5145],{"type":60,"value":161},{"type":55,"tag":113,"props":5147,"children":5148},{"class":115,"line":200},[5149],{"type":55,"tag":113,"props":5150,"children":5151},{"emptyLinePlaceholder":168},[5152],{"type":60,"value":171},{"type":55,"tag":113,"props":5154,"children":5155},{"class":115,"line":226},[5156,5160,5164,5169,5173,5177,5181,5185,5189,5193],{"type":55,"tag":113,"props":5157,"children":5158},{"style":120},[5159],{"type":60,"value":180},{"type":55,"tag":113,"props":5161,"children":5162},{"style":183},[5163],{"type":60,"value":186},{"type":55,"tag":113,"props":5165,"children":5166},{"style":189},[5167],{"type":60,"value":5168}," compile",{"type":55,"tag":113,"props":5170,"children":5171},{"style":126},[5172],{"type":60,"value":319},{"type":55,"tag":113,"props":5174,"children":5175},{"style":204},[5176],{"type":60,"value":324},{"type":55,"tag":113,"props":5178,"children":5179},{"style":126},[5180],{"type":60,"value":212},{"type":55,"tag":113,"props":5182,"children":5183},{"style":215},[5184],{"type":60,"value":218},{"type":55,"tag":113,"props":5186,"children":5187},{"style":126},[5188],{"type":60,"value":281},{"type":55,"tag":113,"props":5190,"children":5191},{"style":215},[5192],{"type":60,"value":1325},{"type":55,"tag":113,"props":5194,"children":5195},{"style":126},[5196],{"type":60,"value":290},{"type":55,"tag":113,"props":5198,"children":5199},{"class":115,"line":275},[5200,5204,5208,5212,5216],{"type":55,"tag":113,"props":5201,"children":5202},{"style":120},[5203],{"type":60,"value":338},{"type":55,"tag":113,"props":5205,"children":5206},{"style":189},[5207],{"type":60,"value":960},{"type":55,"tag":113,"props":5209,"children":5210},{"style":316},[5211],{"type":60,"value":319},{"type":55,"tag":113,"props":5213,"children":5214},{"style":132},[5215],{"type":60,"value":324},{"type":55,"tag":113,"props":5217,"children":5218},{"style":316},[5219],{"type":60,"value":329},{"type":55,"tag":113,"props":5221,"children":5222},{"class":115,"line":293},[5223],{"type":55,"tag":113,"props":5224,"children":5225},{"style":126},[5226],{"type":60,"value":364},{"type":55,"tag":113,"props":5228,"children":5229},{"class":115,"line":332},[5230],{"type":55,"tag":113,"props":5231,"children":5232},{"emptyLinePlaceholder":168},[5233],{"type":60,"value":171},{"type":55,"tag":113,"props":5235,"children":5236},{"class":115,"line":20},[5237,5241,5245,5249,5253,5257,5261,5265,5269,5273],{"type":55,"tag":113,"props":5238,"children":5239},{"style":120},[5240],{"type":60,"value":180},{"type":55,"tag":113,"props":5242,"children":5243},{"style":183},[5244],{"type":60,"value":186},{"type":55,"tag":113,"props":5246,"children":5247},{"style":189},[5248],{"type":60,"value":4967},{"type":55,"tag":113,"props":5250,"children":5251},{"style":126},[5252],{"type":60,"value":319},{"type":55,"tag":113,"props":5254,"children":5255},{"style":204},[5256],{"type":60,"value":1650},{"type":55,"tag":113,"props":5258,"children":5259},{"style":126},[5260],{"type":60,"value":212},{"type":55,"tag":113,"props":5262,"children":5263},{"style":215},[5264],{"type":60,"value":1325},{"type":55,"tag":113,"props":5266,"children":5267},{"style":126},[5268],{"type":60,"value":281},{"type":55,"tag":113,"props":5270,"children":5271},{"style":215},[5272],{"type":60,"value":218},{"type":55,"tag":113,"props":5274,"children":5275},{"style":126},[5276],{"type":60,"value":290},{"type":55,"tag":113,"props":5278,"children":5279},{"class":115,"line":1180},[5280,5284,5288,5292,5296],{"type":55,"tag":113,"props":5281,"children":5282},{"style":120},[5283],{"type":60,"value":338},{"type":55,"tag":113,"props":5285,"children":5286},{"style":189},[5287],{"type":60,"value":135},{"type":55,"tag":113,"props":5289,"children":5290},{"style":316},[5291],{"type":60,"value":319},{"type":55,"tag":113,"props":5293,"children":5294},{"style":132},[5295],{"type":60,"value":1650},{"type":55,"tag":113,"props":5297,"children":5298},{"style":316},[5299],{"type":60,"value":329},{"type":55,"tag":113,"props":5301,"children":5302},{"class":115,"line":1226},[5303],{"type":55,"tag":113,"props":5304,"children":5305},{"style":126},[5306],{"type":60,"value":364},{"type":55,"tag":56,"props":5308,"children":5309},{},[5310,5312,5318],{"type":60,"value":5311},"String render inputs parse the complete document, while a cached ",{"type":55,"tag":63,"props":5313,"children":5315},{"className":5314},[],[5316],{"type":60,"value":5317},"MarkdownDocument",{"type":60,"value":5319}," skips that work.",{"type":55,"tag":56,"props":5321,"children":5322},{},[5323,5324],{"type":60,"value":2257},{"type":55,"tag":63,"props":5325,"children":5327},{"className":5326},[],[5328],{"type":60,"value":5329},"docs\u002Fcore-concepts\u002Fdocument-model.md",{"type":55,"tag":90,"props":5331,"children":5333},{"id":5332},"high-injecting-html-into-react",[5334],{"type":60,"value":5335},"HIGH Injecting HTML into React",{"type":55,"tag":56,"props":5337,"children":5338},{},[5339],{"type":60,"value":1967},{"type":55,"tag":102,"props":5341,"children":5343},{"className":3827,"code":5342,"language":3829,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nexport function Article({ source }: { source: string }) {\n  const html = renderHtml(source)\n  return \u003Carticle dangerouslySetInnerHTML={{ __html: html }} \u002F>\n}\n",[5344],{"type":55,"tag":63,"props":5345,"children":5346},{"__ignoreMap":107},[5347,5382,5389,5440,5472,5516],{"type":55,"tag":113,"props":5348,"children":5349},{"class":115,"line":116},[5350,5354,5358,5362,5366,5370,5374,5378],{"type":55,"tag":113,"props":5351,"children":5352},{"style":120},[5353],{"type":60,"value":123},{"type":55,"tag":113,"props":5355,"children":5356},{"style":126},[5357],{"type":60,"value":129},{"type":55,"tag":113,"props":5359,"children":5360},{"style":132},[5361],{"type":60,"value":135},{"type":55,"tag":113,"props":5363,"children":5364},{"style":126},[5365],{"type":60,"value":140},{"type":55,"tag":113,"props":5367,"children":5368},{"style":120},[5369],{"type":60,"value":145},{"type":55,"tag":113,"props":5371,"children":5372},{"style":126},[5373],{"type":60,"value":150},{"type":55,"tag":113,"props":5375,"children":5376},{"style":153},[5377],{"type":60,"value":156},{"type":55,"tag":113,"props":5379,"children":5380},{"style":126},[5381],{"type":60,"value":161},{"type":55,"tag":113,"props":5383,"children":5384},{"class":115,"line":164},[5385],{"type":55,"tag":113,"props":5386,"children":5387},{"emptyLinePlaceholder":168},[5388],{"type":60,"value":171},{"type":55,"tag":113,"props":5390,"children":5391},{"class":115,"line":174},[5392,5396,5400,5404,5408,5412,5416,5420,5424,5428,5432,5436],{"type":55,"tag":113,"props":5393,"children":5394},{"style":120},[5395],{"type":60,"value":180},{"type":55,"tag":113,"props":5397,"children":5398},{"style":183},[5399],{"type":60,"value":186},{"type":55,"tag":113,"props":5401,"children":5402},{"style":189},[5403],{"type":60,"value":3930},{"type":55,"tag":113,"props":5405,"children":5406},{"style":126},[5407],{"type":60,"value":3935},{"type":55,"tag":113,"props":5409,"children":5410},{"style":204},[5411],{"type":60,"value":1524},{"type":55,"tag":113,"props":5413,"children":5414},{"style":126},[5415],{"type":60,"value":3944},{"type":55,"tag":113,"props":5417,"children":5418},{"style":126},[5419],{"type":60,"value":129},{"type":55,"tag":113,"props":5421,"children":5422},{"style":316},[5423],{"type":60,"value":1524},{"type":55,"tag":113,"props":5425,"children":5426},{"style":126},[5427],{"type":60,"value":212},{"type":55,"tag":113,"props":5429,"children":5430},{"style":215},[5431],{"type":60,"value":218},{"type":55,"tag":113,"props":5433,"children":5434},{"style":126},[5435],{"type":60,"value":3965},{"type":55,"tag":113,"props":5437,"children":5438},{"style":126},[5439],{"type":60,"value":290},{"type":55,"tag":113,"props":5441,"children":5442},{"class":115,"line":200},[5443,5447,5452,5456,5460,5464,5468],{"type":55,"tag":113,"props":5444,"children":5445},{"style":183},[5446],{"type":60,"value":299},{"type":55,"tag":113,"props":5448,"children":5449},{"style":132},[5450],{"type":60,"value":5451}," html",{"type":55,"tag":113,"props":5453,"children":5454},{"style":126},[5455],{"type":60,"value":309},{"type":55,"tag":113,"props":5457,"children":5458},{"style":189},[5459],{"type":60,"value":135},{"type":55,"tag":113,"props":5461,"children":5462},{"style":316},[5463],{"type":60,"value":319},{"type":55,"tag":113,"props":5465,"children":5466},{"style":132},[5467],{"type":60,"value":324},{"type":55,"tag":113,"props":5469,"children":5470},{"style":316},[5471],{"type":60,"value":329},{"type":55,"tag":113,"props":5473,"children":5474},{"class":115,"line":226},[5475,5479,5483,5488,5493,5498,5503,5507,5511],{"type":55,"tag":113,"props":5476,"children":5477},{"style":120},[5478],{"type":60,"value":338},{"type":55,"tag":113,"props":5480,"children":5481},{"style":126},[5482],{"type":60,"value":3981},{"type":55,"tag":113,"props":5484,"children":5485},{"style":316},[5486],{"type":60,"value":5487},"article",{"type":55,"tag":113,"props":5489,"children":5490},{"style":183},[5491],{"type":60,"value":5492}," dangerouslySetInnerHTML",{"type":55,"tag":113,"props":5494,"children":5495},{"style":126},[5496],{"type":60,"value":5497},"={{",{"type":55,"tag":113,"props":5499,"children":5500},{"style":316},[5501],{"type":60,"value":5502}," __html",{"type":55,"tag":113,"props":5504,"children":5505},{"style":126},[5506],{"type":60,"value":212},{"type":55,"tag":113,"props":5508,"children":5509},{"style":132},[5510],{"type":60,"value":677},{"type":55,"tag":113,"props":5512,"children":5513},{"style":126},[5514],{"type":60,"value":5515},"}} \u002F>\n",{"type":55,"tag":113,"props":5517,"children":5518},{"class":115,"line":275},[5519],{"type":55,"tag":113,"props":5520,"children":5521},{"style":126},[5522],{"type":60,"value":364},{"type":55,"tag":56,"props":5524,"children":5525},{},[5526],{"type":60,"value":2120},{"type":55,"tag":102,"props":5528,"children":5530},{"className":3827,"code":5529,"language":3829,"meta":107,"style":107},"import { Markdown } from '@tanstack\u002Fmarkdown\u002Freact'\n\nexport function Article({ source }: { source: string }) {\n  return \u003Carticle>\u003CMarkdown>{source}\u003C\u002FMarkdown>\u003C\u002Farticle>\n}\n",[5531],{"type":55,"tag":63,"props":5532,"children":5533},{"__ignoreMap":107},[5534,5569,5576,5627,5681],{"type":55,"tag":113,"props":5535,"children":5536},{"class":115,"line":116},[5537,5541,5545,5549,5553,5557,5561,5565],{"type":55,"tag":113,"props":5538,"children":5539},{"style":120},[5540],{"type":60,"value":123},{"type":55,"tag":113,"props":5542,"children":5543},{"style":126},[5544],{"type":60,"value":129},{"type":55,"tag":113,"props":5546,"children":5547},{"style":132},[5548],{"type":60,"value":3849},{"type":55,"tag":113,"props":5550,"children":5551},{"style":126},[5552],{"type":60,"value":140},{"type":55,"tag":113,"props":5554,"children":5555},{"style":120},[5556],{"type":60,"value":145},{"type":55,"tag":113,"props":5558,"children":5559},{"style":126},[5560],{"type":60,"value":150},{"type":55,"tag":113,"props":5562,"children":5563},{"style":153},[5564],{"type":60,"value":3866},{"type":55,"tag":113,"props":5566,"children":5567},{"style":126},[5568],{"type":60,"value":161},{"type":55,"tag":113,"props":5570,"children":5571},{"class":115,"line":164},[5572],{"type":55,"tag":113,"props":5573,"children":5574},{"emptyLinePlaceholder":168},[5575],{"type":60,"value":171},{"type":55,"tag":113,"props":5577,"children":5578},{"class":115,"line":174},[5579,5583,5587,5591,5595,5599,5603,5607,5611,5615,5619,5623],{"type":55,"tag":113,"props":5580,"children":5581},{"style":120},[5582],{"type":60,"value":180},{"type":55,"tag":113,"props":5584,"children":5585},{"style":183},[5586],{"type":60,"value":186},{"type":55,"tag":113,"props":5588,"children":5589},{"style":189},[5590],{"type":60,"value":3930},{"type":55,"tag":113,"props":5592,"children":5593},{"style":126},[5594],{"type":60,"value":3935},{"type":55,"tag":113,"props":5596,"children":5597},{"style":204},[5598],{"type":60,"value":1524},{"type":55,"tag":113,"props":5600,"children":5601},{"style":126},[5602],{"type":60,"value":3944},{"type":55,"tag":113,"props":5604,"children":5605},{"style":126},[5606],{"type":60,"value":129},{"type":55,"tag":113,"props":5608,"children":5609},{"style":316},[5610],{"type":60,"value":1524},{"type":55,"tag":113,"props":5612,"children":5613},{"style":126},[5614],{"type":60,"value":212},{"type":55,"tag":113,"props":5616,"children":5617},{"style":215},[5618],{"type":60,"value":218},{"type":55,"tag":113,"props":5620,"children":5621},{"style":126},[5622],{"type":60,"value":3965},{"type":55,"tag":113,"props":5624,"children":5625},{"style":126},[5626],{"type":60,"value":290},{"type":55,"tag":113,"props":5628,"children":5629},{"class":115,"line":200},[5630,5634,5638,5642,5647,5651,5656,5660,5664,5668,5673,5677],{"type":55,"tag":113,"props":5631,"children":5632},{"style":120},[5633],{"type":60,"value":338},{"type":55,"tag":113,"props":5635,"children":5636},{"style":126},[5637],{"type":60,"value":3981},{"type":55,"tag":113,"props":5639,"children":5640},{"style":316},[5641],{"type":60,"value":5487},{"type":55,"tag":113,"props":5643,"children":5644},{"style":126},[5645],{"type":60,"value":5646},">\u003C",{"type":55,"tag":113,"props":5648,"children":5649},{"style":215},[5650],{"type":60,"value":13},{"type":55,"tag":113,"props":5652,"children":5653},{"style":126},[5654],{"type":60,"value":5655},">{",{"type":55,"tag":113,"props":5657,"children":5658},{"style":132},[5659],{"type":60,"value":324},{"type":55,"tag":113,"props":5661,"children":5662},{"style":126},[5663],{"type":60,"value":4039},{"type":55,"tag":113,"props":5665,"children":5666},{"style":215},[5667],{"type":60,"value":13},{"type":55,"tag":113,"props":5669,"children":5670},{"style":126},[5671],{"type":60,"value":5672},">\u003C\u002F",{"type":55,"tag":113,"props":5674,"children":5675},{"style":316},[5676],{"type":60,"value":5487},{"type":55,"tag":113,"props":5678,"children":5679},{"style":126},[5680],{"type":60,"value":4048},{"type":55,"tag":113,"props":5682,"children":5683},{"class":115,"line":226},[5684],{"type":55,"tag":113,"props":5685,"children":5686},{"style":126},[5687],{"type":60,"value":364},{"type":55,"tag":56,"props":5689,"children":5690},{},[5691],{"type":60,"value":5692},"The HTML string adds a trusted insertion boundary and bypasses React component replacement.",{"type":55,"tag":56,"props":5694,"children":5695},{},[5696,5697],{"type":60,"value":2257},{"type":55,"tag":63,"props":5698,"children":5700},{"className":5699},[],[5701],{"type":60,"value":5702},"docs\u002Fguides\u002Freact.md",{"type":55,"tag":90,"props":5704,"children":5706},{"id":5705},"medium-expecting-fence-metadata-to-highlight",[5707],{"type":60,"value":5708},"MEDIUM Expecting fence metadata to highlight",{"type":55,"tag":56,"props":5710,"children":5711},{},[5712],{"type":60,"value":1967},{"type":55,"tag":102,"props":5714,"children":5716},{"className":104,"code":5715,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst source = '```ts {1}\\nconst answer = 42\\n```'\nconsole.log(renderHtml(source))\n",[5717],{"type":55,"tag":63,"props":5718,"children":5719},{"__ignoreMap":107},[5720,5755,5762,5805],{"type":55,"tag":113,"props":5721,"children":5722},{"class":115,"line":116},[5723,5727,5731,5735,5739,5743,5747,5751],{"type":55,"tag":113,"props":5724,"children":5725},{"style":120},[5726],{"type":60,"value":123},{"type":55,"tag":113,"props":5728,"children":5729},{"style":126},[5730],{"type":60,"value":129},{"type":55,"tag":113,"props":5732,"children":5733},{"style":132},[5734],{"type":60,"value":135},{"type":55,"tag":113,"props":5736,"children":5737},{"style":126},[5738],{"type":60,"value":140},{"type":55,"tag":113,"props":5740,"children":5741},{"style":120},[5742],{"type":60,"value":145},{"type":55,"tag":113,"props":5744,"children":5745},{"style":126},[5746],{"type":60,"value":150},{"type":55,"tag":113,"props":5748,"children":5749},{"style":153},[5750],{"type":60,"value":156},{"type":55,"tag":113,"props":5752,"children":5753},{"style":126},[5754],{"type":60,"value":161},{"type":55,"tag":113,"props":5756,"children":5757},{"class":115,"line":164},[5758],{"type":55,"tag":113,"props":5759,"children":5760},{"emptyLinePlaceholder":168},[5761],{"type":60,"value":171},{"type":55,"tag":113,"props":5763,"children":5764},{"class":115,"line":174},[5765,5769,5773,5777,5781,5785,5789,5793,5797,5801],{"type":55,"tag":113,"props":5766,"children":5767},{"style":183},[5768],{"type":60,"value":604},{"type":55,"tag":113,"props":5770,"children":5771},{"style":132},[5772],{"type":60,"value":1000},{"type":55,"tag":113,"props":5774,"children":5775},{"style":126},[5776],{"type":60,"value":614},{"type":55,"tag":113,"props":5778,"children":5779},{"style":126},[5780],{"type":60,"value":150},{"type":55,"tag":113,"props":5782,"children":5783},{"style":153},[5784],{"type":60,"value":699},{"type":55,"tag":113,"props":5786,"children":5787},{"style":132},[5788],{"type":60,"value":704},{"type":55,"tag":113,"props":5790,"children":5791},{"style":153},[5792],{"type":60,"value":709},{"type":55,"tag":113,"props":5794,"children":5795},{"style":132},[5796],{"type":60,"value":704},{"type":55,"tag":113,"props":5798,"children":5799},{"style":153},[5800],{"type":60,"value":718},{"type":55,"tag":113,"props":5802,"children":5803},{"style":126},[5804],{"type":60,"value":161},{"type":55,"tag":113,"props":5806,"children":5807},{"class":115,"line":200},[5808,5812,5816,5820,5824,5828],{"type":55,"tag":113,"props":5809,"children":5810},{"style":132},[5811],{"type":60,"value":2606},{"type":55,"tag":113,"props":5813,"children":5814},{"style":126},[5815],{"type":60,"value":1062},{"type":55,"tag":113,"props":5817,"children":5818},{"style":189},[5819],{"type":60,"value":2615},{"type":55,"tag":113,"props":5821,"children":5822},{"style":132},[5823],{"type":60,"value":319},{"type":55,"tag":113,"props":5825,"children":5826},{"style":189},[5827],{"type":60,"value":383},{"type":55,"tag":113,"props":5829,"children":5830},{"style":132},[5831],{"type":60,"value":1081},{"type":55,"tag":56,"props":5833,"children":5834},{},[5835],{"type":60,"value":2120},{"type":55,"tag":102,"props":5837,"children":5839},{"className":104,"code":5838,"language":106,"meta":107,"style":107},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nfunction escapeCode(code: string): string {\n  return code.replace(\u002F[&\u003C>]\u002Fg, (character) => ({\n    '&': '&amp;',\n    '\u003C': '&lt;',\n    '>': '&gt;',\n  })[character] ?? character)\n}\n\nconst source = '```ts {1}\\nconst answer = 42\\n```'\nconsole.log(renderHtml(source, { highlighter: escapeCode }))\n",[5840],{"type":55,"tag":63,"props":5841,"children":5842},{"__ignoreMap":107},[5843,5878,5885,5924,5991,6026,6061,6096,6127,6134,6141,6184],{"type":55,"tag":113,"props":5844,"children":5845},{"class":115,"line":116},[5846,5850,5854,5858,5862,5866,5870,5874],{"type":55,"tag":113,"props":5847,"children":5848},{"style":120},[5849],{"type":60,"value":123},{"type":55,"tag":113,"props":5851,"children":5852},{"style":126},[5853],{"type":60,"value":129},{"type":55,"tag":113,"props":5855,"children":5856},{"style":132},[5857],{"type":60,"value":135},{"type":55,"tag":113,"props":5859,"children":5860},{"style":126},[5861],{"type":60,"value":140},{"type":55,"tag":113,"props":5863,"children":5864},{"style":120},[5865],{"type":60,"value":145},{"type":55,"tag":113,"props":5867,"children":5868},{"style":126},[5869],{"type":60,"value":150},{"type":55,"tag":113,"props":5871,"children":5872},{"style":153},[5873],{"type":60,"value":156},{"type":55,"tag":113,"props":5875,"children":5876},{"style":126},[5877],{"type":60,"value":161},{"type":55,"tag":113,"props":5879,"children":5880},{"class":115,"line":164},[5881],{"type":55,"tag":113,"props":5882,"children":5883},{"emptyLinePlaceholder":168},[5884],{"type":60,"value":171},{"type":55,"tag":113,"props":5886,"children":5887},{"class":115,"line":174},[5888,5892,5896,5900,5904,5908,5912,5916,5920],{"type":55,"tag":113,"props":5889,"children":5890},{"style":183},[5891],{"type":60,"value":2330},{"type":55,"tag":113,"props":5893,"children":5894},{"style":189},[5895],{"type":60,"value":2335},{"type":55,"tag":113,"props":5897,"children":5898},{"style":126},[5899],{"type":60,"value":319},{"type":55,"tag":113,"props":5901,"children":5902},{"style":204},[5903],{"type":60,"value":63},{"type":55,"tag":113,"props":5905,"children":5906},{"style":126},[5907],{"type":60,"value":212},{"type":55,"tag":113,"props":5909,"children":5910},{"style":215},[5911],{"type":60,"value":218},{"type":55,"tag":113,"props":5913,"children":5914},{"style":126},[5915],{"type":60,"value":281},{"type":55,"tag":113,"props":5917,"children":5918},{"style":215},[5919],{"type":60,"value":218},{"type":55,"tag":113,"props":5921,"children":5922},{"style":126},[5923],{"type":60,"value":290},{"type":55,"tag":113,"props":5925,"children":5926},{"class":115,"line":200},[5927,5931,5935,5939,5943,5947,5951,5955,5959,5963,5967,5971,5975,5979,5983,5987],{"type":55,"tag":113,"props":5928,"children":5929},{"style":120},[5930],{"type":60,"value":338},{"type":55,"tag":113,"props":5932,"children":5933},{"style":132},[5934],{"type":60,"value":2375},{"type":55,"tag":113,"props":5936,"children":5937},{"style":126},[5938],{"type":60,"value":1062},{"type":55,"tag":113,"props":5940,"children":5941},{"style":189},[5942],{"type":60,"value":2384},{"type":55,"tag":113,"props":5944,"children":5945},{"style":316},[5946],{"type":60,"value":319},{"type":55,"tag":113,"props":5948,"children":5949},{"style":126},[5950],{"type":60,"value":2393},{"type":55,"tag":113,"props":5952,"children":5953},{"style":153},[5954],{"type":60,"value":2398},{"type":55,"tag":113,"props":5956,"children":5957},{"style":126},[5958],{"type":60,"value":2403},{"type":55,"tag":113,"props":5960,"children":5961},{"style":2406},[5962],{"type":60,"value":2409},{"type":55,"tag":113,"props":5964,"children":5965},{"style":126},[5966],{"type":60,"value":646},{"type":55,"tag":113,"props":5968,"children":5969},{"style":126},[5970],{"type":60,"value":241},{"type":55,"tag":113,"props":5972,"children":5973},{"style":204},[5974],{"type":60,"value":2422},{"type":55,"tag":113,"props":5976,"children":5977},{"style":126},[5978],{"type":60,"value":259},{"type":55,"tag":113,"props":5980,"children":5981},{"style":183},[5982],{"type":60,"value":264},{"type":55,"tag":113,"props":5984,"children":5985},{"style":316},[5986],{"type":60,"value":241},{"type":55,"tag":113,"props":5988,"children":5989},{"style":126},[5990],{"type":60,"value":1223},{"type":55,"tag":113,"props":5992,"children":5993},{"class":115,"line":226},[5994,5998,6002,6006,6010,6014,6018,6022],{"type":55,"tag":113,"props":5995,"children":5996},{"style":126},[5997],{"type":60,"value":2446},{"type":55,"tag":113,"props":5999,"children":6000},{"style":316},[6001],{"type":60,"value":2451},{"type":55,"tag":113,"props":6003,"children":6004},{"style":126},[6005],{"type":60,"value":694},{"type":55,"tag":113,"props":6007,"children":6008},{"style":126},[6009],{"type":60,"value":212},{"type":55,"tag":113,"props":6011,"children":6012},{"style":126},[6013],{"type":60,"value":150},{"type":55,"tag":113,"props":6015,"children":6016},{"style":153},[6017],{"type":60,"value":2468},{"type":55,"tag":113,"props":6019,"children":6020},{"style":126},[6021],{"type":60,"value":694},{"type":55,"tag":113,"props":6023,"children":6024},{"style":126},[6025],{"type":60,"value":223},{"type":55,"tag":113,"props":6027,"children":6028},{"class":115,"line":275},[6029,6033,6037,6041,6045,6049,6053,6057],{"type":55,"tag":113,"props":6030,"children":6031},{"style":126},[6032],{"type":60,"value":2446},{"type":55,"tag":113,"props":6034,"children":6035},{"style":316},[6036],{"type":60,"value":1452},{"type":55,"tag":113,"props":6038,"children":6039},{"style":126},[6040],{"type":60,"value":694},{"type":55,"tag":113,"props":6042,"children":6043},{"style":126},[6044],{"type":60,"value":212},{"type":55,"tag":113,"props":6046,"children":6047},{"style":126},[6048],{"type":60,"value":150},{"type":55,"tag":113,"props":6050,"children":6051},{"style":153},[6052],{"type":60,"value":2504},{"type":55,"tag":113,"props":6054,"children":6055},{"style":126},[6056],{"type":60,"value":694},{"type":55,"tag":113,"props":6058,"children":6059},{"style":126},[6060],{"type":60,"value":223},{"type":55,"tag":113,"props":6062,"children":6063},{"class":115,"line":293},[6064,6068,6072,6076,6080,6084,6088,6092],{"type":55,"tag":113,"props":6065,"children":6066},{"style":126},[6067],{"type":60,"value":2446},{"type":55,"tag":113,"props":6069,"children":6070},{"style":316},[6071],{"type":60,"value":1470},{"type":55,"tag":113,"props":6073,"children":6074},{"style":126},[6075],{"type":60,"value":694},{"type":55,"tag":113,"props":6077,"children":6078},{"style":126},[6079],{"type":60,"value":212},{"type":55,"tag":113,"props":6081,"children":6082},{"style":126},[6083],{"type":60,"value":150},{"type":55,"tag":113,"props":6085,"children":6086},{"style":153},[6087],{"type":60,"value":2540},{"type":55,"tag":113,"props":6089,"children":6090},{"style":126},[6091],{"type":60,"value":694},{"type":55,"tag":113,"props":6093,"children":6094},{"style":126},[6095],{"type":60,"value":223},{"type":55,"tag":113,"props":6097,"children":6098},{"class":115,"line":332},[6099,6103,6107,6111,6115,6119,6123],{"type":55,"tag":113,"props":6100,"children":6101},{"style":126},[6102],{"type":60,"value":2556},{"type":55,"tag":113,"props":6104,"children":6105},{"style":316},[6106],{"type":60,"value":2561},{"type":55,"tag":113,"props":6108,"children":6109},{"style":132},[6110],{"type":60,"value":2422},{"type":55,"tag":113,"props":6112,"children":6113},{"style":316},[6114],{"type":60,"value":2570},{"type":55,"tag":113,"props":6116,"children":6117},{"style":126},[6118],{"type":60,"value":2575},{"type":55,"tag":113,"props":6120,"children":6121},{"style":132},[6122],{"type":60,"value":2580},{"type":55,"tag":113,"props":6124,"children":6125},{"style":316},[6126],{"type":60,"value":329},{"type":55,"tag":113,"props":6128,"children":6129},{"class":115,"line":20},[6130],{"type":55,"tag":113,"props":6131,"children":6132},{"style":126},[6133],{"type":60,"value":364},{"type":55,"tag":113,"props":6135,"children":6136},{"class":115,"line":1180},[6137],{"type":55,"tag":113,"props":6138,"children":6139},{"emptyLinePlaceholder":168},[6140],{"type":60,"value":171},{"type":55,"tag":113,"props":6142,"children":6143},{"class":115,"line":1226},[6144,6148,6152,6156,6160,6164,6168,6172,6176,6180],{"type":55,"tag":113,"props":6145,"children":6146},{"style":183},[6147],{"type":60,"value":604},{"type":55,"tag":113,"props":6149,"children":6150},{"style":132},[6151],{"type":60,"value":1000},{"type":55,"tag":113,"props":6153,"children":6154},{"style":126},[6155],{"type":60,"value":614},{"type":55,"tag":113,"props":6157,"children":6158},{"style":126},[6159],{"type":60,"value":150},{"type":55,"tag":113,"props":6161,"children":6162},{"style":153},[6163],{"type":60,"value":699},{"type":55,"tag":113,"props":6165,"children":6166},{"style":132},[6167],{"type":60,"value":704},{"type":55,"tag":113,"props":6169,"children":6170},{"style":153},[6171],{"type":60,"value":709},{"type":55,"tag":113,"props":6173,"children":6174},{"style":132},[6175],{"type":60,"value":704},{"type":55,"tag":113,"props":6177,"children":6178},{"style":153},[6179],{"type":60,"value":718},{"type":55,"tag":113,"props":6181,"children":6182},{"style":126},[6183],{"type":60,"value":161},{"type":55,"tag":113,"props":6185,"children":6186},{"class":115,"line":1266},[6187,6191,6195,6199,6203,6207,6211,6215,6219,6223,6227,6231,6235],{"type":55,"tag":113,"props":6188,"children":6189},{"style":132},[6190],{"type":60,"value":2606},{"type":55,"tag":113,"props":6192,"children":6193},{"style":126},[6194],{"type":60,"value":1062},{"type":55,"tag":113,"props":6196,"children":6197},{"style":189},[6198],{"type":60,"value":2615},{"type":55,"tag":113,"props":6200,"children":6201},{"style":132},[6202],{"type":60,"value":319},{"type":55,"tag":113,"props":6204,"children":6205},{"style":189},[6206],{"type":60,"value":383},{"type":55,"tag":113,"props":6208,"children":6209},{"style":132},[6210],{"type":60,"value":3346},{"type":55,"tag":113,"props":6212,"children":6213},{"style":126},[6214],{"type":60,"value":646},{"type":55,"tag":113,"props":6216,"children":6217},{"style":126},[6218],{"type":60,"value":129},{"type":55,"tag":113,"props":6220,"children":6221},{"style":316},[6222],{"type":60,"value":3359},{"type":55,"tag":113,"props":6224,"children":6225},{"style":126},[6226],{"type":60,"value":212},{"type":55,"tag":113,"props":6228,"children":6229},{"style":132},[6230],{"type":60,"value":3792},{"type":55,"tag":113,"props":6232,"children":6233},{"style":126},[6234],{"type":60,"value":656},{"type":55,"tag":113,"props":6236,"children":6237},{"style":132},[6238],{"type":60,"value":2744},{"type":55,"tag":56,"props":6240,"children":6241},{},[6242],{"type":60,"value":6243},"Fence metadata enters the AST, but token markup requires an external highlighter.",{"type":55,"tag":56,"props":6245,"children":6246},{},[6247,6248],{"type":60,"value":2257},{"type":55,"tag":63,"props":6249,"children":6251},{"className":6250},[],[6252],{"type":60,"value":4892},{"type":55,"tag":83,"props":6254,"children":6256},{"id":6255},"tensions",[6257],{"type":60,"value":6258},"Tensions",{"type":55,"tag":90,"props":6260,"children":6262},{"id":6261},"compatibility-breadth-versus-bundle-budget",[6263],{"type":60,"value":6264},"Compatibility breadth versus bundle budget",{"type":55,"tag":56,"props":6266,"children":6267},{},[6268],{"type":60,"value":6269},"Do not maximize conformance by default. Require target-corpus evidence, renderer coverage, and measured bundle cost before adding syntax.",{"type":55,"tag":90,"props":6271,"children":6273},{"id":6272},"rich-trusted-output-versus-untrusted-content-safety",[6274],{"type":60,"value":6275},"Rich trusted output versus untrusted-content safety",{"type":55,"tag":56,"props":6277,"children":6278},{},[6279],{"type":60,"value":6280},"Do not enable raw HTML, extension HTML, or highlighter markup globally to solve presentation needs. Scope each trusted callback to controlled content.",{"type":55,"tag":90,"props":6282,"children":6284},{"id":6283},"parse-ahead-performance-versus-option-timing",[6285],{"type":60,"value":6286},"Parse-ahead performance versus option timing",{"type":55,"tag":56,"props":6288,"children":6289},{},[6290],{"type":60,"value":6291},"Build cached ASTs with final parser options and document transforms. Keep required HTML render hooks active when rendering those cached documents.",{"type":55,"tag":83,"props":6293,"children":6295},{"id":6294},"pre-deploy-summary",[6296],{"type":60,"value":6297},"Pre-Deploy Summary",{"type":55,"tag":6299,"props":6300,"children":6303},"ul",{"className":6301},[6302],"contains-task-list",[6304,6317,6326,6335,6344,6353,6362,6371,6380,6389],{"type":55,"tag":6305,"props":6306,"children":6309},"li",{"className":6307},[6308],"task-list-item",[6310,6315],{"type":55,"tag":6311,"props":6312,"children":6314},"input",{"disabled":168,"type":6313},"checkbox",[],{"type":60,"value":6316}," Every content source is classified as trusted or untrusted.",{"type":55,"tag":6305,"props":6318,"children":6320},{"className":6319},[6308],[6321,6324],{"type":55,"tag":6311,"props":6322,"children":6323},{"disabled":168,"type":6313},[],{"type":60,"value":6325}," Raw HTML, extension HTML, and highlighter output have explicit owners.",{"type":55,"tag":6305,"props":6327,"children":6329},{"className":6328},[6308],[6330,6333],{"type":55,"tag":6311,"props":6331,"children":6332},{"disabled":168,"type":6313},[],{"type":60,"value":6334}," Application link, image, and final-sanitization policies are enforced.",{"type":55,"tag":6305,"props":6336,"children":6338},{"className":6337},[6308],[6339,6342],{"type":55,"tag":6311,"props":6340,"children":6341},{"disabled":168,"type":6313},[],{"type":60,"value":6343}," The downstream corpus passes deterministic AST and renderer checks.",{"type":55,"tag":6305,"props":6345,"children":6347},{"className":6346},[6308],[6348,6351],{"type":55,"tag":6311,"props":6349,"children":6350},{"disabled":168,"type":6313},[],{"type":60,"value":6352}," Unsupported syntax is documented rather than silently assumed.",{"type":55,"tag":6305,"props":6354,"children":6356},{"className":6355},[6308],[6357,6360],{"type":55,"tag":6311,"props":6358,"children":6359},{"disabled":168,"type":6313},[],{"type":60,"value":6361}," Stable content is parsed once with final options and versioned cache keys.",{"type":55,"tag":6305,"props":6363,"children":6365},{"className":6364},[6308],[6366,6369],{"type":55,"tag":6311,"props":6367,"children":6368},{"disabled":168,"type":6313},[],{"type":60,"value":6370}," Highlighting runs at build time or on the server where possible.",{"type":55,"tag":6305,"props":6372,"children":6374},{"className":6373},[6308],[6375,6378],{"type":55,"tag":6311,"props":6376,"children":6377},{"disabled":168,"type":6313},[],{"type":60,"value":6379}," Narrow entry points and individual extensions are used.",{"type":55,"tag":6305,"props":6381,"children":6383},{"className":6382},[6308],[6384,6387],{"type":55,"tag":6311,"props":6385,"children":6386},{"disabled":168,"type":6313},[],{"type":60,"value":6388}," Bundle budgets and HTML\u002FReact\u002FOctane parity tests pass.",{"type":55,"tag":6305,"props":6390,"children":6392},{"className":6391},[6308],[6393,6396,6398,6404],{"type":55,"tag":6311,"props":6394,"children":6395},{"disabled":168,"type":6313},[],{"type":60,"value":6397}," ",{"type":55,"tag":63,"props":6399,"children":6401},{"className":6400},[],[6402],{"type":60,"value":6403},"pnpm run verify",{"type":60,"value":6405}," passes before release.",{"type":55,"tag":83,"props":6407,"children":6409},{"id":6408},"related-skills",[6410],{"type":60,"value":6411},"Related Skills",{"type":55,"tag":6299,"props":6413,"children":6414},{},[6415,6425,6436,6447],{"type":55,"tag":6305,"props":6416,"children":6417},{},[6418,6423],{"type":55,"tag":63,"props":6419,"children":6421},{"className":6420},[],[6422],{"type":60,"value":38},{"type":60,"value":6424}," for the supported profile, AST, parser options, and core HTML rendering.",{"type":55,"tag":6305,"props":6426,"children":6427},{},[6428,6434],{"type":55,"tag":63,"props":6429,"children":6431},{"className":6430},[],[6432],{"type":60,"value":6433},"docs-features",{"type":60,"value":6435}," for docs metadata and code-fence behavior.",{"type":55,"tag":6305,"props":6437,"children":6438},{},[6439,6445],{"type":55,"tag":63,"props":6440,"children":6442},{"className":6441},[],[6443],{"type":60,"value":6444},"custom-extensions",{"type":60,"value":6446}," for parser hooks and trusted HTML extension boundaries.",{"type":55,"tag":6305,"props":6448,"children":6449},{},[6450,6456,6458,6464],{"type":55,"tag":63,"props":6451,"children":6453},{"className":6452},[],[6454],{"type":60,"value":6455},"react-rendering",{"type":60,"value":6457}," and ",{"type":55,"tag":63,"props":6459,"children":6461},{"className":6460},[],[6462],{"type":60,"value":6463},"octane-rendering",{"type":60,"value":6465}," for framework component policy and SSR parity.",{"type":55,"tag":6467,"props":6468,"children":6469},"style",{},[6470],{"type":60,"value":6471},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":6473,"total":275},[6474,6486,6502,6516,6522,6534],{"slug":6444,"name":6444,"fn":6475,"description":6476,"org":6477,"tags":6478,"stars":20,"repoUrl":21,"updatedAt":6485},"implement custom Markdown rendering extensions","Implement MarkdownExtension block parsers, inline and document transforms, HTML hooks, and portable ComponentNode output. Load when adding deterministic custom syntax or rendering behavior across HTML, React, and Octane.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6479,6481,6482],{"name":6480,"slug":246,"type":15},"HTML",{"name":13,"slug":14,"type":15},{"name":6483,"slug":6484,"type":15},"Plugin Development","plugin-development","2026-07-26T06:08:50.353215",{"slug":6433,"name":6433,"fn":6487,"description":6488,"org":6489,"tags":6490,"stars":20,"repoUrl":21,"updatedAt":6501},"build documentation features for Markdown","Build documentation metadata with docsMarkdownExtensions, GitHub-style callouts, heading collection, comment components, heading\u002Ffile\u002Fpackage- manager\u002Fbundler tabs, framework panels, and code-fence metadata. Load when authoring or consuming TanStack-style docs syntax and custom-element data contracts.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6491,6494,6497,6498],{"name":6492,"slug":6493,"type":15},"Documentation","documentation",{"name":6495,"slug":6496,"type":15},"GitHub","github",{"name":13,"slug":14,"type":15},{"name":6499,"slug":6500,"type":15},"Technical Writing","technical-writing","2026-07-26T06:08:49.826112",{"slug":6463,"name":6463,"fn":6503,"description":6504,"org":6505,"tags":6506,"stars":20,"repoUrl":21,"updatedAt":6515},"render Markdown with Octane","Render Markdown source or a MarkdownDocument with @tanstack\u002Fmarkdown\u002Foctane using Markdown, renderMarkdownOctane, ComponentBody replacements, TSRX, and octane\u002Fserver static SSR. Load for Octane descriptors, custom emitted tags, pre-parsed documents, SSR return values, or renderer parity.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6507,6510,6511,6514],{"name":6508,"slug":6509,"type":15},"Frontend","frontend",{"name":13,"slug":14,"type":15},{"name":6512,"slug":6513,"type":15},"SSR","ssr",{"name":9,"slug":8,"type":15},"2026-07-26T06:08:48.84431",{"slug":4,"name":4,"fn":5,"description":6,"org":6517,"tags":6518,"stars":20,"repoUrl":21,"updatedAt":22},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6519,6520,6521],{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":6455,"name":6455,"fn":6523,"description":6524,"org":6525,"tags":6526,"stars":20,"repoUrl":21,"updatedAt":6533},"render Markdown in React applications","Render Markdown source or a MarkdownDocument with @tanstack\u002Fmarkdown\u002Freact using Markdown, renderMarkdownReact, component replacements, and React static SSR. Load for React article components, emitted-tag mappings, pre-parsed documents, custom elements, or renderer parity.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6527,6528,6529,6532],{"name":6508,"slug":6509,"type":15},{"name":13,"slug":14,"type":15},{"name":6530,"slug":6531,"type":15},"React","react",{"name":6512,"slug":6513,"type":15},"2026-07-26T06:08:52.566102",{"slug":38,"name":38,"fn":6535,"description":6536,"org":6537,"tags":6538,"stars":20,"repoUrl":21,"updatedAt":6545},"parse and render Markdown documents","Parse Markdown with parseMarkdown or parseInline, render HTML with renderHtml, renderDocument, renderBlock, or renderInline, configure frontmatter and heading IDs, and reuse the serializable MarkdownDocument AST. Load for @tanstack\u002Fmarkdown core syntax, parser options, HTML output, references, footnotes, lists, tables, or AST work.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6539,6540,6543,6544],{"name":6492,"slug":6493,"type":15},{"name":6541,"slug":6542,"type":15},"Documents","documents",{"name":6480,"slug":246,"type":15},{"name":13,"slug":14,"type":15},"2026-07-26T06:08:49.328715",{"items":6547,"total":6687},[6548,6562,6574,6586,6601,6613,6623,6633,6646,6656,6667,6677],{"slug":6549,"name":6549,"fn":6550,"description":6551,"org":6552,"tags":6553,"stars":6559,"repoUrl":6560,"updatedAt":6561},"aggregation","perform data aggregation in TanStack Table","Aggregate TanStack Table columns independently of grouping, including grand totals, caller-selected row totals, multiple keyed aggregations, custom context-based definitions, grouped merges, manual values, and worker constraints.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6554,6557,6558],{"name":6555,"slug":6556,"type":15},"Data Analysis","data-analysis",{"name":6508,"slug":6509,"type":15},{"name":9,"slug":8,"type":15},28175,"https:\u002F\u002Fgithub.com\u002FTanStack\u002Ftable","2026-07-30T05:25:59.429787",{"slug":6563,"name":6563,"fn":6564,"description":6565,"org":6566,"tags":6567,"stars":6559,"repoUrl":6560,"updatedAt":6573},"api-not-found","diagnose TanStack Table API errors","Diagnose missing TanStack Table v9 exports, options, state slices, and instance methods. Load before inventing an API when code sees a type error, undefined feature method, absent object key, adapter mismatch, or v8-shaped example.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6568,6571,6572],{"name":6569,"slug":6570,"type":15},"Debugging","debugging",{"name":6508,"slug":6509,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:26:05.418735",{"slug":6575,"name":6575,"fn":6576,"description":6577,"org":6578,"tags":6579,"stars":6559,"repoUrl":6560,"updatedAt":6585},"cell-selection","select rectangular cell ranges in tables","Select rectangular cell ranges with cellSelectionFeature: two-corner range state keyed by row and column id, mousedown\u002Fmouseenter handlers, selection edges, render-order resolution under pinning, and autoResetCellSelection. Load when ranges widen unexpectedly after sorting or column reordering, when a drag re-renders the whole table, or when building copy-to-clipboard from a selection.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6580,6581,6582],{"name":6555,"slug":6556,"type":15},{"name":9,"slug":8,"type":15},{"name":6583,"slug":6584,"type":15},"UI Components","ui-components","2026-07-30T05:25:38.403427",{"slug":6587,"name":6587,"fn":6588,"description":6589,"org":6590,"tags":6591,"stars":6559,"repoUrl":6560,"updatedAt":6600},"client-vs-server","manage TanStack Table data pipelines","Choose client or server ownership for filtering, grouping, sorting, expanding, and pagination in TanStack Table v9. Load for manual* flags, mixed pipelines, server counts, or deciding which dataset each row-model stage receives.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6592,6595,6596,6599],{"name":6593,"slug":6594,"type":15},"Data Pipeline","data-pipeline",{"name":6508,"slug":6509,"type":15},{"name":6597,"slug":6598,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-07-30T05:25:45.400104",{"slug":6602,"name":6602,"fn":6603,"description":6604,"org":6605,"tags":6606,"stars":6559,"repoUrl":6560,"updatedAt":6612},"column-faceting","build faceted filter UIs","Build faceted filter UIs with columnFacetingFeature, facetedRowModel, facetedUniqueValues, and facetedMinMaxValues. Load for facet counts, numeric ranges, own-filter exclusion, or server-page facet completeness.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6607,6610,6611],{"name":6608,"slug":6609,"type":15},"Data Visualization","data-visualization",{"name":6508,"slug":6509,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:41.397257",{"slug":6614,"name":6614,"fn":6615,"description":6616,"org":6617,"tags":6618,"stars":6559,"repoUrl":6560,"updatedAt":6622},"column-filtering","implement column filtering in TanStack Table","Filter columns with columnFilteringFeature, filteredRowModel, filterFns, filterMeta, nested-row direction, and manualFiltering. Load for accessor compatibility, controlled filter updaters, fuzzy metadata, or client\u002Fserver ownership.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6619,6620,6621],{"name":6555,"slug":6556,"type":15},{"name":6508,"slug":6509,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:53.391632",{"slug":6624,"name":6624,"fn":6625,"description":6626,"org":6627,"tags":6628,"stars":6559,"repoUrl":6560,"updatedAt":6632},"column-ordering","manage TanStack Table column ordering","Control TanStack Table v9 leaf columnOrder with stable IDs while accounting for pinning regions, visibility, and groupedColumnMode precedence. Load for drag-and-drop columns or rendered order that differs from state.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6629,6630,6631],{"name":6508,"slug":6509,"type":15},{"name":9,"slug":8,"type":15},{"name":6583,"slug":6584,"type":15},"2026-07-30T05:26:03.37801",{"slug":6634,"name":6634,"fn":6635,"description":6636,"org":6637,"tags":6638,"stars":6559,"repoUrl":6560,"updatedAt":6645},"column-pinning","configure column pinning in TanStack Table","Pin columns into logical start, center, and end regions with columnPinningFeature and renderer-owned sticky CSS. Load for RTL offsets, z-index, backgrounds, overflow, widths, gaps, or overlaps.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6639,6642,6643,6644],{"name":6640,"slug":6641,"type":15},"CSS","css",{"name":6508,"slug":6509,"type":15},{"name":9,"slug":8,"type":15},{"name":6583,"slug":6584,"type":15},"2026-07-30T05:25:55.377366",{"slug":6647,"name":6647,"fn":6648,"description":6649,"org":6650,"tags":6651,"stars":6559,"repoUrl":6560,"updatedAt":6655},"column-resizing","implement column resizing in TanStack Table","Wire columnResizingFeature, header.getResizeHandler, resize mode and direction, pointer or touch events, and performant CSS-variable updates. Load when resize state changes but widths do not, or large tables resize slowly.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6652,6653,6654],{"name":6508,"slug":6509,"type":15},{"name":9,"slug":8,"type":15},{"name":6583,"slug":6584,"type":15},"2026-07-30T05:25:51.400011",{"slug":6657,"name":6657,"fn":6658,"description":6659,"org":6660,"tags":6661,"stars":6559,"repoUrl":6560,"updatedAt":6666},"column-sizing","configure column sizing in TanStack Table","Use columnSizingFeature numeric size, minSize, maxSize, getSize, getStart, getAfter, and total-size APIs in table, grid, or flex CSS. Load for auto or percentage misconceptions and sizing\u002Fpinning layout mismatch.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6662,6663,6664,6665],{"name":6640,"slug":6641,"type":15},{"name":6508,"slug":6509,"type":15},{"name":9,"slug":8,"type":15},{"name":6583,"slug":6584,"type":15},"2026-07-30T05:25:48.703799",{"slug":6668,"name":6668,"fn":6669,"description":6670,"org":6671,"tags":6672,"stars":6559,"repoUrl":6560,"updatedAt":6676},"column-visibility","manage column visibility in TanStack Table","Hide columns with columnVisibilityFeature while rendering visibility-aware header, column, and cell collections. Load when hidden columns remain in the DOM, false-versus-absent state is confused, or enableHiding is misunderstood.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6673,6674,6675],{"name":6508,"slug":6509,"type":15},{"name":9,"slug":8,"type":15},{"name":6583,"slug":6584,"type":15},"2026-07-30T05:25:47.367943",{"slug":6678,"name":6678,"fn":6679,"description":6680,"org":6681,"tags":6682,"stars":6559,"repoUrl":6560,"updatedAt":6686},"core","build data grids with TanStack Table","Use TanStack Table v9 as a headless data-grid state and row-processing engine. Load for first-table architecture, stable data and columns, row numbering with getDisplayIndex, semantic rendering, framework adapter choice, or deciding what Table owns versus the renderer.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[6683,6684,6685],{"name":6555,"slug":6556,"type":15},{"name":6508,"slug":6509,"type":15},{"name":6583,"slug":6584,"type":15},"2026-07-30T05:25:52.366295",125]