[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-tanstack-render-markdown":3,"mdc-o99w69-key":36,"related-org-tanstack-render-markdown":3716,"related-repo-tanstack-render-markdown":3859},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"render-markdown","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},"tanstack","TanStack","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ftanstack.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Markdown","markdown","tag",{"name":17,"slug":18,"type":15},"HTML","html",{"name":20,"slug":21,"type":15},"Documentation","documentation",{"name":23,"slug":24,"type":15},"Documents","documents",9,"https:\u002F\u002Fgithub.com\u002FTanStack\u002Fmarkdown","2026-07-26T06:08:49.328715",null,0,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"Tiny, fast Markdown parsing and rendering for blogs and documentation","https:\u002F\u002Fgithub.com\u002FTanStack\u002Fmarkdown\u002Ftree\u002FHEAD\u002Fskills\u002Frender-markdown","---\nname: render-markdown\ndescription: >\n  Parse Markdown with parseMarkdown or parseInline, render HTML with renderHtml,\n  renderDocument, renderBlock, or renderInline, configure frontmatter and\n  heading IDs, and reuse the serializable MarkdownDocument AST. Load for\n  @tanstack\u002Fmarkdown core syntax, parser options, HTML output, references,\n  footnotes, lists, tables, or AST work.\nmetadata:\n  type: core\n  library: '@tanstack\u002Fmarkdown'\n  library_version: '0.0.12'\nsources:\n  - 'TanStack\u002Fmarkdown:docs\u002Fquick-start.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fdocument-model.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fparsing.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Frendering.md'\n  - 'TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fsyntax-profile.md'\n  - 'TanStack\u002Fmarkdown:src\u002Fparser.ts'\n  - 'TanStack\u002Fmarkdown:src\u002Fhtml.ts'\n  - 'TanStack\u002Fmarkdown:src\u002Ftypes.ts'\n---\n\n# Render Markdown\n\n## Setup\n\nInstall the framework-neutral package:\n\n```bash\npnpm add @tanstack\u002Fmarkdown\n```\n\nRender supported Markdown to HTML:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst source = `# Release notes\n\n- Small browser bundle\n- Serializable AST\n- Safe HTML defaults`\n\nconst html = renderHtml(source)\n\nconsole.log(html)\n```\n\nUse the narrow `@tanstack\u002Fmarkdown\u002Fparser` and\n`@tanstack\u002Fmarkdown\u002Fhtml` entry points when the default entry's combined\nexports are unnecessary.\n\n## Core Patterns\n\n### Parse once and render a reusable document\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\nimport type { MarkdownDocument } from '@tanstack\u002Fmarkdown'\n\nconst source = `# Guide\n\nRead the [installation notes](\u002Finstallation).`\n\nconst document = parseMarkdown(source)\nconst serialized = JSON.stringify(document)\nconst restored = JSON.parse(serialized) as MarkdownDocument\nconst html = renderHtml(restored)\n\nconsole.log(html)\n```\n\nAll complete-document renderers accept a source string or an existing\n`MarkdownDocument`; a document input skips parsing.\n\n### Configure frontmatter and heading IDs while parsing\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst source = `---\ntitle: Installation\npublished: true\n---\n\n# Install\n\n## Install`\n\nconst document = parseMarkdown(source, {\n  frontmatter: true,\n  headingIds(text, lineIndex) {\n    const slug = text.toLowerCase().replaceAll(' ', '-')\n    return `docs-${lineIndex}-${slug}`\n  },\n})\n\nconsole.log(document.frontmatter)\nconsole.log(renderHtml(document))\n```\n\nFrontmatter remains an unparsed string. Heading IDs are generated during\nparsing and are duplicate-safe under the default slugger.\n\n### Add visible heading anchors while rendering\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst document = parseMarkdown('# API')\n\nconst html = renderHtml(document, {\n  headingAnchors: {\n    content: '#',\n    className: 'heading-anchor',\n    ariaHidden: true,\n    tabIndex: -1,\n  },\n})\n\nconsole.log(html)\n```\n\nHeading IDs are a parse concern; visible anchor links are a render concern.\n\n### Parse inline content only when no block context is needed\n\n```ts\nimport { parseInline, renderInline } from '@tanstack\u002Fmarkdown'\n\nconst nodes = parseInline('Use **stable** APIs and `parseMarkdown`.')\nconst html = nodes.map(node => renderInline(node)).join('')\n\nconsole.log(html)\n```\n\n`parseInline` handles inline syntax only. Use `parseMarkdown` for headings,\nlists, tables, frontmatter, reference definitions, and footnote definitions.\n\n## Behavioral Contracts\n\n- Parsing is synchronous, deterministic, and normalizes line endings.\n- Raw block and inline HTML are recognized only with `allowHtml: true`.\n- Link and image URLs have unsafe executable protocols removed.\n- Tight lists place simple content directly under `\u003Cli>`; loose lists retain\n  paragraph wrappers; task checkboxes remain inline with labels.\n- Reference definitions resolve case-insensitively before block parsing.\n- Footnotes render in first-reference order with collision-safe IDs and\n  repeated-reference back links.\n- Code fence metadata is recorded in the AST; highlighting is external.\n- The AST is public but pre-1.0. Regenerate persisted documents when an\n  upgrade changes node contracts.\n\n## Compatibility and Option Timing\n\nTanStack Markdown targets controlled blog and documentation content rather\nthan complete CommonMark, GFM, MDX, or arbitrary HTML parsing. Before adding\nsyntax, require corpus evidence, regression coverage, renderer parity, and an\naccepted bundle cost. See `production-pipelines\u002FSKILL.md` for compatibility,\nsecurity, highlighting, and size gates.\n\nParsing fixes the document structure. Apply `frontmatter`, `headingIds`,\n`allowHtml`, parser state, and parser\u002Ftransform extensions before caching the\nAST. Renderer-only options such as `headingAnchors`, `highlighter`, and\n`codeLineNumbers` may be applied when rendering an existing document.\n\n## Common Mistakes\n\n### HIGH Assuming complete CommonMark or GFM behavior\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst markdownFromAnywhere = `Heading\n===\n\nVisit https:\u002F\u002Fexample.com`\n\nconst html = renderHtml(markdownFromAnywhere)\n\nconsole.log(html)\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst controlledMarkdown = `# Heading\n\nVisit [example](https:\u002F\u002Fexample.com)`\n\nconst html = renderHtml(controlledMarkdown)\n\nconsole.log(html)\n```\n\nSetext headings and automatic URL linking are outside the supported syntax\nprofile, so unsupported input can remain literal or have different structure.\n\nSource: `docs\u002Fcore-concepts\u002Fsyntax-profile.md`\n\nSee also: `production-pipelines\u002FSKILL.md` - compatibility breadth must be\njustified against corpus evidence and the bundle budget.\n\n### MEDIUM Reparsing unchanged content on every render\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst source = '# Cached article'\n\nfunction renderArticle() {\n  return renderHtml(source)\n}\n\nconsole.log(renderArticle())\nconsole.log(renderArticle())\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst source = '# Cached article'\nconst document = parseMarkdown(source)\n\nfunction renderArticle() {\n  return renderHtml(document)\n}\n\nconsole.log(renderArticle())\nconsole.log(renderArticle())\n```\n\nComplete-document renderers parse string inputs on every call, while a\n`MarkdownDocument` input skips repeated parsing.\n\nSource: `docs\u002Fcore-concepts\u002Fdocument-model.md`\n\nSee also: `production-pipelines\u002FSKILL.md` - parse-ahead caching must preserve\nthe parser option and extension set.\n\n### HIGH Applying parser options after parsing\n\nWrong:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst document = parseMarkdown('# API')\nconst html = renderHtml(document, { headingIds: false })\n\nconsole.log(html)\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst document = parseMarkdown('# API', { headingIds: false })\nconst html = renderHtml(document)\n\nconsole.log(html)\n```\n\nParse-only options do not retroactively alter a pre-parsed AST.\n\nSource: `docs\u002Freference\u002Fhtml.md`\n\nSee also: `custom-extensions\u002FSKILL.md` - parser and transform extensions must\nalso be present while creating a cached document.\n\n### MEDIUM Using parseInline for document definitions\n\nWrong:\n\n```ts\nimport { parseInline, renderInline } from '@tanstack\u002Fmarkdown'\n\nconst source = `[Guide][guide]\n\n[guide]: \u002Fguide`\n\nconst html = parseInline(source).map(node => renderInline(node)).join('')\n\nconsole.log(html)\n```\n\nCorrect:\n\n```ts\nimport { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst source = `[Guide][guide]\n\n[guide]: \u002Fguide`\n\nconst document = parseMarkdown(source)\nconst html = renderHtml(document)\n\nconsole.log(html)\n```\n\nStandalone inline parsing does not extract document-level reference or\nfootnote definitions unless internal parser state is supplied explicitly.\n\nSource: `docs\u002Freference\u002Fdefault-entry.md`\n\n## Related Skills\n\n- `production-pipelines\u002FSKILL.md` - trust boundaries, syntax highlighting,\n  practical compatibility, caching, tests, performance, and bundle budgets.\n- `react-rendering\u002FSKILL.md` - render the same source or AST as React nodes.\n- `octane-rendering\u002FSKILL.md` - render the same source or AST as Octane nodes.\n- `custom-extensions\u002FSKILL.md` - add deterministic parser and renderer hooks.\n- `docs-features\u002FSKILL.md` - use the first-party documentation extensions.\n\n## References\n\n- [AST nodes, parser state, and render options](references\u002Fast-and-options.md)\n",{"data":37,"body":51},{"name":4,"description":6,"metadata":38,"sources":42},{"type":39,"library":40,"library_version":41},"core","@tanstack\u002Fmarkdown","0.0.12",[43,44,45,46,47,48,49,50],"TanStack\u002Fmarkdown:docs\u002Fquick-start.md","TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fdocument-model.md","TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fparsing.md","TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Frendering.md","TanStack\u002Fmarkdown:docs\u002Fcore-concepts\u002Fsyntax-profile.md","TanStack\u002Fmarkdown:src\u002Fparser.ts","TanStack\u002Fmarkdown:src\u002Fhtml.ts","TanStack\u002Fmarkdown:src\u002Ftypes.ts",{"type":52,"children":53},"root",[54,62,69,75,110,115,316,336,342,349,681,694,700,1190,1195,1201,1528,1533,1539,1739,1758,1764,1824,1830,1843,1894,1900,1906,1911,2069,2074,2224,2229,2240,2252,2258,2262,2463,2467,2719,2731,2741,2752,2758,2762,2964,2968,3164,3169,3179,3191,3197,3201,3406,3410,3614,3619,3629,3635,3691,3697,3710],{"type":55,"tag":56,"props":57,"children":58},"element","h1",{"id":4},[59],{"type":60,"value":61},"text","Render Markdown",{"type":55,"tag":63,"props":64,"children":66},"h2",{"id":65},"setup",[67],{"type":60,"value":68},"Setup",{"type":55,"tag":70,"props":71,"children":72},"p",{},[73],{"type":60,"value":74},"Install the framework-neutral package:",{"type":55,"tag":76,"props":77,"children":82},"pre",{"className":78,"code":79,"language":80,"meta":81,"style":81},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @tanstack\u002Fmarkdown\n","bash","",[83],{"type":55,"tag":84,"props":85,"children":86},"code",{"__ignoreMap":81},[87],{"type":55,"tag":88,"props":89,"children":92},"span",{"class":90,"line":91},"line",1,[93,99,105],{"type":55,"tag":88,"props":94,"children":96},{"style":95},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[97],{"type":60,"value":98},"pnpm",{"type":55,"tag":88,"props":100,"children":102},{"style":101},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[103],{"type":60,"value":104}," add",{"type":55,"tag":88,"props":106,"children":107},{"style":101},[108],{"type":60,"value":109}," @tanstack\u002Fmarkdown\n",{"type":55,"tag":70,"props":111,"children":112},{},[113],{"type":60,"value":114},"Render supported Markdown to HTML:",{"type":55,"tag":76,"props":116,"children":120},{"className":117,"code":118,"language":119,"meta":81,"style":81},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst source = `# Release notes\n\n- Small browser bundle\n- Serializable AST\n- Safe HTML defaults`\n\nconst html = renderHtml(source)\n\nconsole.log(html)\n","ts",[121],{"type":55,"tag":84,"props":122,"children":123},{"__ignoreMap":81},[124,170,180,210,218,227,236,250,258,284,292],{"type":55,"tag":88,"props":125,"children":126},{"class":90,"line":91},[127,133,139,145,150,155,160,165],{"type":55,"tag":88,"props":128,"children":130},{"style":129},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[131],{"type":60,"value":132},"import",{"type":55,"tag":88,"props":134,"children":136},{"style":135},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[137],{"type":60,"value":138}," {",{"type":55,"tag":88,"props":140,"children":142},{"style":141},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[143],{"type":60,"value":144}," renderHtml",{"type":55,"tag":88,"props":146,"children":147},{"style":135},[148],{"type":60,"value":149}," }",{"type":55,"tag":88,"props":151,"children":152},{"style":129},[153],{"type":60,"value":154}," from",{"type":55,"tag":88,"props":156,"children":157},{"style":135},[158],{"type":60,"value":159}," '",{"type":55,"tag":88,"props":161,"children":162},{"style":101},[163],{"type":60,"value":164},"@tanstack\u002Fmarkdown\u002Fhtml",{"type":55,"tag":88,"props":166,"children":167},{"style":135},[168],{"type":60,"value":169},"'\n",{"type":55,"tag":88,"props":171,"children":173},{"class":90,"line":172},2,[174],{"type":55,"tag":88,"props":175,"children":177},{"emptyLinePlaceholder":176},true,[178],{"type":60,"value":179},"\n",{"type":55,"tag":88,"props":181,"children":183},{"class":90,"line":182},3,[184,190,195,200,205],{"type":55,"tag":88,"props":185,"children":187},{"style":186},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[188],{"type":60,"value":189},"const",{"type":55,"tag":88,"props":191,"children":192},{"style":141},[193],{"type":60,"value":194}," source ",{"type":55,"tag":88,"props":196,"children":197},{"style":135},[198],{"type":60,"value":199},"=",{"type":55,"tag":88,"props":201,"children":202},{"style":135},[203],{"type":60,"value":204}," `",{"type":55,"tag":88,"props":206,"children":207},{"style":101},[208],{"type":60,"value":209},"# Release notes\n",{"type":55,"tag":88,"props":211,"children":213},{"class":90,"line":212},4,[214],{"type":55,"tag":88,"props":215,"children":216},{"emptyLinePlaceholder":176},[217],{"type":60,"value":179},{"type":55,"tag":88,"props":219,"children":221},{"class":90,"line":220},5,[222],{"type":55,"tag":88,"props":223,"children":224},{"style":101},[225],{"type":60,"value":226},"- Small browser bundle\n",{"type":55,"tag":88,"props":228,"children":230},{"class":90,"line":229},6,[231],{"type":55,"tag":88,"props":232,"children":233},{"style":101},[234],{"type":60,"value":235},"- Serializable AST\n",{"type":55,"tag":88,"props":237,"children":239},{"class":90,"line":238},7,[240,245],{"type":55,"tag":88,"props":241,"children":242},{"style":101},[243],{"type":60,"value":244},"- Safe HTML defaults",{"type":55,"tag":88,"props":246,"children":247},{"style":135},[248],{"type":60,"value":249},"`\n",{"type":55,"tag":88,"props":251,"children":253},{"class":90,"line":252},8,[254],{"type":55,"tag":88,"props":255,"children":256},{"emptyLinePlaceholder":176},[257],{"type":60,"value":179},{"type":55,"tag":88,"props":259,"children":260},{"class":90,"line":25},[261,265,270,274,279],{"type":55,"tag":88,"props":262,"children":263},{"style":186},[264],{"type":60,"value":189},{"type":55,"tag":88,"props":266,"children":267},{"style":141},[268],{"type":60,"value":269}," html ",{"type":55,"tag":88,"props":271,"children":272},{"style":135},[273],{"type":60,"value":199},{"type":55,"tag":88,"props":275,"children":277},{"style":276},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[278],{"type":60,"value":144},{"type":55,"tag":88,"props":280,"children":281},{"style":141},[282],{"type":60,"value":283},"(source)\n",{"type":55,"tag":88,"props":285,"children":287},{"class":90,"line":286},10,[288],{"type":55,"tag":88,"props":289,"children":290},{"emptyLinePlaceholder":176},[291],{"type":60,"value":179},{"type":55,"tag":88,"props":293,"children":295},{"class":90,"line":294},11,[296,301,306,311],{"type":55,"tag":88,"props":297,"children":298},{"style":141},[299],{"type":60,"value":300},"console",{"type":55,"tag":88,"props":302,"children":303},{"style":135},[304],{"type":60,"value":305},".",{"type":55,"tag":88,"props":307,"children":308},{"style":276},[309],{"type":60,"value":310},"log",{"type":55,"tag":88,"props":312,"children":313},{"style":141},[314],{"type":60,"value":315},"(html)\n",{"type":55,"tag":70,"props":317,"children":318},{},[319,321,327,329,334],{"type":60,"value":320},"Use the narrow ",{"type":55,"tag":84,"props":322,"children":324},{"className":323},[],[325],{"type":60,"value":326},"@tanstack\u002Fmarkdown\u002Fparser",{"type":60,"value":328}," and\n",{"type":55,"tag":84,"props":330,"children":332},{"className":331},[],[333],{"type":60,"value":164},{"type":60,"value":335}," entry points when the default entry's combined\nexports are unnecessary.",{"type":55,"tag":63,"props":337,"children":339},{"id":338},"core-patterns",[340],{"type":60,"value":341},"Core Patterns",{"type":55,"tag":343,"props":344,"children":346},"h3",{"id":345},"parse-once-and-render-a-reusable-document",[347],{"type":60,"value":348},"Parse once and render a reusable document",{"type":55,"tag":76,"props":350,"children":352},{"className":117,"code":351,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\nimport type { MarkdownDocument } from '@tanstack\u002Fmarkdown'\n\nconst source = `# Guide\n\nRead the [installation notes](\u002Finstallation).`\n\nconst document = parseMarkdown(source)\nconst serialized = JSON.stringify(document)\nconst restored = JSON.parse(serialized) as MarkdownDocument\nconst html = renderHtml(restored)\n\nconsole.log(html)\n",[353],{"type":55,"tag":84,"props":354,"children":355},{"__ignoreMap":81},[356,391,427,468,475,499,506,518,525,549,584,628,653,661],{"type":55,"tag":88,"props":357,"children":358},{"class":90,"line":91},[359,363,367,371,375,379,383,387],{"type":55,"tag":88,"props":360,"children":361},{"style":129},[362],{"type":60,"value":132},{"type":55,"tag":88,"props":364,"children":365},{"style":135},[366],{"type":60,"value":138},{"type":55,"tag":88,"props":368,"children":369},{"style":141},[370],{"type":60,"value":144},{"type":55,"tag":88,"props":372,"children":373},{"style":135},[374],{"type":60,"value":149},{"type":55,"tag":88,"props":376,"children":377},{"style":129},[378],{"type":60,"value":154},{"type":55,"tag":88,"props":380,"children":381},{"style":135},[382],{"type":60,"value":159},{"type":55,"tag":88,"props":384,"children":385},{"style":101},[386],{"type":60,"value":164},{"type":55,"tag":88,"props":388,"children":389},{"style":135},[390],{"type":60,"value":169},{"type":55,"tag":88,"props":392,"children":393},{"class":90,"line":172},[394,398,402,407,411,415,419,423],{"type":55,"tag":88,"props":395,"children":396},{"style":129},[397],{"type":60,"value":132},{"type":55,"tag":88,"props":399,"children":400},{"style":135},[401],{"type":60,"value":138},{"type":55,"tag":88,"props":403,"children":404},{"style":141},[405],{"type":60,"value":406}," parseMarkdown",{"type":55,"tag":88,"props":408,"children":409},{"style":135},[410],{"type":60,"value":149},{"type":55,"tag":88,"props":412,"children":413},{"style":129},[414],{"type":60,"value":154},{"type":55,"tag":88,"props":416,"children":417},{"style":135},[418],{"type":60,"value":159},{"type":55,"tag":88,"props":420,"children":421},{"style":101},[422],{"type":60,"value":326},{"type":55,"tag":88,"props":424,"children":425},{"style":135},[426],{"type":60,"value":169},{"type":55,"tag":88,"props":428,"children":429},{"class":90,"line":182},[430,434,439,443,448,452,456,460,464],{"type":55,"tag":88,"props":431,"children":432},{"style":129},[433],{"type":60,"value":132},{"type":55,"tag":88,"props":435,"children":436},{"style":129},[437],{"type":60,"value":438}," type",{"type":55,"tag":88,"props":440,"children":441},{"style":135},[442],{"type":60,"value":138},{"type":55,"tag":88,"props":444,"children":445},{"style":141},[446],{"type":60,"value":447}," MarkdownDocument",{"type":55,"tag":88,"props":449,"children":450},{"style":135},[451],{"type":60,"value":149},{"type":55,"tag":88,"props":453,"children":454},{"style":129},[455],{"type":60,"value":154},{"type":55,"tag":88,"props":457,"children":458},{"style":135},[459],{"type":60,"value":159},{"type":55,"tag":88,"props":461,"children":462},{"style":101},[463],{"type":60,"value":40},{"type":55,"tag":88,"props":465,"children":466},{"style":135},[467],{"type":60,"value":169},{"type":55,"tag":88,"props":469,"children":470},{"class":90,"line":212},[471],{"type":55,"tag":88,"props":472,"children":473},{"emptyLinePlaceholder":176},[474],{"type":60,"value":179},{"type":55,"tag":88,"props":476,"children":477},{"class":90,"line":220},[478,482,486,490,494],{"type":55,"tag":88,"props":479,"children":480},{"style":186},[481],{"type":60,"value":189},{"type":55,"tag":88,"props":483,"children":484},{"style":141},[485],{"type":60,"value":194},{"type":55,"tag":88,"props":487,"children":488},{"style":135},[489],{"type":60,"value":199},{"type":55,"tag":88,"props":491,"children":492},{"style":135},[493],{"type":60,"value":204},{"type":55,"tag":88,"props":495,"children":496},{"style":101},[497],{"type":60,"value":498},"# Guide\n",{"type":55,"tag":88,"props":500,"children":501},{"class":90,"line":229},[502],{"type":55,"tag":88,"props":503,"children":504},{"emptyLinePlaceholder":176},[505],{"type":60,"value":179},{"type":55,"tag":88,"props":507,"children":508},{"class":90,"line":238},[509,514],{"type":55,"tag":88,"props":510,"children":511},{"style":101},[512],{"type":60,"value":513},"Read the [installation notes](\u002Finstallation).",{"type":55,"tag":88,"props":515,"children":516},{"style":135},[517],{"type":60,"value":249},{"type":55,"tag":88,"props":519,"children":520},{"class":90,"line":252},[521],{"type":55,"tag":88,"props":522,"children":523},{"emptyLinePlaceholder":176},[524],{"type":60,"value":179},{"type":55,"tag":88,"props":526,"children":527},{"class":90,"line":25},[528,532,537,541,545],{"type":55,"tag":88,"props":529,"children":530},{"style":186},[531],{"type":60,"value":189},{"type":55,"tag":88,"props":533,"children":534},{"style":141},[535],{"type":60,"value":536}," document ",{"type":55,"tag":88,"props":538,"children":539},{"style":135},[540],{"type":60,"value":199},{"type":55,"tag":88,"props":542,"children":543},{"style":276},[544],{"type":60,"value":406},{"type":55,"tag":88,"props":546,"children":547},{"style":141},[548],{"type":60,"value":283},{"type":55,"tag":88,"props":550,"children":551},{"class":90,"line":286},[552,556,561,565,570,574,579],{"type":55,"tag":88,"props":553,"children":554},{"style":186},[555],{"type":60,"value":189},{"type":55,"tag":88,"props":557,"children":558},{"style":141},[559],{"type":60,"value":560}," serialized ",{"type":55,"tag":88,"props":562,"children":563},{"style":135},[564],{"type":60,"value":199},{"type":55,"tag":88,"props":566,"children":567},{"style":141},[568],{"type":60,"value":569}," JSON",{"type":55,"tag":88,"props":571,"children":572},{"style":135},[573],{"type":60,"value":305},{"type":55,"tag":88,"props":575,"children":576},{"style":276},[577],{"type":60,"value":578},"stringify",{"type":55,"tag":88,"props":580,"children":581},{"style":141},[582],{"type":60,"value":583},"(document)\n",{"type":55,"tag":88,"props":585,"children":586},{"class":90,"line":294},[587,591,596,600,604,608,613,618,623],{"type":55,"tag":88,"props":588,"children":589},{"style":186},[590],{"type":60,"value":189},{"type":55,"tag":88,"props":592,"children":593},{"style":141},[594],{"type":60,"value":595}," restored ",{"type":55,"tag":88,"props":597,"children":598},{"style":135},[599],{"type":60,"value":199},{"type":55,"tag":88,"props":601,"children":602},{"style":141},[603],{"type":60,"value":569},{"type":55,"tag":88,"props":605,"children":606},{"style":135},[607],{"type":60,"value":305},{"type":55,"tag":88,"props":609,"children":610},{"style":276},[611],{"type":60,"value":612},"parse",{"type":55,"tag":88,"props":614,"children":615},{"style":141},[616],{"type":60,"value":617},"(serialized) ",{"type":55,"tag":88,"props":619,"children":620},{"style":129},[621],{"type":60,"value":622},"as",{"type":55,"tag":88,"props":624,"children":625},{"style":95},[626],{"type":60,"value":627}," MarkdownDocument\n",{"type":55,"tag":88,"props":629,"children":631},{"class":90,"line":630},12,[632,636,640,644,648],{"type":55,"tag":88,"props":633,"children":634},{"style":186},[635],{"type":60,"value":189},{"type":55,"tag":88,"props":637,"children":638},{"style":141},[639],{"type":60,"value":269},{"type":55,"tag":88,"props":641,"children":642},{"style":135},[643],{"type":60,"value":199},{"type":55,"tag":88,"props":645,"children":646},{"style":276},[647],{"type":60,"value":144},{"type":55,"tag":88,"props":649,"children":650},{"style":141},[651],{"type":60,"value":652},"(restored)\n",{"type":55,"tag":88,"props":654,"children":656},{"class":90,"line":655},13,[657],{"type":55,"tag":88,"props":658,"children":659},{"emptyLinePlaceholder":176},[660],{"type":60,"value":179},{"type":55,"tag":88,"props":662,"children":664},{"class":90,"line":663},14,[665,669,673,677],{"type":55,"tag":88,"props":666,"children":667},{"style":141},[668],{"type":60,"value":300},{"type":55,"tag":88,"props":670,"children":671},{"style":135},[672],{"type":60,"value":305},{"type":55,"tag":88,"props":674,"children":675},{"style":276},[676],{"type":60,"value":310},{"type":55,"tag":88,"props":678,"children":679},{"style":141},[680],{"type":60,"value":315},{"type":55,"tag":70,"props":682,"children":683},{},[684,686,692],{"type":60,"value":685},"All complete-document renderers accept a source string or an existing\n",{"type":55,"tag":84,"props":687,"children":689},{"className":688},[],[690],{"type":60,"value":691},"MarkdownDocument",{"type":60,"value":693},"; a document input skips parsing.",{"type":55,"tag":343,"props":695,"children":697},{"id":696},"configure-frontmatter-and-heading-ids-while-parsing",[698],{"type":60,"value":699},"Configure frontmatter and heading IDs while parsing",{"type":55,"tag":76,"props":701,"children":703},{"className":117,"code":702,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst source = `---\ntitle: Installation\npublished: true\n---\n\n# Install\n\n## Install`\n\nconst document = parseMarkdown(source, {\n  frontmatter: true,\n  headingIds(text, lineIndex) {\n    const slug = text.toLowerCase().replaceAll(' ', '-')\n    return `docs-${lineIndex}-${slug}`\n  },\n})\n\nconsole.log(document.frontmatter)\nconsole.log(renderHtml(document))\n",[704],{"type":55,"tag":84,"props":705,"children":706},{"__ignoreMap":81},[707,742,777,784,808,816,824,831,838,846,853,865,872,906,931,968,1050,1101,1110,1122,1130,1160],{"type":55,"tag":88,"props":708,"children":709},{"class":90,"line":91},[710,714,718,722,726,730,734,738],{"type":55,"tag":88,"props":711,"children":712},{"style":129},[713],{"type":60,"value":132},{"type":55,"tag":88,"props":715,"children":716},{"style":135},[717],{"type":60,"value":138},{"type":55,"tag":88,"props":719,"children":720},{"style":141},[721],{"type":60,"value":144},{"type":55,"tag":88,"props":723,"children":724},{"style":135},[725],{"type":60,"value":149},{"type":55,"tag":88,"props":727,"children":728},{"style":129},[729],{"type":60,"value":154},{"type":55,"tag":88,"props":731,"children":732},{"style":135},[733],{"type":60,"value":159},{"type":55,"tag":88,"props":735,"children":736},{"style":101},[737],{"type":60,"value":164},{"type":55,"tag":88,"props":739,"children":740},{"style":135},[741],{"type":60,"value":169},{"type":55,"tag":88,"props":743,"children":744},{"class":90,"line":172},[745,749,753,757,761,765,769,773],{"type":55,"tag":88,"props":746,"children":747},{"style":129},[748],{"type":60,"value":132},{"type":55,"tag":88,"props":750,"children":751},{"style":135},[752],{"type":60,"value":138},{"type":55,"tag":88,"props":754,"children":755},{"style":141},[756],{"type":60,"value":406},{"type":55,"tag":88,"props":758,"children":759},{"style":135},[760],{"type":60,"value":149},{"type":55,"tag":88,"props":762,"children":763},{"style":129},[764],{"type":60,"value":154},{"type":55,"tag":88,"props":766,"children":767},{"style":135},[768],{"type":60,"value":159},{"type":55,"tag":88,"props":770,"children":771},{"style":101},[772],{"type":60,"value":326},{"type":55,"tag":88,"props":774,"children":775},{"style":135},[776],{"type":60,"value":169},{"type":55,"tag":88,"props":778,"children":779},{"class":90,"line":182},[780],{"type":55,"tag":88,"props":781,"children":782},{"emptyLinePlaceholder":176},[783],{"type":60,"value":179},{"type":55,"tag":88,"props":785,"children":786},{"class":90,"line":212},[787,791,795,799,803],{"type":55,"tag":88,"props":788,"children":789},{"style":186},[790],{"type":60,"value":189},{"type":55,"tag":88,"props":792,"children":793},{"style":141},[794],{"type":60,"value":194},{"type":55,"tag":88,"props":796,"children":797},{"style":135},[798],{"type":60,"value":199},{"type":55,"tag":88,"props":800,"children":801},{"style":135},[802],{"type":60,"value":204},{"type":55,"tag":88,"props":804,"children":805},{"style":101},[806],{"type":60,"value":807},"---\n",{"type":55,"tag":88,"props":809,"children":810},{"class":90,"line":220},[811],{"type":55,"tag":88,"props":812,"children":813},{"style":101},[814],{"type":60,"value":815},"title: Installation\n",{"type":55,"tag":88,"props":817,"children":818},{"class":90,"line":229},[819],{"type":55,"tag":88,"props":820,"children":821},{"style":101},[822],{"type":60,"value":823},"published: true\n",{"type":55,"tag":88,"props":825,"children":826},{"class":90,"line":238},[827],{"type":55,"tag":88,"props":828,"children":829},{"style":101},[830],{"type":60,"value":807},{"type":55,"tag":88,"props":832,"children":833},{"class":90,"line":252},[834],{"type":55,"tag":88,"props":835,"children":836},{"emptyLinePlaceholder":176},[837],{"type":60,"value":179},{"type":55,"tag":88,"props":839,"children":840},{"class":90,"line":25},[841],{"type":55,"tag":88,"props":842,"children":843},{"style":101},[844],{"type":60,"value":845},"# Install\n",{"type":55,"tag":88,"props":847,"children":848},{"class":90,"line":286},[849],{"type":55,"tag":88,"props":850,"children":851},{"emptyLinePlaceholder":176},[852],{"type":60,"value":179},{"type":55,"tag":88,"props":854,"children":855},{"class":90,"line":294},[856,861],{"type":55,"tag":88,"props":857,"children":858},{"style":101},[859],{"type":60,"value":860},"## Install",{"type":55,"tag":88,"props":862,"children":863},{"style":135},[864],{"type":60,"value":249},{"type":55,"tag":88,"props":866,"children":867},{"class":90,"line":630},[868],{"type":55,"tag":88,"props":869,"children":870},{"emptyLinePlaceholder":176},[871],{"type":60,"value":179},{"type":55,"tag":88,"props":873,"children":874},{"class":90,"line":655},[875,879,883,887,891,896,901],{"type":55,"tag":88,"props":876,"children":877},{"style":186},[878],{"type":60,"value":189},{"type":55,"tag":88,"props":880,"children":881},{"style":141},[882],{"type":60,"value":536},{"type":55,"tag":88,"props":884,"children":885},{"style":135},[886],{"type":60,"value":199},{"type":55,"tag":88,"props":888,"children":889},{"style":276},[890],{"type":60,"value":406},{"type":55,"tag":88,"props":892,"children":893},{"style":141},[894],{"type":60,"value":895},"(source",{"type":55,"tag":88,"props":897,"children":898},{"style":135},[899],{"type":60,"value":900},",",{"type":55,"tag":88,"props":902,"children":903},{"style":135},[904],{"type":60,"value":905}," {\n",{"type":55,"tag":88,"props":907,"children":908},{"class":90,"line":663},[909,915,920,926],{"type":55,"tag":88,"props":910,"children":912},{"style":911},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[913],{"type":60,"value":914},"  frontmatter",{"type":55,"tag":88,"props":916,"children":917},{"style":135},[918],{"type":60,"value":919},":",{"type":55,"tag":88,"props":921,"children":923},{"style":922},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[924],{"type":60,"value":925}," true",{"type":55,"tag":88,"props":927,"children":928},{"style":135},[929],{"type":60,"value":930},",\n",{"type":55,"tag":88,"props":932,"children":934},{"class":90,"line":933},15,[935,940,945,950,954,959,964],{"type":55,"tag":88,"props":936,"children":937},{"style":911},[938],{"type":60,"value":939},"  headingIds",{"type":55,"tag":88,"props":941,"children":942},{"style":135},[943],{"type":60,"value":944},"(",{"type":55,"tag":88,"props":946,"children":948},{"style":947},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[949],{"type":60,"value":60},{"type":55,"tag":88,"props":951,"children":952},{"style":135},[953],{"type":60,"value":900},{"type":55,"tag":88,"props":955,"children":956},{"style":947},[957],{"type":60,"value":958}," lineIndex",{"type":55,"tag":88,"props":960,"children":961},{"style":135},[962],{"type":60,"value":963},")",{"type":55,"tag":88,"props":965,"children":966},{"style":135},[967],{"type":60,"value":905},{"type":55,"tag":88,"props":969,"children":971},{"class":90,"line":970},16,[972,977,982,987,992,996,1001,1006,1010,1015,1019,1024,1028,1032,1036,1041,1045],{"type":55,"tag":88,"props":973,"children":974},{"style":186},[975],{"type":60,"value":976},"    const",{"type":55,"tag":88,"props":978,"children":979},{"style":141},[980],{"type":60,"value":981}," slug",{"type":55,"tag":88,"props":983,"children":984},{"style":135},[985],{"type":60,"value":986}," =",{"type":55,"tag":88,"props":988,"children":989},{"style":141},[990],{"type":60,"value":991}," text",{"type":55,"tag":88,"props":993,"children":994},{"style":135},[995],{"type":60,"value":305},{"type":55,"tag":88,"props":997,"children":998},{"style":276},[999],{"type":60,"value":1000},"toLowerCase",{"type":55,"tag":88,"props":1002,"children":1003},{"style":911},[1004],{"type":60,"value":1005},"()",{"type":55,"tag":88,"props":1007,"children":1008},{"style":135},[1009],{"type":60,"value":305},{"type":55,"tag":88,"props":1011,"children":1012},{"style":276},[1013],{"type":60,"value":1014},"replaceAll",{"type":55,"tag":88,"props":1016,"children":1017},{"style":911},[1018],{"type":60,"value":944},{"type":55,"tag":88,"props":1020,"children":1021},{"style":135},[1022],{"type":60,"value":1023},"'",{"type":55,"tag":88,"props":1025,"children":1026},{"style":135},[1027],{"type":60,"value":159},{"type":55,"tag":88,"props":1029,"children":1030},{"style":135},[1031],{"type":60,"value":900},{"type":55,"tag":88,"props":1033,"children":1034},{"style":135},[1035],{"type":60,"value":159},{"type":55,"tag":88,"props":1037,"children":1038},{"style":101},[1039],{"type":60,"value":1040},"-",{"type":55,"tag":88,"props":1042,"children":1043},{"style":135},[1044],{"type":60,"value":1023},{"type":55,"tag":88,"props":1046,"children":1047},{"style":911},[1048],{"type":60,"value":1049},")\n",{"type":55,"tag":88,"props":1051,"children":1053},{"class":90,"line":1052},17,[1054,1059,1063,1068,1073,1078,1083,1087,1091,1096],{"type":55,"tag":88,"props":1055,"children":1056},{"style":129},[1057],{"type":60,"value":1058},"    return",{"type":55,"tag":88,"props":1060,"children":1061},{"style":135},[1062],{"type":60,"value":204},{"type":55,"tag":88,"props":1064,"children":1065},{"style":101},[1066],{"type":60,"value":1067},"docs-",{"type":55,"tag":88,"props":1069,"children":1070},{"style":135},[1071],{"type":60,"value":1072},"${",{"type":55,"tag":88,"props":1074,"children":1075},{"style":141},[1076],{"type":60,"value":1077},"lineIndex",{"type":55,"tag":88,"props":1079,"children":1080},{"style":135},[1081],{"type":60,"value":1082},"}",{"type":55,"tag":88,"props":1084,"children":1085},{"style":101},[1086],{"type":60,"value":1040},{"type":55,"tag":88,"props":1088,"children":1089},{"style":135},[1090],{"type":60,"value":1072},{"type":55,"tag":88,"props":1092,"children":1093},{"style":141},[1094],{"type":60,"value":1095},"slug",{"type":55,"tag":88,"props":1097,"children":1098},{"style":135},[1099],{"type":60,"value":1100},"}`\n",{"type":55,"tag":88,"props":1102,"children":1104},{"class":90,"line":1103},18,[1105],{"type":55,"tag":88,"props":1106,"children":1107},{"style":135},[1108],{"type":60,"value":1109},"  },\n",{"type":55,"tag":88,"props":1111,"children":1113},{"class":90,"line":1112},19,[1114,1118],{"type":55,"tag":88,"props":1115,"children":1116},{"style":135},[1117],{"type":60,"value":1082},{"type":55,"tag":88,"props":1119,"children":1120},{"style":141},[1121],{"type":60,"value":1049},{"type":55,"tag":88,"props":1123,"children":1125},{"class":90,"line":1124},20,[1126],{"type":55,"tag":88,"props":1127,"children":1128},{"emptyLinePlaceholder":176},[1129],{"type":60,"value":179},{"type":55,"tag":88,"props":1131,"children":1133},{"class":90,"line":1132},21,[1134,1138,1142,1146,1151,1155],{"type":55,"tag":88,"props":1135,"children":1136},{"style":141},[1137],{"type":60,"value":300},{"type":55,"tag":88,"props":1139,"children":1140},{"style":135},[1141],{"type":60,"value":305},{"type":55,"tag":88,"props":1143,"children":1144},{"style":276},[1145],{"type":60,"value":310},{"type":55,"tag":88,"props":1147,"children":1148},{"style":141},[1149],{"type":60,"value":1150},"(document",{"type":55,"tag":88,"props":1152,"children":1153},{"style":135},[1154],{"type":60,"value":305},{"type":55,"tag":88,"props":1156,"children":1157},{"style":141},[1158],{"type":60,"value":1159},"frontmatter)\n",{"type":55,"tag":88,"props":1161,"children":1163},{"class":90,"line":1162},22,[1164,1168,1172,1176,1180,1185],{"type":55,"tag":88,"props":1165,"children":1166},{"style":141},[1167],{"type":60,"value":300},{"type":55,"tag":88,"props":1169,"children":1170},{"style":135},[1171],{"type":60,"value":305},{"type":55,"tag":88,"props":1173,"children":1174},{"style":276},[1175],{"type":60,"value":310},{"type":55,"tag":88,"props":1177,"children":1178},{"style":141},[1179],{"type":60,"value":944},{"type":55,"tag":88,"props":1181,"children":1182},{"style":276},[1183],{"type":60,"value":1184},"renderHtml",{"type":55,"tag":88,"props":1186,"children":1187},{"style":141},[1188],{"type":60,"value":1189},"(document))\n",{"type":55,"tag":70,"props":1191,"children":1192},{},[1193],{"type":60,"value":1194},"Frontmatter remains an unparsed string. Heading IDs are generated during\nparsing and are duplicate-safe under the default slugger.",{"type":55,"tag":343,"props":1196,"children":1198},{"id":1197},"add-visible-heading-anchors-while-rendering",[1199],{"type":60,"value":1200},"Add visible heading anchors while rendering",{"type":55,"tag":76,"props":1202,"children":1204},{"className":117,"code":1203,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst document = parseMarkdown('# API')\n\nconst html = renderHtml(document, {\n  headingAnchors: {\n    content: '#',\n    className: 'heading-anchor',\n    ariaHidden: true,\n    tabIndex: -1,\n  },\n})\n\nconsole.log(html)\n",[1205],{"type":55,"tag":84,"props":1206,"children":1207},{"__ignoreMap":81},[1208,1243,1278,1285,1325,1332,1363,1379,1408,1437,1457,1484,1491,1502,1509],{"type":55,"tag":88,"props":1209,"children":1210},{"class":90,"line":91},[1211,1215,1219,1223,1227,1231,1235,1239],{"type":55,"tag":88,"props":1212,"children":1213},{"style":129},[1214],{"type":60,"value":132},{"type":55,"tag":88,"props":1216,"children":1217},{"style":135},[1218],{"type":60,"value":138},{"type":55,"tag":88,"props":1220,"children":1221},{"style":141},[1222],{"type":60,"value":144},{"type":55,"tag":88,"props":1224,"children":1225},{"style":135},[1226],{"type":60,"value":149},{"type":55,"tag":88,"props":1228,"children":1229},{"style":129},[1230],{"type":60,"value":154},{"type":55,"tag":88,"props":1232,"children":1233},{"style":135},[1234],{"type":60,"value":159},{"type":55,"tag":88,"props":1236,"children":1237},{"style":101},[1238],{"type":60,"value":164},{"type":55,"tag":88,"props":1240,"children":1241},{"style":135},[1242],{"type":60,"value":169},{"type":55,"tag":88,"props":1244,"children":1245},{"class":90,"line":172},[1246,1250,1254,1258,1262,1266,1270,1274],{"type":55,"tag":88,"props":1247,"children":1248},{"style":129},[1249],{"type":60,"value":132},{"type":55,"tag":88,"props":1251,"children":1252},{"style":135},[1253],{"type":60,"value":138},{"type":55,"tag":88,"props":1255,"children":1256},{"style":141},[1257],{"type":60,"value":406},{"type":55,"tag":88,"props":1259,"children":1260},{"style":135},[1261],{"type":60,"value":149},{"type":55,"tag":88,"props":1263,"children":1264},{"style":129},[1265],{"type":60,"value":154},{"type":55,"tag":88,"props":1267,"children":1268},{"style":135},[1269],{"type":60,"value":159},{"type":55,"tag":88,"props":1271,"children":1272},{"style":101},[1273],{"type":60,"value":326},{"type":55,"tag":88,"props":1275,"children":1276},{"style":135},[1277],{"type":60,"value":169},{"type":55,"tag":88,"props":1279,"children":1280},{"class":90,"line":182},[1281],{"type":55,"tag":88,"props":1282,"children":1283},{"emptyLinePlaceholder":176},[1284],{"type":60,"value":179},{"type":55,"tag":88,"props":1286,"children":1287},{"class":90,"line":212},[1288,1292,1296,1300,1304,1308,1312,1317,1321],{"type":55,"tag":88,"props":1289,"children":1290},{"style":186},[1291],{"type":60,"value":189},{"type":55,"tag":88,"props":1293,"children":1294},{"style":141},[1295],{"type":60,"value":536},{"type":55,"tag":88,"props":1297,"children":1298},{"style":135},[1299],{"type":60,"value":199},{"type":55,"tag":88,"props":1301,"children":1302},{"style":276},[1303],{"type":60,"value":406},{"type":55,"tag":88,"props":1305,"children":1306},{"style":141},[1307],{"type":60,"value":944},{"type":55,"tag":88,"props":1309,"children":1310},{"style":135},[1311],{"type":60,"value":1023},{"type":55,"tag":88,"props":1313,"children":1314},{"style":101},[1315],{"type":60,"value":1316},"# API",{"type":55,"tag":88,"props":1318,"children":1319},{"style":135},[1320],{"type":60,"value":1023},{"type":55,"tag":88,"props":1322,"children":1323},{"style":141},[1324],{"type":60,"value":1049},{"type":55,"tag":88,"props":1326,"children":1327},{"class":90,"line":220},[1328],{"type":55,"tag":88,"props":1329,"children":1330},{"emptyLinePlaceholder":176},[1331],{"type":60,"value":179},{"type":55,"tag":88,"props":1333,"children":1334},{"class":90,"line":229},[1335,1339,1343,1347,1351,1355,1359],{"type":55,"tag":88,"props":1336,"children":1337},{"style":186},[1338],{"type":60,"value":189},{"type":55,"tag":88,"props":1340,"children":1341},{"style":141},[1342],{"type":60,"value":269},{"type":55,"tag":88,"props":1344,"children":1345},{"style":135},[1346],{"type":60,"value":199},{"type":55,"tag":88,"props":1348,"children":1349},{"style":276},[1350],{"type":60,"value":144},{"type":55,"tag":88,"props":1352,"children":1353},{"style":141},[1354],{"type":60,"value":1150},{"type":55,"tag":88,"props":1356,"children":1357},{"style":135},[1358],{"type":60,"value":900},{"type":55,"tag":88,"props":1360,"children":1361},{"style":135},[1362],{"type":60,"value":905},{"type":55,"tag":88,"props":1364,"children":1365},{"class":90,"line":238},[1366,1371,1375],{"type":55,"tag":88,"props":1367,"children":1368},{"style":911},[1369],{"type":60,"value":1370},"  headingAnchors",{"type":55,"tag":88,"props":1372,"children":1373},{"style":135},[1374],{"type":60,"value":919},{"type":55,"tag":88,"props":1376,"children":1377},{"style":135},[1378],{"type":60,"value":905},{"type":55,"tag":88,"props":1380,"children":1381},{"class":90,"line":252},[1382,1387,1391,1395,1400,1404],{"type":55,"tag":88,"props":1383,"children":1384},{"style":911},[1385],{"type":60,"value":1386},"    content",{"type":55,"tag":88,"props":1388,"children":1389},{"style":135},[1390],{"type":60,"value":919},{"type":55,"tag":88,"props":1392,"children":1393},{"style":135},[1394],{"type":60,"value":159},{"type":55,"tag":88,"props":1396,"children":1397},{"style":101},[1398],{"type":60,"value":1399},"#",{"type":55,"tag":88,"props":1401,"children":1402},{"style":135},[1403],{"type":60,"value":1023},{"type":55,"tag":88,"props":1405,"children":1406},{"style":135},[1407],{"type":60,"value":930},{"type":55,"tag":88,"props":1409,"children":1410},{"class":90,"line":25},[1411,1416,1420,1424,1429,1433],{"type":55,"tag":88,"props":1412,"children":1413},{"style":911},[1414],{"type":60,"value":1415},"    className",{"type":55,"tag":88,"props":1417,"children":1418},{"style":135},[1419],{"type":60,"value":919},{"type":55,"tag":88,"props":1421,"children":1422},{"style":135},[1423],{"type":60,"value":159},{"type":55,"tag":88,"props":1425,"children":1426},{"style":101},[1427],{"type":60,"value":1428},"heading-anchor",{"type":55,"tag":88,"props":1430,"children":1431},{"style":135},[1432],{"type":60,"value":1023},{"type":55,"tag":88,"props":1434,"children":1435},{"style":135},[1436],{"type":60,"value":930},{"type":55,"tag":88,"props":1438,"children":1439},{"class":90,"line":286},[1440,1445,1449,1453],{"type":55,"tag":88,"props":1441,"children":1442},{"style":911},[1443],{"type":60,"value":1444},"    ariaHidden",{"type":55,"tag":88,"props":1446,"children":1447},{"style":135},[1448],{"type":60,"value":919},{"type":55,"tag":88,"props":1450,"children":1451},{"style":922},[1452],{"type":60,"value":925},{"type":55,"tag":88,"props":1454,"children":1455},{"style":135},[1456],{"type":60,"value":930},{"type":55,"tag":88,"props":1458,"children":1459},{"class":90,"line":294},[1460,1465,1469,1474,1480],{"type":55,"tag":88,"props":1461,"children":1462},{"style":911},[1463],{"type":60,"value":1464},"    tabIndex",{"type":55,"tag":88,"props":1466,"children":1467},{"style":135},[1468],{"type":60,"value":919},{"type":55,"tag":88,"props":1470,"children":1471},{"style":135},[1472],{"type":60,"value":1473}," -",{"type":55,"tag":88,"props":1475,"children":1477},{"style":1476},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1478],{"type":60,"value":1479},"1",{"type":55,"tag":88,"props":1481,"children":1482},{"style":135},[1483],{"type":60,"value":930},{"type":55,"tag":88,"props":1485,"children":1486},{"class":90,"line":630},[1487],{"type":55,"tag":88,"props":1488,"children":1489},{"style":135},[1490],{"type":60,"value":1109},{"type":55,"tag":88,"props":1492,"children":1493},{"class":90,"line":655},[1494,1498],{"type":55,"tag":88,"props":1495,"children":1496},{"style":135},[1497],{"type":60,"value":1082},{"type":55,"tag":88,"props":1499,"children":1500},{"style":141},[1501],{"type":60,"value":1049},{"type":55,"tag":88,"props":1503,"children":1504},{"class":90,"line":663},[1505],{"type":55,"tag":88,"props":1506,"children":1507},{"emptyLinePlaceholder":176},[1508],{"type":60,"value":179},{"type":55,"tag":88,"props":1510,"children":1511},{"class":90,"line":933},[1512,1516,1520,1524],{"type":55,"tag":88,"props":1513,"children":1514},{"style":141},[1515],{"type":60,"value":300},{"type":55,"tag":88,"props":1517,"children":1518},{"style":135},[1519],{"type":60,"value":305},{"type":55,"tag":88,"props":1521,"children":1522},{"style":276},[1523],{"type":60,"value":310},{"type":55,"tag":88,"props":1525,"children":1526},{"style":141},[1527],{"type":60,"value":315},{"type":55,"tag":70,"props":1529,"children":1530},{},[1531],{"type":60,"value":1532},"Heading IDs are a parse concern; visible anchor links are a render concern.",{"type":55,"tag":343,"props":1534,"children":1536},{"id":1535},"parse-inline-content-only-when-no-block-context-is-needed",[1537],{"type":60,"value":1538},"Parse inline content only when no block context is needed",{"type":55,"tag":76,"props":1540,"children":1542},{"className":117,"code":1541,"language":119,"meta":81,"style":81},"import { parseInline, renderInline } from '@tanstack\u002Fmarkdown'\n\nconst nodes = parseInline('Use **stable** APIs and `parseMarkdown`.')\nconst html = nodes.map(node => renderInline(node)).join('')\n\nconsole.log(html)\n",[1543],{"type":55,"tag":84,"props":1544,"children":1545},{"__ignoreMap":81},[1546,1591,1598,1639,1713,1720],{"type":55,"tag":88,"props":1547,"children":1548},{"class":90,"line":91},[1549,1553,1557,1562,1566,1571,1575,1579,1583,1587],{"type":55,"tag":88,"props":1550,"children":1551},{"style":129},[1552],{"type":60,"value":132},{"type":55,"tag":88,"props":1554,"children":1555},{"style":135},[1556],{"type":60,"value":138},{"type":55,"tag":88,"props":1558,"children":1559},{"style":141},[1560],{"type":60,"value":1561}," parseInline",{"type":55,"tag":88,"props":1563,"children":1564},{"style":135},[1565],{"type":60,"value":900},{"type":55,"tag":88,"props":1567,"children":1568},{"style":141},[1569],{"type":60,"value":1570}," renderInline",{"type":55,"tag":88,"props":1572,"children":1573},{"style":135},[1574],{"type":60,"value":149},{"type":55,"tag":88,"props":1576,"children":1577},{"style":129},[1578],{"type":60,"value":154},{"type":55,"tag":88,"props":1580,"children":1581},{"style":135},[1582],{"type":60,"value":159},{"type":55,"tag":88,"props":1584,"children":1585},{"style":101},[1586],{"type":60,"value":40},{"type":55,"tag":88,"props":1588,"children":1589},{"style":135},[1590],{"type":60,"value":169},{"type":55,"tag":88,"props":1592,"children":1593},{"class":90,"line":172},[1594],{"type":55,"tag":88,"props":1595,"children":1596},{"emptyLinePlaceholder":176},[1597],{"type":60,"value":179},{"type":55,"tag":88,"props":1599,"children":1600},{"class":90,"line":182},[1601,1605,1610,1614,1618,1622,1626,1631,1635],{"type":55,"tag":88,"props":1602,"children":1603},{"style":186},[1604],{"type":60,"value":189},{"type":55,"tag":88,"props":1606,"children":1607},{"style":141},[1608],{"type":60,"value":1609}," nodes ",{"type":55,"tag":88,"props":1611,"children":1612},{"style":135},[1613],{"type":60,"value":199},{"type":55,"tag":88,"props":1615,"children":1616},{"style":276},[1617],{"type":60,"value":1561},{"type":55,"tag":88,"props":1619,"children":1620},{"style":141},[1621],{"type":60,"value":944},{"type":55,"tag":88,"props":1623,"children":1624},{"style":135},[1625],{"type":60,"value":1023},{"type":55,"tag":88,"props":1627,"children":1628},{"style":101},[1629],{"type":60,"value":1630},"Use **stable** APIs and `parseMarkdown`.",{"type":55,"tag":88,"props":1632,"children":1633},{"style":135},[1634],{"type":60,"value":1023},{"type":55,"tag":88,"props":1636,"children":1637},{"style":141},[1638],{"type":60,"value":1049},{"type":55,"tag":88,"props":1640,"children":1641},{"class":90,"line":212},[1642,1646,1650,1654,1659,1663,1668,1672,1677,1682,1686,1691,1695,1700,1704,1709],{"type":55,"tag":88,"props":1643,"children":1644},{"style":186},[1645],{"type":60,"value":189},{"type":55,"tag":88,"props":1647,"children":1648},{"style":141},[1649],{"type":60,"value":269},{"type":55,"tag":88,"props":1651,"children":1652},{"style":135},[1653],{"type":60,"value":199},{"type":55,"tag":88,"props":1655,"children":1656},{"style":141},[1657],{"type":60,"value":1658}," nodes",{"type":55,"tag":88,"props":1660,"children":1661},{"style":135},[1662],{"type":60,"value":305},{"type":55,"tag":88,"props":1664,"children":1665},{"style":276},[1666],{"type":60,"value":1667},"map",{"type":55,"tag":88,"props":1669,"children":1670},{"style":141},[1671],{"type":60,"value":944},{"type":55,"tag":88,"props":1673,"children":1674},{"style":947},[1675],{"type":60,"value":1676},"node",{"type":55,"tag":88,"props":1678,"children":1679},{"style":186},[1680],{"type":60,"value":1681}," =>",{"type":55,"tag":88,"props":1683,"children":1684},{"style":276},[1685],{"type":60,"value":1570},{"type":55,"tag":88,"props":1687,"children":1688},{"style":141},[1689],{"type":60,"value":1690},"(node))",{"type":55,"tag":88,"props":1692,"children":1693},{"style":135},[1694],{"type":60,"value":305},{"type":55,"tag":88,"props":1696,"children":1697},{"style":276},[1698],{"type":60,"value":1699},"join",{"type":55,"tag":88,"props":1701,"children":1702},{"style":141},[1703],{"type":60,"value":944},{"type":55,"tag":88,"props":1705,"children":1706},{"style":135},[1707],{"type":60,"value":1708},"''",{"type":55,"tag":88,"props":1710,"children":1711},{"style":141},[1712],{"type":60,"value":1049},{"type":55,"tag":88,"props":1714,"children":1715},{"class":90,"line":220},[1716],{"type":55,"tag":88,"props":1717,"children":1718},{"emptyLinePlaceholder":176},[1719],{"type":60,"value":179},{"type":55,"tag":88,"props":1721,"children":1722},{"class":90,"line":229},[1723,1727,1731,1735],{"type":55,"tag":88,"props":1724,"children":1725},{"style":141},[1726],{"type":60,"value":300},{"type":55,"tag":88,"props":1728,"children":1729},{"style":135},[1730],{"type":60,"value":305},{"type":55,"tag":88,"props":1732,"children":1733},{"style":276},[1734],{"type":60,"value":310},{"type":55,"tag":88,"props":1736,"children":1737},{"style":141},[1738],{"type":60,"value":315},{"type":55,"tag":70,"props":1740,"children":1741},{},[1742,1748,1750,1756],{"type":55,"tag":84,"props":1743,"children":1745},{"className":1744},[],[1746],{"type":60,"value":1747},"parseInline",{"type":60,"value":1749}," handles inline syntax only. Use ",{"type":55,"tag":84,"props":1751,"children":1753},{"className":1752},[],[1754],{"type":60,"value":1755},"parseMarkdown",{"type":60,"value":1757}," for headings,\nlists, tables, frontmatter, reference definitions, and footnote definitions.",{"type":55,"tag":63,"props":1759,"children":1761},{"id":1760},"behavioral-contracts",[1762],{"type":60,"value":1763},"Behavioral Contracts",{"type":55,"tag":1765,"props":1766,"children":1767},"ul",{},[1768,1774,1786,1791,1804,1809,1814,1819],{"type":55,"tag":1769,"props":1770,"children":1771},"li",{},[1772],{"type":60,"value":1773},"Parsing is synchronous, deterministic, and normalizes line endings.",{"type":55,"tag":1769,"props":1775,"children":1776},{},[1777,1779,1785],{"type":60,"value":1778},"Raw block and inline HTML are recognized only with ",{"type":55,"tag":84,"props":1780,"children":1782},{"className":1781},[],[1783],{"type":60,"value":1784},"allowHtml: true",{"type":60,"value":305},{"type":55,"tag":1769,"props":1787,"children":1788},{},[1789],{"type":60,"value":1790},"Link and image URLs have unsafe executable protocols removed.",{"type":55,"tag":1769,"props":1792,"children":1793},{},[1794,1796,1802],{"type":60,"value":1795},"Tight lists place simple content directly under ",{"type":55,"tag":84,"props":1797,"children":1799},{"className":1798},[],[1800],{"type":60,"value":1801},"\u003Cli>",{"type":60,"value":1803},"; loose lists retain\nparagraph wrappers; task checkboxes remain inline with labels.",{"type":55,"tag":1769,"props":1805,"children":1806},{},[1807],{"type":60,"value":1808},"Reference definitions resolve case-insensitively before block parsing.",{"type":55,"tag":1769,"props":1810,"children":1811},{},[1812],{"type":60,"value":1813},"Footnotes render in first-reference order with collision-safe IDs and\nrepeated-reference back links.",{"type":55,"tag":1769,"props":1815,"children":1816},{},[1817],{"type":60,"value":1818},"Code fence metadata is recorded in the AST; highlighting is external.",{"type":55,"tag":1769,"props":1820,"children":1821},{},[1822],{"type":60,"value":1823},"The AST is public but pre-1.0. Regenerate persisted documents when an\nupgrade changes node contracts.",{"type":55,"tag":63,"props":1825,"children":1827},{"id":1826},"compatibility-and-option-timing",[1828],{"type":60,"value":1829},"Compatibility and Option Timing",{"type":55,"tag":70,"props":1831,"children":1832},{},[1833,1835,1841],{"type":60,"value":1834},"TanStack Markdown targets controlled blog and documentation content rather\nthan complete CommonMark, GFM, MDX, or arbitrary HTML parsing. Before adding\nsyntax, require corpus evidence, regression coverage, renderer parity, and an\naccepted bundle cost. See ",{"type":55,"tag":84,"props":1836,"children":1838},{"className":1837},[],[1839],{"type":60,"value":1840},"production-pipelines\u002FSKILL.md",{"type":60,"value":1842}," for compatibility,\nsecurity, highlighting, and size gates.",{"type":55,"tag":70,"props":1844,"children":1845},{},[1846,1848,1854,1856,1862,1863,1869,1871,1877,1878,1884,1886,1892],{"type":60,"value":1847},"Parsing fixes the document structure. Apply ",{"type":55,"tag":84,"props":1849,"children":1851},{"className":1850},[],[1852],{"type":60,"value":1853},"frontmatter",{"type":60,"value":1855},", ",{"type":55,"tag":84,"props":1857,"children":1859},{"className":1858},[],[1860],{"type":60,"value":1861},"headingIds",{"type":60,"value":930},{"type":55,"tag":84,"props":1864,"children":1866},{"className":1865},[],[1867],{"type":60,"value":1868},"allowHtml",{"type":60,"value":1870},", parser state, and parser\u002Ftransform extensions before caching the\nAST. Renderer-only options such as ",{"type":55,"tag":84,"props":1872,"children":1874},{"className":1873},[],[1875],{"type":60,"value":1876},"headingAnchors",{"type":60,"value":1855},{"type":55,"tag":84,"props":1879,"children":1881},{"className":1880},[],[1882],{"type":60,"value":1883},"highlighter",{"type":60,"value":1885},", and\n",{"type":55,"tag":84,"props":1887,"children":1889},{"className":1888},[],[1890],{"type":60,"value":1891},"codeLineNumbers",{"type":60,"value":1893}," may be applied when rendering an existing document.",{"type":55,"tag":63,"props":1895,"children":1897},{"id":1896},"common-mistakes",[1898],{"type":60,"value":1899},"Common Mistakes",{"type":55,"tag":343,"props":1901,"children":1903},{"id":1902},"high-assuming-complete-commonmark-or-gfm-behavior",[1904],{"type":60,"value":1905},"HIGH Assuming complete CommonMark or GFM behavior",{"type":55,"tag":70,"props":1907,"children":1908},{},[1909],{"type":60,"value":1910},"Wrong:",{"type":55,"tag":76,"props":1912,"children":1914},{"className":117,"code":1913,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst markdownFromAnywhere = `Heading\n===\n\nVisit https:\u002F\u002Fexample.com`\n\nconst html = renderHtml(markdownFromAnywhere)\n\nconsole.log(html)\n",[1915],{"type":55,"tag":84,"props":1916,"children":1917},{"__ignoreMap":81},[1918,1953,1960,1985,1993,2000,2012,2019,2043,2050],{"type":55,"tag":88,"props":1919,"children":1920},{"class":90,"line":91},[1921,1925,1929,1933,1937,1941,1945,1949],{"type":55,"tag":88,"props":1922,"children":1923},{"style":129},[1924],{"type":60,"value":132},{"type":55,"tag":88,"props":1926,"children":1927},{"style":135},[1928],{"type":60,"value":138},{"type":55,"tag":88,"props":1930,"children":1931},{"style":141},[1932],{"type":60,"value":144},{"type":55,"tag":88,"props":1934,"children":1935},{"style":135},[1936],{"type":60,"value":149},{"type":55,"tag":88,"props":1938,"children":1939},{"style":129},[1940],{"type":60,"value":154},{"type":55,"tag":88,"props":1942,"children":1943},{"style":135},[1944],{"type":60,"value":159},{"type":55,"tag":88,"props":1946,"children":1947},{"style":101},[1948],{"type":60,"value":164},{"type":55,"tag":88,"props":1950,"children":1951},{"style":135},[1952],{"type":60,"value":169},{"type":55,"tag":88,"props":1954,"children":1955},{"class":90,"line":172},[1956],{"type":55,"tag":88,"props":1957,"children":1958},{"emptyLinePlaceholder":176},[1959],{"type":60,"value":179},{"type":55,"tag":88,"props":1961,"children":1962},{"class":90,"line":182},[1963,1967,1972,1976,1980],{"type":55,"tag":88,"props":1964,"children":1965},{"style":186},[1966],{"type":60,"value":189},{"type":55,"tag":88,"props":1968,"children":1969},{"style":141},[1970],{"type":60,"value":1971}," markdownFromAnywhere ",{"type":55,"tag":88,"props":1973,"children":1974},{"style":135},[1975],{"type":60,"value":199},{"type":55,"tag":88,"props":1977,"children":1978},{"style":135},[1979],{"type":60,"value":204},{"type":55,"tag":88,"props":1981,"children":1982},{"style":101},[1983],{"type":60,"value":1984},"Heading\n",{"type":55,"tag":88,"props":1986,"children":1987},{"class":90,"line":212},[1988],{"type":55,"tag":88,"props":1989,"children":1990},{"style":101},[1991],{"type":60,"value":1992},"===\n",{"type":55,"tag":88,"props":1994,"children":1995},{"class":90,"line":220},[1996],{"type":55,"tag":88,"props":1997,"children":1998},{"emptyLinePlaceholder":176},[1999],{"type":60,"value":179},{"type":55,"tag":88,"props":2001,"children":2002},{"class":90,"line":229},[2003,2008],{"type":55,"tag":88,"props":2004,"children":2005},{"style":101},[2006],{"type":60,"value":2007},"Visit https:\u002F\u002Fexample.com",{"type":55,"tag":88,"props":2009,"children":2010},{"style":135},[2011],{"type":60,"value":249},{"type":55,"tag":88,"props":2013,"children":2014},{"class":90,"line":238},[2015],{"type":55,"tag":88,"props":2016,"children":2017},{"emptyLinePlaceholder":176},[2018],{"type":60,"value":179},{"type":55,"tag":88,"props":2020,"children":2021},{"class":90,"line":252},[2022,2026,2030,2034,2038],{"type":55,"tag":88,"props":2023,"children":2024},{"style":186},[2025],{"type":60,"value":189},{"type":55,"tag":88,"props":2027,"children":2028},{"style":141},[2029],{"type":60,"value":269},{"type":55,"tag":88,"props":2031,"children":2032},{"style":135},[2033],{"type":60,"value":199},{"type":55,"tag":88,"props":2035,"children":2036},{"style":276},[2037],{"type":60,"value":144},{"type":55,"tag":88,"props":2039,"children":2040},{"style":141},[2041],{"type":60,"value":2042},"(markdownFromAnywhere)\n",{"type":55,"tag":88,"props":2044,"children":2045},{"class":90,"line":25},[2046],{"type":55,"tag":88,"props":2047,"children":2048},{"emptyLinePlaceholder":176},[2049],{"type":60,"value":179},{"type":55,"tag":88,"props":2051,"children":2052},{"class":90,"line":286},[2053,2057,2061,2065],{"type":55,"tag":88,"props":2054,"children":2055},{"style":141},[2056],{"type":60,"value":300},{"type":55,"tag":88,"props":2058,"children":2059},{"style":135},[2060],{"type":60,"value":305},{"type":55,"tag":88,"props":2062,"children":2063},{"style":276},[2064],{"type":60,"value":310},{"type":55,"tag":88,"props":2066,"children":2067},{"style":141},[2068],{"type":60,"value":315},{"type":55,"tag":70,"props":2070,"children":2071},{},[2072],{"type":60,"value":2073},"Correct:",{"type":55,"tag":76,"props":2075,"children":2077},{"className":117,"code":2076,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst controlledMarkdown = `# Heading\n\nVisit [example](https:\u002F\u002Fexample.com)`\n\nconst html = renderHtml(controlledMarkdown)\n\nconsole.log(html)\n",[2078],{"type":55,"tag":84,"props":2079,"children":2080},{"__ignoreMap":81},[2081,2116,2123,2148,2155,2167,2174,2198,2205],{"type":55,"tag":88,"props":2082,"children":2083},{"class":90,"line":91},[2084,2088,2092,2096,2100,2104,2108,2112],{"type":55,"tag":88,"props":2085,"children":2086},{"style":129},[2087],{"type":60,"value":132},{"type":55,"tag":88,"props":2089,"children":2090},{"style":135},[2091],{"type":60,"value":138},{"type":55,"tag":88,"props":2093,"children":2094},{"style":141},[2095],{"type":60,"value":144},{"type":55,"tag":88,"props":2097,"children":2098},{"style":135},[2099],{"type":60,"value":149},{"type":55,"tag":88,"props":2101,"children":2102},{"style":129},[2103],{"type":60,"value":154},{"type":55,"tag":88,"props":2105,"children":2106},{"style":135},[2107],{"type":60,"value":159},{"type":55,"tag":88,"props":2109,"children":2110},{"style":101},[2111],{"type":60,"value":164},{"type":55,"tag":88,"props":2113,"children":2114},{"style":135},[2115],{"type":60,"value":169},{"type":55,"tag":88,"props":2117,"children":2118},{"class":90,"line":172},[2119],{"type":55,"tag":88,"props":2120,"children":2121},{"emptyLinePlaceholder":176},[2122],{"type":60,"value":179},{"type":55,"tag":88,"props":2124,"children":2125},{"class":90,"line":182},[2126,2130,2135,2139,2143],{"type":55,"tag":88,"props":2127,"children":2128},{"style":186},[2129],{"type":60,"value":189},{"type":55,"tag":88,"props":2131,"children":2132},{"style":141},[2133],{"type":60,"value":2134}," controlledMarkdown ",{"type":55,"tag":88,"props":2136,"children":2137},{"style":135},[2138],{"type":60,"value":199},{"type":55,"tag":88,"props":2140,"children":2141},{"style":135},[2142],{"type":60,"value":204},{"type":55,"tag":88,"props":2144,"children":2145},{"style":101},[2146],{"type":60,"value":2147},"# Heading\n",{"type":55,"tag":88,"props":2149,"children":2150},{"class":90,"line":212},[2151],{"type":55,"tag":88,"props":2152,"children":2153},{"emptyLinePlaceholder":176},[2154],{"type":60,"value":179},{"type":55,"tag":88,"props":2156,"children":2157},{"class":90,"line":220},[2158,2163],{"type":55,"tag":88,"props":2159,"children":2160},{"style":101},[2161],{"type":60,"value":2162},"Visit [example](https:\u002F\u002Fexample.com)",{"type":55,"tag":88,"props":2164,"children":2165},{"style":135},[2166],{"type":60,"value":249},{"type":55,"tag":88,"props":2168,"children":2169},{"class":90,"line":229},[2170],{"type":55,"tag":88,"props":2171,"children":2172},{"emptyLinePlaceholder":176},[2173],{"type":60,"value":179},{"type":55,"tag":88,"props":2175,"children":2176},{"class":90,"line":238},[2177,2181,2185,2189,2193],{"type":55,"tag":88,"props":2178,"children":2179},{"style":186},[2180],{"type":60,"value":189},{"type":55,"tag":88,"props":2182,"children":2183},{"style":141},[2184],{"type":60,"value":269},{"type":55,"tag":88,"props":2186,"children":2187},{"style":135},[2188],{"type":60,"value":199},{"type":55,"tag":88,"props":2190,"children":2191},{"style":276},[2192],{"type":60,"value":144},{"type":55,"tag":88,"props":2194,"children":2195},{"style":141},[2196],{"type":60,"value":2197},"(controlledMarkdown)\n",{"type":55,"tag":88,"props":2199,"children":2200},{"class":90,"line":252},[2201],{"type":55,"tag":88,"props":2202,"children":2203},{"emptyLinePlaceholder":176},[2204],{"type":60,"value":179},{"type":55,"tag":88,"props":2206,"children":2207},{"class":90,"line":25},[2208,2212,2216,2220],{"type":55,"tag":88,"props":2209,"children":2210},{"style":141},[2211],{"type":60,"value":300},{"type":55,"tag":88,"props":2213,"children":2214},{"style":135},[2215],{"type":60,"value":305},{"type":55,"tag":88,"props":2217,"children":2218},{"style":276},[2219],{"type":60,"value":310},{"type":55,"tag":88,"props":2221,"children":2222},{"style":141},[2223],{"type":60,"value":315},{"type":55,"tag":70,"props":2225,"children":2226},{},[2227],{"type":60,"value":2228},"Setext headings and automatic URL linking are outside the supported syntax\nprofile, so unsupported input can remain literal or have different structure.",{"type":55,"tag":70,"props":2230,"children":2231},{},[2232,2234],{"type":60,"value":2233},"Source: ",{"type":55,"tag":84,"props":2235,"children":2237},{"className":2236},[],[2238],{"type":60,"value":2239},"docs\u002Fcore-concepts\u002Fsyntax-profile.md",{"type":55,"tag":70,"props":2241,"children":2242},{},[2243,2245,2250],{"type":60,"value":2244},"See also: ",{"type":55,"tag":84,"props":2246,"children":2248},{"className":2247},[],[2249],{"type":60,"value":1840},{"type":60,"value":2251}," - compatibility breadth must be\njustified against corpus evidence and the bundle budget.",{"type":55,"tag":343,"props":2253,"children":2255},{"id":2254},"medium-reparsing-unchanged-content-on-every-render",[2256],{"type":60,"value":2257},"MEDIUM Reparsing unchanged content on every render",{"type":55,"tag":70,"props":2259,"children":2260},{},[2261],{"type":60,"value":1910},{"type":55,"tag":76,"props":2263,"children":2265},{"className":117,"code":2264,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\n\nconst source = '# Cached article'\n\nfunction renderArticle() {\n  return renderHtml(source)\n}\n\nconsole.log(renderArticle())\nconsole.log(renderArticle())\n",[2266],{"type":55,"tag":84,"props":2267,"children":2268},{"__ignoreMap":81},[2269,2304,2311,2339,2346,2367,2392,2400,2407,2436],{"type":55,"tag":88,"props":2270,"children":2271},{"class":90,"line":91},[2272,2276,2280,2284,2288,2292,2296,2300],{"type":55,"tag":88,"props":2273,"children":2274},{"style":129},[2275],{"type":60,"value":132},{"type":55,"tag":88,"props":2277,"children":2278},{"style":135},[2279],{"type":60,"value":138},{"type":55,"tag":88,"props":2281,"children":2282},{"style":141},[2283],{"type":60,"value":144},{"type":55,"tag":88,"props":2285,"children":2286},{"style":135},[2287],{"type":60,"value":149},{"type":55,"tag":88,"props":2289,"children":2290},{"style":129},[2291],{"type":60,"value":154},{"type":55,"tag":88,"props":2293,"children":2294},{"style":135},[2295],{"type":60,"value":159},{"type":55,"tag":88,"props":2297,"children":2298},{"style":101},[2299],{"type":60,"value":164},{"type":55,"tag":88,"props":2301,"children":2302},{"style":135},[2303],{"type":60,"value":169},{"type":55,"tag":88,"props":2305,"children":2306},{"class":90,"line":172},[2307],{"type":55,"tag":88,"props":2308,"children":2309},{"emptyLinePlaceholder":176},[2310],{"type":60,"value":179},{"type":55,"tag":88,"props":2312,"children":2313},{"class":90,"line":182},[2314,2318,2322,2326,2330,2335],{"type":55,"tag":88,"props":2315,"children":2316},{"style":186},[2317],{"type":60,"value":189},{"type":55,"tag":88,"props":2319,"children":2320},{"style":141},[2321],{"type":60,"value":194},{"type":55,"tag":88,"props":2323,"children":2324},{"style":135},[2325],{"type":60,"value":199},{"type":55,"tag":88,"props":2327,"children":2328},{"style":135},[2329],{"type":60,"value":159},{"type":55,"tag":88,"props":2331,"children":2332},{"style":101},[2333],{"type":60,"value":2334},"# Cached article",{"type":55,"tag":88,"props":2336,"children":2337},{"style":135},[2338],{"type":60,"value":169},{"type":55,"tag":88,"props":2340,"children":2341},{"class":90,"line":212},[2342],{"type":55,"tag":88,"props":2343,"children":2344},{"emptyLinePlaceholder":176},[2345],{"type":60,"value":179},{"type":55,"tag":88,"props":2347,"children":2348},{"class":90,"line":220},[2349,2354,2359,2363],{"type":55,"tag":88,"props":2350,"children":2351},{"style":186},[2352],{"type":60,"value":2353},"function",{"type":55,"tag":88,"props":2355,"children":2356},{"style":276},[2357],{"type":60,"value":2358}," renderArticle",{"type":55,"tag":88,"props":2360,"children":2361},{"style":135},[2362],{"type":60,"value":1005},{"type":55,"tag":88,"props":2364,"children":2365},{"style":135},[2366],{"type":60,"value":905},{"type":55,"tag":88,"props":2368,"children":2369},{"class":90,"line":229},[2370,2375,2379,2383,2388],{"type":55,"tag":88,"props":2371,"children":2372},{"style":129},[2373],{"type":60,"value":2374},"  return",{"type":55,"tag":88,"props":2376,"children":2377},{"style":276},[2378],{"type":60,"value":144},{"type":55,"tag":88,"props":2380,"children":2381},{"style":911},[2382],{"type":60,"value":944},{"type":55,"tag":88,"props":2384,"children":2385},{"style":141},[2386],{"type":60,"value":2387},"source",{"type":55,"tag":88,"props":2389,"children":2390},{"style":911},[2391],{"type":60,"value":1049},{"type":55,"tag":88,"props":2393,"children":2394},{"class":90,"line":238},[2395],{"type":55,"tag":88,"props":2396,"children":2397},{"style":135},[2398],{"type":60,"value":2399},"}\n",{"type":55,"tag":88,"props":2401,"children":2402},{"class":90,"line":252},[2403],{"type":55,"tag":88,"props":2404,"children":2405},{"emptyLinePlaceholder":176},[2406],{"type":60,"value":179},{"type":55,"tag":88,"props":2408,"children":2409},{"class":90,"line":25},[2410,2414,2418,2422,2426,2431],{"type":55,"tag":88,"props":2411,"children":2412},{"style":141},[2413],{"type":60,"value":300},{"type":55,"tag":88,"props":2415,"children":2416},{"style":135},[2417],{"type":60,"value":305},{"type":55,"tag":88,"props":2419,"children":2420},{"style":276},[2421],{"type":60,"value":310},{"type":55,"tag":88,"props":2423,"children":2424},{"style":141},[2425],{"type":60,"value":944},{"type":55,"tag":88,"props":2427,"children":2428},{"style":276},[2429],{"type":60,"value":2430},"renderArticle",{"type":55,"tag":88,"props":2432,"children":2433},{"style":141},[2434],{"type":60,"value":2435},"())\n",{"type":55,"tag":88,"props":2437,"children":2438},{"class":90,"line":286},[2439,2443,2447,2451,2455,2459],{"type":55,"tag":88,"props":2440,"children":2441},{"style":141},[2442],{"type":60,"value":300},{"type":55,"tag":88,"props":2444,"children":2445},{"style":135},[2446],{"type":60,"value":305},{"type":55,"tag":88,"props":2448,"children":2449},{"style":276},[2450],{"type":60,"value":310},{"type":55,"tag":88,"props":2452,"children":2453},{"style":141},[2454],{"type":60,"value":944},{"type":55,"tag":88,"props":2456,"children":2457},{"style":276},[2458],{"type":60,"value":2430},{"type":55,"tag":88,"props":2460,"children":2461},{"style":141},[2462],{"type":60,"value":2435},{"type":55,"tag":70,"props":2464,"children":2465},{},[2466],{"type":60,"value":2073},{"type":55,"tag":76,"props":2468,"children":2470},{"className":117,"code":2469,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst source = '# Cached article'\nconst document = parseMarkdown(source)\n\nfunction renderArticle() {\n  return renderHtml(document)\n}\n\nconsole.log(renderArticle())\nconsole.log(renderArticle())\n",[2471],{"type":55,"tag":84,"props":2472,"children":2473},{"__ignoreMap":81},[2474,2509,2544,2551,2578,2601,2608,2627,2651,2658,2665,2692],{"type":55,"tag":88,"props":2475,"children":2476},{"class":90,"line":91},[2477,2481,2485,2489,2493,2497,2501,2505],{"type":55,"tag":88,"props":2478,"children":2479},{"style":129},[2480],{"type":60,"value":132},{"type":55,"tag":88,"props":2482,"children":2483},{"style":135},[2484],{"type":60,"value":138},{"type":55,"tag":88,"props":2486,"children":2487},{"style":141},[2488],{"type":60,"value":144},{"type":55,"tag":88,"props":2490,"children":2491},{"style":135},[2492],{"type":60,"value":149},{"type":55,"tag":88,"props":2494,"children":2495},{"style":129},[2496],{"type":60,"value":154},{"type":55,"tag":88,"props":2498,"children":2499},{"style":135},[2500],{"type":60,"value":159},{"type":55,"tag":88,"props":2502,"children":2503},{"style":101},[2504],{"type":60,"value":164},{"type":55,"tag":88,"props":2506,"children":2507},{"style":135},[2508],{"type":60,"value":169},{"type":55,"tag":88,"props":2510,"children":2511},{"class":90,"line":172},[2512,2516,2520,2524,2528,2532,2536,2540],{"type":55,"tag":88,"props":2513,"children":2514},{"style":129},[2515],{"type":60,"value":132},{"type":55,"tag":88,"props":2517,"children":2518},{"style":135},[2519],{"type":60,"value":138},{"type":55,"tag":88,"props":2521,"children":2522},{"style":141},[2523],{"type":60,"value":406},{"type":55,"tag":88,"props":2525,"children":2526},{"style":135},[2527],{"type":60,"value":149},{"type":55,"tag":88,"props":2529,"children":2530},{"style":129},[2531],{"type":60,"value":154},{"type":55,"tag":88,"props":2533,"children":2534},{"style":135},[2535],{"type":60,"value":159},{"type":55,"tag":88,"props":2537,"children":2538},{"style":101},[2539],{"type":60,"value":326},{"type":55,"tag":88,"props":2541,"children":2542},{"style":135},[2543],{"type":60,"value":169},{"type":55,"tag":88,"props":2545,"children":2546},{"class":90,"line":182},[2547],{"type":55,"tag":88,"props":2548,"children":2549},{"emptyLinePlaceholder":176},[2550],{"type":60,"value":179},{"type":55,"tag":88,"props":2552,"children":2553},{"class":90,"line":212},[2554,2558,2562,2566,2570,2574],{"type":55,"tag":88,"props":2555,"children":2556},{"style":186},[2557],{"type":60,"value":189},{"type":55,"tag":88,"props":2559,"children":2560},{"style":141},[2561],{"type":60,"value":194},{"type":55,"tag":88,"props":2563,"children":2564},{"style":135},[2565],{"type":60,"value":199},{"type":55,"tag":88,"props":2567,"children":2568},{"style":135},[2569],{"type":60,"value":159},{"type":55,"tag":88,"props":2571,"children":2572},{"style":101},[2573],{"type":60,"value":2334},{"type":55,"tag":88,"props":2575,"children":2576},{"style":135},[2577],{"type":60,"value":169},{"type":55,"tag":88,"props":2579,"children":2580},{"class":90,"line":220},[2581,2585,2589,2593,2597],{"type":55,"tag":88,"props":2582,"children":2583},{"style":186},[2584],{"type":60,"value":189},{"type":55,"tag":88,"props":2586,"children":2587},{"style":141},[2588],{"type":60,"value":536},{"type":55,"tag":88,"props":2590,"children":2591},{"style":135},[2592],{"type":60,"value":199},{"type":55,"tag":88,"props":2594,"children":2595},{"style":276},[2596],{"type":60,"value":406},{"type":55,"tag":88,"props":2598,"children":2599},{"style":141},[2600],{"type":60,"value":283},{"type":55,"tag":88,"props":2602,"children":2603},{"class":90,"line":229},[2604],{"type":55,"tag":88,"props":2605,"children":2606},{"emptyLinePlaceholder":176},[2607],{"type":60,"value":179},{"type":55,"tag":88,"props":2609,"children":2610},{"class":90,"line":238},[2611,2615,2619,2623],{"type":55,"tag":88,"props":2612,"children":2613},{"style":186},[2614],{"type":60,"value":2353},{"type":55,"tag":88,"props":2616,"children":2617},{"style":276},[2618],{"type":60,"value":2358},{"type":55,"tag":88,"props":2620,"children":2621},{"style":135},[2622],{"type":60,"value":1005},{"type":55,"tag":88,"props":2624,"children":2625},{"style":135},[2626],{"type":60,"value":905},{"type":55,"tag":88,"props":2628,"children":2629},{"class":90,"line":252},[2630,2634,2638,2642,2647],{"type":55,"tag":88,"props":2631,"children":2632},{"style":129},[2633],{"type":60,"value":2374},{"type":55,"tag":88,"props":2635,"children":2636},{"style":276},[2637],{"type":60,"value":144},{"type":55,"tag":88,"props":2639,"children":2640},{"style":911},[2641],{"type":60,"value":944},{"type":55,"tag":88,"props":2643,"children":2644},{"style":141},[2645],{"type":60,"value":2646},"document",{"type":55,"tag":88,"props":2648,"children":2649},{"style":911},[2650],{"type":60,"value":1049},{"type":55,"tag":88,"props":2652,"children":2653},{"class":90,"line":25},[2654],{"type":55,"tag":88,"props":2655,"children":2656},{"style":135},[2657],{"type":60,"value":2399},{"type":55,"tag":88,"props":2659,"children":2660},{"class":90,"line":286},[2661],{"type":55,"tag":88,"props":2662,"children":2663},{"emptyLinePlaceholder":176},[2664],{"type":60,"value":179},{"type":55,"tag":88,"props":2666,"children":2667},{"class":90,"line":294},[2668,2672,2676,2680,2684,2688],{"type":55,"tag":88,"props":2669,"children":2670},{"style":141},[2671],{"type":60,"value":300},{"type":55,"tag":88,"props":2673,"children":2674},{"style":135},[2675],{"type":60,"value":305},{"type":55,"tag":88,"props":2677,"children":2678},{"style":276},[2679],{"type":60,"value":310},{"type":55,"tag":88,"props":2681,"children":2682},{"style":141},[2683],{"type":60,"value":944},{"type":55,"tag":88,"props":2685,"children":2686},{"style":276},[2687],{"type":60,"value":2430},{"type":55,"tag":88,"props":2689,"children":2690},{"style":141},[2691],{"type":60,"value":2435},{"type":55,"tag":88,"props":2693,"children":2694},{"class":90,"line":630},[2695,2699,2703,2707,2711,2715],{"type":55,"tag":88,"props":2696,"children":2697},{"style":141},[2698],{"type":60,"value":300},{"type":55,"tag":88,"props":2700,"children":2701},{"style":135},[2702],{"type":60,"value":305},{"type":55,"tag":88,"props":2704,"children":2705},{"style":276},[2706],{"type":60,"value":310},{"type":55,"tag":88,"props":2708,"children":2709},{"style":141},[2710],{"type":60,"value":944},{"type":55,"tag":88,"props":2712,"children":2713},{"style":276},[2714],{"type":60,"value":2430},{"type":55,"tag":88,"props":2716,"children":2717},{"style":141},[2718],{"type":60,"value":2435},{"type":55,"tag":70,"props":2720,"children":2721},{},[2722,2724,2729],{"type":60,"value":2723},"Complete-document renderers parse string inputs on every call, while a\n",{"type":55,"tag":84,"props":2725,"children":2727},{"className":2726},[],[2728],{"type":60,"value":691},{"type":60,"value":2730}," input skips repeated parsing.",{"type":55,"tag":70,"props":2732,"children":2733},{},[2734,2735],{"type":60,"value":2233},{"type":55,"tag":84,"props":2736,"children":2738},{"className":2737},[],[2739],{"type":60,"value":2740},"docs\u002Fcore-concepts\u002Fdocument-model.md",{"type":55,"tag":70,"props":2742,"children":2743},{},[2744,2745,2750],{"type":60,"value":2244},{"type":55,"tag":84,"props":2746,"children":2748},{"className":2747},[],[2749],{"type":60,"value":1840},{"type":60,"value":2751}," - parse-ahead caching must preserve\nthe parser option and extension set.",{"type":55,"tag":343,"props":2753,"children":2755},{"id":2754},"high-applying-parser-options-after-parsing",[2756],{"type":60,"value":2757},"HIGH Applying parser options after parsing",{"type":55,"tag":70,"props":2759,"children":2760},{},[2761],{"type":60,"value":1910},{"type":55,"tag":76,"props":2763,"children":2765},{"className":117,"code":2764,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst document = parseMarkdown('# API')\nconst html = renderHtml(document, { headingIds: false })\n\nconsole.log(html)\n",[2766],{"type":55,"tag":84,"props":2767,"children":2768},{"__ignoreMap":81},[2769,2804,2839,2846,2885,2938,2945],{"type":55,"tag":88,"props":2770,"children":2771},{"class":90,"line":91},[2772,2776,2780,2784,2788,2792,2796,2800],{"type":55,"tag":88,"props":2773,"children":2774},{"style":129},[2775],{"type":60,"value":132},{"type":55,"tag":88,"props":2777,"children":2778},{"style":135},[2779],{"type":60,"value":138},{"type":55,"tag":88,"props":2781,"children":2782},{"style":141},[2783],{"type":60,"value":144},{"type":55,"tag":88,"props":2785,"children":2786},{"style":135},[2787],{"type":60,"value":149},{"type":55,"tag":88,"props":2789,"children":2790},{"style":129},[2791],{"type":60,"value":154},{"type":55,"tag":88,"props":2793,"children":2794},{"style":135},[2795],{"type":60,"value":159},{"type":55,"tag":88,"props":2797,"children":2798},{"style":101},[2799],{"type":60,"value":164},{"type":55,"tag":88,"props":2801,"children":2802},{"style":135},[2803],{"type":60,"value":169},{"type":55,"tag":88,"props":2805,"children":2806},{"class":90,"line":172},[2807,2811,2815,2819,2823,2827,2831,2835],{"type":55,"tag":88,"props":2808,"children":2809},{"style":129},[2810],{"type":60,"value":132},{"type":55,"tag":88,"props":2812,"children":2813},{"style":135},[2814],{"type":60,"value":138},{"type":55,"tag":88,"props":2816,"children":2817},{"style":141},[2818],{"type":60,"value":406},{"type":55,"tag":88,"props":2820,"children":2821},{"style":135},[2822],{"type":60,"value":149},{"type":55,"tag":88,"props":2824,"children":2825},{"style":129},[2826],{"type":60,"value":154},{"type":55,"tag":88,"props":2828,"children":2829},{"style":135},[2830],{"type":60,"value":159},{"type":55,"tag":88,"props":2832,"children":2833},{"style":101},[2834],{"type":60,"value":326},{"type":55,"tag":88,"props":2836,"children":2837},{"style":135},[2838],{"type":60,"value":169},{"type":55,"tag":88,"props":2840,"children":2841},{"class":90,"line":182},[2842],{"type":55,"tag":88,"props":2843,"children":2844},{"emptyLinePlaceholder":176},[2845],{"type":60,"value":179},{"type":55,"tag":88,"props":2847,"children":2848},{"class":90,"line":212},[2849,2853,2857,2861,2865,2869,2873,2877,2881],{"type":55,"tag":88,"props":2850,"children":2851},{"style":186},[2852],{"type":60,"value":189},{"type":55,"tag":88,"props":2854,"children":2855},{"style":141},[2856],{"type":60,"value":536},{"type":55,"tag":88,"props":2858,"children":2859},{"style":135},[2860],{"type":60,"value":199},{"type":55,"tag":88,"props":2862,"children":2863},{"style":276},[2864],{"type":60,"value":406},{"type":55,"tag":88,"props":2866,"children":2867},{"style":141},[2868],{"type":60,"value":944},{"type":55,"tag":88,"props":2870,"children":2871},{"style":135},[2872],{"type":60,"value":1023},{"type":55,"tag":88,"props":2874,"children":2875},{"style":101},[2876],{"type":60,"value":1316},{"type":55,"tag":88,"props":2878,"children":2879},{"style":135},[2880],{"type":60,"value":1023},{"type":55,"tag":88,"props":2882,"children":2883},{"style":141},[2884],{"type":60,"value":1049},{"type":55,"tag":88,"props":2886,"children":2887},{"class":90,"line":220},[2888,2892,2896,2900,2904,2908,2912,2916,2921,2925,2930,2934],{"type":55,"tag":88,"props":2889,"children":2890},{"style":186},[2891],{"type":60,"value":189},{"type":55,"tag":88,"props":2893,"children":2894},{"style":141},[2895],{"type":60,"value":269},{"type":55,"tag":88,"props":2897,"children":2898},{"style":135},[2899],{"type":60,"value":199},{"type":55,"tag":88,"props":2901,"children":2902},{"style":276},[2903],{"type":60,"value":144},{"type":55,"tag":88,"props":2905,"children":2906},{"style":141},[2907],{"type":60,"value":1150},{"type":55,"tag":88,"props":2909,"children":2910},{"style":135},[2911],{"type":60,"value":900},{"type":55,"tag":88,"props":2913,"children":2914},{"style":135},[2915],{"type":60,"value":138},{"type":55,"tag":88,"props":2917,"children":2918},{"style":911},[2919],{"type":60,"value":2920}," headingIds",{"type":55,"tag":88,"props":2922,"children":2923},{"style":135},[2924],{"type":60,"value":919},{"type":55,"tag":88,"props":2926,"children":2927},{"style":922},[2928],{"type":60,"value":2929}," false",{"type":55,"tag":88,"props":2931,"children":2932},{"style":135},[2933],{"type":60,"value":149},{"type":55,"tag":88,"props":2935,"children":2936},{"style":141},[2937],{"type":60,"value":1049},{"type":55,"tag":88,"props":2939,"children":2940},{"class":90,"line":229},[2941],{"type":55,"tag":88,"props":2942,"children":2943},{"emptyLinePlaceholder":176},[2944],{"type":60,"value":179},{"type":55,"tag":88,"props":2946,"children":2947},{"class":90,"line":238},[2948,2952,2956,2960],{"type":55,"tag":88,"props":2949,"children":2950},{"style":141},[2951],{"type":60,"value":300},{"type":55,"tag":88,"props":2953,"children":2954},{"style":135},[2955],{"type":60,"value":305},{"type":55,"tag":88,"props":2957,"children":2958},{"style":276},[2959],{"type":60,"value":310},{"type":55,"tag":88,"props":2961,"children":2962},{"style":141},[2963],{"type":60,"value":315},{"type":55,"tag":70,"props":2965,"children":2966},{},[2967],{"type":60,"value":2073},{"type":55,"tag":76,"props":2969,"children":2971},{"className":117,"code":2970,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst document = parseMarkdown('# API', { headingIds: false })\nconst html = renderHtml(document)\n\nconsole.log(html)\n",[2972],{"type":55,"tag":84,"props":2973,"children":2974},{"__ignoreMap":81},[2975,3010,3045,3052,3115,3138,3145],{"type":55,"tag":88,"props":2976,"children":2977},{"class":90,"line":91},[2978,2982,2986,2990,2994,2998,3002,3006],{"type":55,"tag":88,"props":2979,"children":2980},{"style":129},[2981],{"type":60,"value":132},{"type":55,"tag":88,"props":2983,"children":2984},{"style":135},[2985],{"type":60,"value":138},{"type":55,"tag":88,"props":2987,"children":2988},{"style":141},[2989],{"type":60,"value":144},{"type":55,"tag":88,"props":2991,"children":2992},{"style":135},[2993],{"type":60,"value":149},{"type":55,"tag":88,"props":2995,"children":2996},{"style":129},[2997],{"type":60,"value":154},{"type":55,"tag":88,"props":2999,"children":3000},{"style":135},[3001],{"type":60,"value":159},{"type":55,"tag":88,"props":3003,"children":3004},{"style":101},[3005],{"type":60,"value":164},{"type":55,"tag":88,"props":3007,"children":3008},{"style":135},[3009],{"type":60,"value":169},{"type":55,"tag":88,"props":3011,"children":3012},{"class":90,"line":172},[3013,3017,3021,3025,3029,3033,3037,3041],{"type":55,"tag":88,"props":3014,"children":3015},{"style":129},[3016],{"type":60,"value":132},{"type":55,"tag":88,"props":3018,"children":3019},{"style":135},[3020],{"type":60,"value":138},{"type":55,"tag":88,"props":3022,"children":3023},{"style":141},[3024],{"type":60,"value":406},{"type":55,"tag":88,"props":3026,"children":3027},{"style":135},[3028],{"type":60,"value":149},{"type":55,"tag":88,"props":3030,"children":3031},{"style":129},[3032],{"type":60,"value":154},{"type":55,"tag":88,"props":3034,"children":3035},{"style":135},[3036],{"type":60,"value":159},{"type":55,"tag":88,"props":3038,"children":3039},{"style":101},[3040],{"type":60,"value":326},{"type":55,"tag":88,"props":3042,"children":3043},{"style":135},[3044],{"type":60,"value":169},{"type":55,"tag":88,"props":3046,"children":3047},{"class":90,"line":182},[3048],{"type":55,"tag":88,"props":3049,"children":3050},{"emptyLinePlaceholder":176},[3051],{"type":60,"value":179},{"type":55,"tag":88,"props":3053,"children":3054},{"class":90,"line":212},[3055,3059,3063,3067,3071,3075,3079,3083,3087,3091,3095,3099,3103,3107,3111],{"type":55,"tag":88,"props":3056,"children":3057},{"style":186},[3058],{"type":60,"value":189},{"type":55,"tag":88,"props":3060,"children":3061},{"style":141},[3062],{"type":60,"value":536},{"type":55,"tag":88,"props":3064,"children":3065},{"style":135},[3066],{"type":60,"value":199},{"type":55,"tag":88,"props":3068,"children":3069},{"style":276},[3070],{"type":60,"value":406},{"type":55,"tag":88,"props":3072,"children":3073},{"style":141},[3074],{"type":60,"value":944},{"type":55,"tag":88,"props":3076,"children":3077},{"style":135},[3078],{"type":60,"value":1023},{"type":55,"tag":88,"props":3080,"children":3081},{"style":101},[3082],{"type":60,"value":1316},{"type":55,"tag":88,"props":3084,"children":3085},{"style":135},[3086],{"type":60,"value":1023},{"type":55,"tag":88,"props":3088,"children":3089},{"style":135},[3090],{"type":60,"value":900},{"type":55,"tag":88,"props":3092,"children":3093},{"style":135},[3094],{"type":60,"value":138},{"type":55,"tag":88,"props":3096,"children":3097},{"style":911},[3098],{"type":60,"value":2920},{"type":55,"tag":88,"props":3100,"children":3101},{"style":135},[3102],{"type":60,"value":919},{"type":55,"tag":88,"props":3104,"children":3105},{"style":922},[3106],{"type":60,"value":2929},{"type":55,"tag":88,"props":3108,"children":3109},{"style":135},[3110],{"type":60,"value":149},{"type":55,"tag":88,"props":3112,"children":3113},{"style":141},[3114],{"type":60,"value":1049},{"type":55,"tag":88,"props":3116,"children":3117},{"class":90,"line":220},[3118,3122,3126,3130,3134],{"type":55,"tag":88,"props":3119,"children":3120},{"style":186},[3121],{"type":60,"value":189},{"type":55,"tag":88,"props":3123,"children":3124},{"style":141},[3125],{"type":60,"value":269},{"type":55,"tag":88,"props":3127,"children":3128},{"style":135},[3129],{"type":60,"value":199},{"type":55,"tag":88,"props":3131,"children":3132},{"style":276},[3133],{"type":60,"value":144},{"type":55,"tag":88,"props":3135,"children":3136},{"style":141},[3137],{"type":60,"value":583},{"type":55,"tag":88,"props":3139,"children":3140},{"class":90,"line":229},[3141],{"type":55,"tag":88,"props":3142,"children":3143},{"emptyLinePlaceholder":176},[3144],{"type":60,"value":179},{"type":55,"tag":88,"props":3146,"children":3147},{"class":90,"line":238},[3148,3152,3156,3160],{"type":55,"tag":88,"props":3149,"children":3150},{"style":141},[3151],{"type":60,"value":300},{"type":55,"tag":88,"props":3153,"children":3154},{"style":135},[3155],{"type":60,"value":305},{"type":55,"tag":88,"props":3157,"children":3158},{"style":276},[3159],{"type":60,"value":310},{"type":55,"tag":88,"props":3161,"children":3162},{"style":141},[3163],{"type":60,"value":315},{"type":55,"tag":70,"props":3165,"children":3166},{},[3167],{"type":60,"value":3168},"Parse-only options do not retroactively alter a pre-parsed AST.",{"type":55,"tag":70,"props":3170,"children":3171},{},[3172,3173],{"type":60,"value":2233},{"type":55,"tag":84,"props":3174,"children":3176},{"className":3175},[],[3177],{"type":60,"value":3178},"docs\u002Freference\u002Fhtml.md",{"type":55,"tag":70,"props":3180,"children":3181},{},[3182,3183,3189],{"type":60,"value":2244},{"type":55,"tag":84,"props":3184,"children":3186},{"className":3185},[],[3187],{"type":60,"value":3188},"custom-extensions\u002FSKILL.md",{"type":60,"value":3190}," - parser and transform extensions must\nalso be present while creating a cached document.",{"type":55,"tag":343,"props":3192,"children":3194},{"id":3193},"medium-using-parseinline-for-document-definitions",[3195],{"type":60,"value":3196},"MEDIUM Using parseInline for document definitions",{"type":55,"tag":70,"props":3198,"children":3199},{},[3200],{"type":60,"value":1910},{"type":55,"tag":76,"props":3202,"children":3204},{"className":117,"code":3203,"language":119,"meta":81,"style":81},"import { parseInline, renderInline } from '@tanstack\u002Fmarkdown'\n\nconst source = `[Guide][guide]\n\n[guide]: \u002Fguide`\n\nconst html = parseInline(source).map(node => renderInline(node)).join('')\n\nconsole.log(html)\n",[3205],{"type":55,"tag":84,"props":3206,"children":3207},{"__ignoreMap":81},[3208,3251,3258,3282,3289,3301,3308,3380,3387],{"type":55,"tag":88,"props":3209,"children":3210},{"class":90,"line":91},[3211,3215,3219,3223,3227,3231,3235,3239,3243,3247],{"type":55,"tag":88,"props":3212,"children":3213},{"style":129},[3214],{"type":60,"value":132},{"type":55,"tag":88,"props":3216,"children":3217},{"style":135},[3218],{"type":60,"value":138},{"type":55,"tag":88,"props":3220,"children":3221},{"style":141},[3222],{"type":60,"value":1561},{"type":55,"tag":88,"props":3224,"children":3225},{"style":135},[3226],{"type":60,"value":900},{"type":55,"tag":88,"props":3228,"children":3229},{"style":141},[3230],{"type":60,"value":1570},{"type":55,"tag":88,"props":3232,"children":3233},{"style":135},[3234],{"type":60,"value":149},{"type":55,"tag":88,"props":3236,"children":3237},{"style":129},[3238],{"type":60,"value":154},{"type":55,"tag":88,"props":3240,"children":3241},{"style":135},[3242],{"type":60,"value":159},{"type":55,"tag":88,"props":3244,"children":3245},{"style":101},[3246],{"type":60,"value":40},{"type":55,"tag":88,"props":3248,"children":3249},{"style":135},[3250],{"type":60,"value":169},{"type":55,"tag":88,"props":3252,"children":3253},{"class":90,"line":172},[3254],{"type":55,"tag":88,"props":3255,"children":3256},{"emptyLinePlaceholder":176},[3257],{"type":60,"value":179},{"type":55,"tag":88,"props":3259,"children":3260},{"class":90,"line":182},[3261,3265,3269,3273,3277],{"type":55,"tag":88,"props":3262,"children":3263},{"style":186},[3264],{"type":60,"value":189},{"type":55,"tag":88,"props":3266,"children":3267},{"style":141},[3268],{"type":60,"value":194},{"type":55,"tag":88,"props":3270,"children":3271},{"style":135},[3272],{"type":60,"value":199},{"type":55,"tag":88,"props":3274,"children":3275},{"style":135},[3276],{"type":60,"value":204},{"type":55,"tag":88,"props":3278,"children":3279},{"style":101},[3280],{"type":60,"value":3281},"[Guide][guide]\n",{"type":55,"tag":88,"props":3283,"children":3284},{"class":90,"line":212},[3285],{"type":55,"tag":88,"props":3286,"children":3287},{"emptyLinePlaceholder":176},[3288],{"type":60,"value":179},{"type":55,"tag":88,"props":3290,"children":3291},{"class":90,"line":220},[3292,3297],{"type":55,"tag":88,"props":3293,"children":3294},{"style":101},[3295],{"type":60,"value":3296},"[guide]: \u002Fguide",{"type":55,"tag":88,"props":3298,"children":3299},{"style":135},[3300],{"type":60,"value":249},{"type":55,"tag":88,"props":3302,"children":3303},{"class":90,"line":229},[3304],{"type":55,"tag":88,"props":3305,"children":3306},{"emptyLinePlaceholder":176},[3307],{"type":60,"value":179},{"type":55,"tag":88,"props":3309,"children":3310},{"class":90,"line":238},[3311,3315,3319,3323,3327,3332,3336,3340,3344,3348,3352,3356,3360,3364,3368,3372,3376],{"type":55,"tag":88,"props":3312,"children":3313},{"style":186},[3314],{"type":60,"value":189},{"type":55,"tag":88,"props":3316,"children":3317},{"style":141},[3318],{"type":60,"value":269},{"type":55,"tag":88,"props":3320,"children":3321},{"style":135},[3322],{"type":60,"value":199},{"type":55,"tag":88,"props":3324,"children":3325},{"style":276},[3326],{"type":60,"value":1561},{"type":55,"tag":88,"props":3328,"children":3329},{"style":141},[3330],{"type":60,"value":3331},"(source)",{"type":55,"tag":88,"props":3333,"children":3334},{"style":135},[3335],{"type":60,"value":305},{"type":55,"tag":88,"props":3337,"children":3338},{"style":276},[3339],{"type":60,"value":1667},{"type":55,"tag":88,"props":3341,"children":3342},{"style":141},[3343],{"type":60,"value":944},{"type":55,"tag":88,"props":3345,"children":3346},{"style":947},[3347],{"type":60,"value":1676},{"type":55,"tag":88,"props":3349,"children":3350},{"style":186},[3351],{"type":60,"value":1681},{"type":55,"tag":88,"props":3353,"children":3354},{"style":276},[3355],{"type":60,"value":1570},{"type":55,"tag":88,"props":3357,"children":3358},{"style":141},[3359],{"type":60,"value":1690},{"type":55,"tag":88,"props":3361,"children":3362},{"style":135},[3363],{"type":60,"value":305},{"type":55,"tag":88,"props":3365,"children":3366},{"style":276},[3367],{"type":60,"value":1699},{"type":55,"tag":88,"props":3369,"children":3370},{"style":141},[3371],{"type":60,"value":944},{"type":55,"tag":88,"props":3373,"children":3374},{"style":135},[3375],{"type":60,"value":1708},{"type":55,"tag":88,"props":3377,"children":3378},{"style":141},[3379],{"type":60,"value":1049},{"type":55,"tag":88,"props":3381,"children":3382},{"class":90,"line":252},[3383],{"type":55,"tag":88,"props":3384,"children":3385},{"emptyLinePlaceholder":176},[3386],{"type":60,"value":179},{"type":55,"tag":88,"props":3388,"children":3389},{"class":90,"line":25},[3390,3394,3398,3402],{"type":55,"tag":88,"props":3391,"children":3392},{"style":141},[3393],{"type":60,"value":300},{"type":55,"tag":88,"props":3395,"children":3396},{"style":135},[3397],{"type":60,"value":305},{"type":55,"tag":88,"props":3399,"children":3400},{"style":276},[3401],{"type":60,"value":310},{"type":55,"tag":88,"props":3403,"children":3404},{"style":141},[3405],{"type":60,"value":315},{"type":55,"tag":70,"props":3407,"children":3408},{},[3409],{"type":60,"value":2073},{"type":55,"tag":76,"props":3411,"children":3413},{"className":117,"code":3412,"language":119,"meta":81,"style":81},"import { renderHtml } from '@tanstack\u002Fmarkdown\u002Fhtml'\nimport { parseMarkdown } from '@tanstack\u002Fmarkdown\u002Fparser'\n\nconst source = `[Guide][guide]\n\n[guide]: \u002Fguide`\n\nconst document = parseMarkdown(source)\nconst html = renderHtml(document)\n\nconsole.log(html)\n",[3414],{"type":55,"tag":84,"props":3415,"children":3416},{"__ignoreMap":81},[3417,3452,3487,3494,3517,3524,3535,3542,3565,3588,3595],{"type":55,"tag":88,"props":3418,"children":3419},{"class":90,"line":91},[3420,3424,3428,3432,3436,3440,3444,3448],{"type":55,"tag":88,"props":3421,"children":3422},{"style":129},[3423],{"type":60,"value":132},{"type":55,"tag":88,"props":3425,"children":3426},{"style":135},[3427],{"type":60,"value":138},{"type":55,"tag":88,"props":3429,"children":3430},{"style":141},[3431],{"type":60,"value":144},{"type":55,"tag":88,"props":3433,"children":3434},{"style":135},[3435],{"type":60,"value":149},{"type":55,"tag":88,"props":3437,"children":3438},{"style":129},[3439],{"type":60,"value":154},{"type":55,"tag":88,"props":3441,"children":3442},{"style":135},[3443],{"type":60,"value":159},{"type":55,"tag":88,"props":3445,"children":3446},{"style":101},[3447],{"type":60,"value":164},{"type":55,"tag":88,"props":3449,"children":3450},{"style":135},[3451],{"type":60,"value":169},{"type":55,"tag":88,"props":3453,"children":3454},{"class":90,"line":172},[3455,3459,3463,3467,3471,3475,3479,3483],{"type":55,"tag":88,"props":3456,"children":3457},{"style":129},[3458],{"type":60,"value":132},{"type":55,"tag":88,"props":3460,"children":3461},{"style":135},[3462],{"type":60,"value":138},{"type":55,"tag":88,"props":3464,"children":3465},{"style":141},[3466],{"type":60,"value":406},{"type":55,"tag":88,"props":3468,"children":3469},{"style":135},[3470],{"type":60,"value":149},{"type":55,"tag":88,"props":3472,"children":3473},{"style":129},[3474],{"type":60,"value":154},{"type":55,"tag":88,"props":3476,"children":3477},{"style":135},[3478],{"type":60,"value":159},{"type":55,"tag":88,"props":3480,"children":3481},{"style":101},[3482],{"type":60,"value":326},{"type":55,"tag":88,"props":3484,"children":3485},{"style":135},[3486],{"type":60,"value":169},{"type":55,"tag":88,"props":3488,"children":3489},{"class":90,"line":182},[3490],{"type":55,"tag":88,"props":3491,"children":3492},{"emptyLinePlaceholder":176},[3493],{"type":60,"value":179},{"type":55,"tag":88,"props":3495,"children":3496},{"class":90,"line":212},[3497,3501,3505,3509,3513],{"type":55,"tag":88,"props":3498,"children":3499},{"style":186},[3500],{"type":60,"value":189},{"type":55,"tag":88,"props":3502,"children":3503},{"style":141},[3504],{"type":60,"value":194},{"type":55,"tag":88,"props":3506,"children":3507},{"style":135},[3508],{"type":60,"value":199},{"type":55,"tag":88,"props":3510,"children":3511},{"style":135},[3512],{"type":60,"value":204},{"type":55,"tag":88,"props":3514,"children":3515},{"style":101},[3516],{"type":60,"value":3281},{"type":55,"tag":88,"props":3518,"children":3519},{"class":90,"line":220},[3520],{"type":55,"tag":88,"props":3521,"children":3522},{"emptyLinePlaceholder":176},[3523],{"type":60,"value":179},{"type":55,"tag":88,"props":3525,"children":3526},{"class":90,"line":229},[3527,3531],{"type":55,"tag":88,"props":3528,"children":3529},{"style":101},[3530],{"type":60,"value":3296},{"type":55,"tag":88,"props":3532,"children":3533},{"style":135},[3534],{"type":60,"value":249},{"type":55,"tag":88,"props":3536,"children":3537},{"class":90,"line":238},[3538],{"type":55,"tag":88,"props":3539,"children":3540},{"emptyLinePlaceholder":176},[3541],{"type":60,"value":179},{"type":55,"tag":88,"props":3543,"children":3544},{"class":90,"line":252},[3545,3549,3553,3557,3561],{"type":55,"tag":88,"props":3546,"children":3547},{"style":186},[3548],{"type":60,"value":189},{"type":55,"tag":88,"props":3550,"children":3551},{"style":141},[3552],{"type":60,"value":536},{"type":55,"tag":88,"props":3554,"children":3555},{"style":135},[3556],{"type":60,"value":199},{"type":55,"tag":88,"props":3558,"children":3559},{"style":276},[3560],{"type":60,"value":406},{"type":55,"tag":88,"props":3562,"children":3563},{"style":141},[3564],{"type":60,"value":283},{"type":55,"tag":88,"props":3566,"children":3567},{"class":90,"line":25},[3568,3572,3576,3580,3584],{"type":55,"tag":88,"props":3569,"children":3570},{"style":186},[3571],{"type":60,"value":189},{"type":55,"tag":88,"props":3573,"children":3574},{"style":141},[3575],{"type":60,"value":269},{"type":55,"tag":88,"props":3577,"children":3578},{"style":135},[3579],{"type":60,"value":199},{"type":55,"tag":88,"props":3581,"children":3582},{"style":276},[3583],{"type":60,"value":144},{"type":55,"tag":88,"props":3585,"children":3586},{"style":141},[3587],{"type":60,"value":583},{"type":55,"tag":88,"props":3589,"children":3590},{"class":90,"line":286},[3591],{"type":55,"tag":88,"props":3592,"children":3593},{"emptyLinePlaceholder":176},[3594],{"type":60,"value":179},{"type":55,"tag":88,"props":3596,"children":3597},{"class":90,"line":294},[3598,3602,3606,3610],{"type":55,"tag":88,"props":3599,"children":3600},{"style":141},[3601],{"type":60,"value":300},{"type":55,"tag":88,"props":3603,"children":3604},{"style":135},[3605],{"type":60,"value":305},{"type":55,"tag":88,"props":3607,"children":3608},{"style":276},[3609],{"type":60,"value":310},{"type":55,"tag":88,"props":3611,"children":3612},{"style":141},[3613],{"type":60,"value":315},{"type":55,"tag":70,"props":3615,"children":3616},{},[3617],{"type":60,"value":3618},"Standalone inline parsing does not extract document-level reference or\nfootnote definitions unless internal parser state is supplied explicitly.",{"type":55,"tag":70,"props":3620,"children":3621},{},[3622,3623],{"type":60,"value":2233},{"type":55,"tag":84,"props":3624,"children":3626},{"className":3625},[],[3627],{"type":60,"value":3628},"docs\u002Freference\u002Fdefault-entry.md",{"type":55,"tag":63,"props":3630,"children":3632},{"id":3631},"related-skills",[3633],{"type":60,"value":3634},"Related Skills",{"type":55,"tag":1765,"props":3636,"children":3637},{},[3638,3648,3659,3670,3680],{"type":55,"tag":1769,"props":3639,"children":3640},{},[3641,3646],{"type":55,"tag":84,"props":3642,"children":3644},{"className":3643},[],[3645],{"type":60,"value":1840},{"type":60,"value":3647}," - trust boundaries, syntax highlighting,\npractical compatibility, caching, tests, performance, and bundle budgets.",{"type":55,"tag":1769,"props":3649,"children":3650},{},[3651,3657],{"type":55,"tag":84,"props":3652,"children":3654},{"className":3653},[],[3655],{"type":60,"value":3656},"react-rendering\u002FSKILL.md",{"type":60,"value":3658}," - render the same source or AST as React nodes.",{"type":55,"tag":1769,"props":3660,"children":3661},{},[3662,3668],{"type":55,"tag":84,"props":3663,"children":3665},{"className":3664},[],[3666],{"type":60,"value":3667},"octane-rendering\u002FSKILL.md",{"type":60,"value":3669}," - render the same source or AST as Octane nodes.",{"type":55,"tag":1769,"props":3671,"children":3672},{},[3673,3678],{"type":55,"tag":84,"props":3674,"children":3676},{"className":3675},[],[3677],{"type":60,"value":3188},{"type":60,"value":3679}," - add deterministic parser and renderer hooks.",{"type":55,"tag":1769,"props":3681,"children":3682},{},[3683,3689],{"type":55,"tag":84,"props":3684,"children":3686},{"className":3685},[],[3687],{"type":60,"value":3688},"docs-features\u002FSKILL.md",{"type":60,"value":3690}," - use the first-party documentation extensions.",{"type":55,"tag":63,"props":3692,"children":3694},{"id":3693},"references",[3695],{"type":60,"value":3696},"References",{"type":55,"tag":1765,"props":3698,"children":3699},{},[3700],{"type":55,"tag":1769,"props":3701,"children":3702},{},[3703],{"type":55,"tag":3704,"props":3705,"children":3707},"a",{"href":3706},"references\u002Fast-and-options.md",[3708],{"type":60,"value":3709},"AST nodes, parser state, and render options",{"type":55,"tag":3711,"props":3712,"children":3713},"style",{},[3714],{"type":60,"value":3715},"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":3717,"total":3858},[3718,3734,3746,3758,3773,3785,3795,3805,3818,3828,3839,3849],{"slug":3719,"name":3719,"fn":3720,"description":3721,"org":3722,"tags":3723,"stars":3731,"repoUrl":3732,"updatedAt":3733},"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},[3724,3727,3730],{"name":3725,"slug":3726,"type":15},"Data Analysis","data-analysis",{"name":3728,"slug":3729,"type":15},"Frontend","frontend",{"name":9,"slug":8,"type":15},28175,"https:\u002F\u002Fgithub.com\u002FTanStack\u002Ftable","2026-07-30T05:25:59.429787",{"slug":3735,"name":3735,"fn":3736,"description":3737,"org":3738,"tags":3739,"stars":3731,"repoUrl":3732,"updatedAt":3745},"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},[3740,3743,3744],{"name":3741,"slug":3742,"type":15},"Debugging","debugging",{"name":3728,"slug":3729,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:26:05.418735",{"slug":3747,"name":3747,"fn":3748,"description":3749,"org":3750,"tags":3751,"stars":3731,"repoUrl":3732,"updatedAt":3757},"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},[3752,3753,3754],{"name":3725,"slug":3726,"type":15},{"name":9,"slug":8,"type":15},{"name":3755,"slug":3756,"type":15},"UI Components","ui-components","2026-07-30T05:25:38.403427",{"slug":3759,"name":3759,"fn":3760,"description":3761,"org":3762,"tags":3763,"stars":3731,"repoUrl":3732,"updatedAt":3772},"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},[3764,3767,3768,3771],{"name":3765,"slug":3766,"type":15},"Data Pipeline","data-pipeline",{"name":3728,"slug":3729,"type":15},{"name":3769,"slug":3770,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-07-30T05:25:45.400104",{"slug":3774,"name":3774,"fn":3775,"description":3776,"org":3777,"tags":3778,"stars":3731,"repoUrl":3732,"updatedAt":3784},"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},[3779,3782,3783],{"name":3780,"slug":3781,"type":15},"Data Visualization","data-visualization",{"name":3728,"slug":3729,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:41.397257",{"slug":3786,"name":3786,"fn":3787,"description":3788,"org":3789,"tags":3790,"stars":3731,"repoUrl":3732,"updatedAt":3794},"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},[3791,3792,3793],{"name":3725,"slug":3726,"type":15},{"name":3728,"slug":3729,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:53.391632",{"slug":3796,"name":3796,"fn":3797,"description":3798,"org":3799,"tags":3800,"stars":3731,"repoUrl":3732,"updatedAt":3804},"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},[3801,3802,3803],{"name":3728,"slug":3729,"type":15},{"name":9,"slug":8,"type":15},{"name":3755,"slug":3756,"type":15},"2026-07-30T05:26:03.37801",{"slug":3806,"name":3806,"fn":3807,"description":3808,"org":3809,"tags":3810,"stars":3731,"repoUrl":3732,"updatedAt":3817},"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},[3811,3814,3815,3816],{"name":3812,"slug":3813,"type":15},"CSS","css",{"name":3728,"slug":3729,"type":15},{"name":9,"slug":8,"type":15},{"name":3755,"slug":3756,"type":15},"2026-07-30T05:25:55.377366",{"slug":3819,"name":3819,"fn":3820,"description":3821,"org":3822,"tags":3823,"stars":3731,"repoUrl":3732,"updatedAt":3827},"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},[3824,3825,3826],{"name":3728,"slug":3729,"type":15},{"name":9,"slug":8,"type":15},{"name":3755,"slug":3756,"type":15},"2026-07-30T05:25:51.400011",{"slug":3829,"name":3829,"fn":3830,"description":3831,"org":3832,"tags":3833,"stars":3731,"repoUrl":3732,"updatedAt":3838},"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},[3834,3835,3836,3837],{"name":3812,"slug":3813,"type":15},{"name":3728,"slug":3729,"type":15},{"name":9,"slug":8,"type":15},{"name":3755,"slug":3756,"type":15},"2026-07-30T05:25:48.703799",{"slug":3840,"name":3840,"fn":3841,"description":3842,"org":3843,"tags":3844,"stars":3731,"repoUrl":3732,"updatedAt":3848},"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},[3845,3846,3847],{"name":3728,"slug":3729,"type":15},{"name":9,"slug":8,"type":15},{"name":3755,"slug":3756,"type":15},"2026-07-30T05:25:47.367943",{"slug":39,"name":39,"fn":3850,"description":3851,"org":3852,"tags":3853,"stars":3731,"repoUrl":3732,"updatedAt":3857},"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},[3854,3855,3856],{"name":3725,"slug":3726,"type":15},{"name":3728,"slug":3729,"type":15},{"name":3755,"slug":3756,"type":15},"2026-07-30T05:25:52.366295",125,{"items":3860,"total":229},[3861,3873,3888,3901,3913,3926],{"slug":3862,"name":3862,"fn":3863,"description":3864,"org":3865,"tags":3866,"stars":25,"repoUrl":26,"updatedAt":3872},"custom-extensions","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},[3867,3868,3869],{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":3870,"slug":3871,"type":15},"Plugin Development","plugin-development","2026-07-26T06:08:50.353215",{"slug":3874,"name":3874,"fn":3875,"description":3876,"org":3877,"tags":3878,"stars":25,"repoUrl":26,"updatedAt":3887},"docs-features","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},[3879,3880,3883,3884],{"name":20,"slug":21,"type":15},{"name":3881,"slug":3882,"type":15},"GitHub","github",{"name":13,"slug":14,"type":15},{"name":3885,"slug":3886,"type":15},"Technical Writing","technical-writing","2026-07-26T06:08:49.826112",{"slug":3889,"name":3889,"fn":3890,"description":3891,"org":3892,"tags":3893,"stars":25,"repoUrl":26,"updatedAt":3900},"octane-rendering","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},[3894,3895,3896,3899],{"name":3728,"slug":3729,"type":15},{"name":13,"slug":14,"type":15},{"name":3897,"slug":3898,"type":15},"SSR","ssr",{"name":9,"slug":8,"type":15},"2026-07-26T06:08:48.84431",{"slug":3902,"name":3902,"fn":3903,"description":3904,"org":3905,"tags":3906,"stars":25,"repoUrl":26,"updatedAt":3912},"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},[3907,3910,3911],{"name":3908,"slug":3909,"type":15},"Deployment","deployment",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-07-26T06:08:48.34553",{"slug":3914,"name":3914,"fn":3915,"description":3916,"org":3917,"tags":3918,"stars":25,"repoUrl":26,"updatedAt":3925},"react-rendering","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},[3919,3920,3921,3924],{"name":3728,"slug":3729,"type":15},{"name":13,"slug":14,"type":15},{"name":3922,"slug":3923,"type":15},"React","react",{"name":3897,"slug":3898,"type":15},"2026-07-26T06:08:52.566102",{"slug":4,"name":4,"fn":5,"description":6,"org":3927,"tags":3928,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3929,3930,3931,3932],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15}]