[{"data":1,"prerenderedAt":436},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-usage":57,"-getting-started-usage-surround":431},[4,26],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002F3.usage","i-lucide-play",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[32,37,42,47,52],{"title":33,"path":34,"stem":35,"icon":36},"Syntax","\u002Fguide\u002Fsyntax","2.guide\u002F1.syntax","i-lucide-code-2",{"title":38,"path":39,"stem":40,"icon":41},"Streaming","\u002Fguide\u002Fstreaming","2.guide\u002F2.streaming","i-lucide-radio",{"title":43,"path":44,"stem":45,"icon":46},"Host bridge","\u002Fguide\u002Fhost-bridge","2.guide\u002F3.host-bridge","i-lucide-plug",{"title":48,"path":49,"stem":50,"icon":51},"Security","\u002Fguide\u002Fsecurity","2.guide\u002F4.security","i-lucide-shield",{"title":53,"path":54,"stem":55,"icon":56},"Static fallbacks","\u002Fguide\u002Fstatic-fallbacks","2.guide\u002F5.static-fallbacks","i-lucide-file-output",{"id":58,"title":21,"body":59,"description":424,"extension":425,"links":426,"meta":427,"navigation":428,"path":22,"seo":429,"stem":23,"__hash__":430},"docs\u002F1.getting-started\u002F3.usage.md",{"type":60,"value":61,"toc":418},"minimark",[62,67,71,199,214,218,229,274,284,288,291,330,347,351,357,404,414],[63,64,66],"h2",{"id":65},"parse-with-the-plugin","Parse with the plugin",[68,69,70],"p",{},"Use the core export when you only need AST nodes — no Vue, no sandbox boot:",[72,73,79],"pre",{"className":74,"code":75,"filename":76,"language":77,"meta":78,"style":78},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { parseMarkdown } from 'comark'\nimport arrow from 'comark-arrow'\n\nconst tree = await parseMarkdown(content, {\n  plugins: [arrow()],\n})\n","index.ts","ts","",[80,81,82,115,133,140,168,190],"code",{"__ignoreMap":78},[83,84,87,91,95,99,102,105,108,112],"span",{"class":85,"line":86},"line",1,[83,88,90],{"class":89},"s7zQu","import",[83,92,94],{"class":93},"sMK4o"," {",[83,96,98],{"class":97},"sTEyZ"," parseMarkdown",[83,100,101],{"class":93}," }",[83,103,104],{"class":89}," from",[83,106,107],{"class":93}," '",[83,109,111],{"class":110},"sfazB","comark",[83,113,114],{"class":93},"'\n",[83,116,118,120,123,126,128,131],{"class":85,"line":117},2,[83,119,90],{"class":89},[83,121,122],{"class":97}," arrow ",[83,124,125],{"class":89},"from",[83,127,107],{"class":93},[83,129,130],{"class":110},"comark-arrow",[83,132,114],{"class":93},[83,134,136],{"class":85,"line":135},3,[83,137,139],{"emptyLinePlaceholder":138},true,"\n",[83,141,143,147,150,153,156,159,162,165],{"class":85,"line":142},4,[83,144,146],{"class":145},"spNyl","const",[83,148,149],{"class":97}," tree ",[83,151,152],{"class":93},"=",[83,154,155],{"class":89}," await",[83,157,98],{"class":158},"s2Zo4",[83,160,161],{"class":97},"(content",[83,163,164],{"class":93},",",[83,166,167],{"class":93}," {\n",[83,169,171,175,178,181,184,187],{"class":85,"line":170},5,[83,172,174],{"class":173},"swJcz","  plugins",[83,176,177],{"class":93},":",[83,179,180],{"class":97}," [",[83,182,183],{"class":158},"arrow",[83,185,186],{"class":97},"()]",[83,188,189],{"class":93},",\n",[83,191,193,196],{"class":85,"line":192},6,[83,194,195],{"class":93},"}",[83,197,198],{"class":97},")\n",[68,200,201,202,205,206,209,210,213],{},"Each ",[80,203,204],{},"```arrow"," fence or ",[80,207,208],{},"::arrow"," directive becomes ",[80,211,212],{},"['ArrowSandbox', attrs]"," in the tree.",[63,215,217],{"id":216},"render-interactively-in-vue","Render interactively in Vue",[68,219,220,221,224,225,228],{},"Import from ",[80,222,223],{},"comark-arrow\u002Fvue"," and register ",[80,226,227],{},"ArrowSandbox"," as a Comark component:",[72,230,233],{"className":74,"code":231,"filename":232,"language":77,"meta":78,"style":78},"import arrow, { ArrowSandbox, provideArrowHostBridge } from 'comark-arrow\u002Fvue'\n\n\u002F\u002F \u003CMarkdown :plugins=\"[arrow()]\" :components=\"{ ArrowSandbox }\" \u002F>\n","Markdown.vue",[80,234,235,264,268],{"__ignoreMap":78},[83,236,237,239,242,244,246,249,251,254,256,258,260,262],{"class":85,"line":86},[83,238,90],{"class":89},[83,240,241],{"class":97}," arrow",[83,243,164],{"class":93},[83,245,94],{"class":93},[83,247,248],{"class":97}," ArrowSandbox",[83,250,164],{"class":93},[83,252,253],{"class":97}," provideArrowHostBridge",[83,255,101],{"class":93},[83,257,104],{"class":89},[83,259,107],{"class":93},[83,261,223],{"class":110},[83,263,114],{"class":93},[83,265,266],{"class":85,"line":117},[83,267,139],{"emptyLinePlaceholder":138},[83,269,270],{"class":85,"line":135},[83,271,273],{"class":272},"sHwdD","\u002F\u002F \u003CMarkdown :plugins=\"[arrow()]\" :components=\"{ ArrowSandbox }\" \u002F>\n",[68,275,276,279,280,283],{},[80,277,278],{},"provideArrowHostBridge()"," is optional. Use it when sandboxed code must call allowlisted host functions — see ",[281,282,43],"a",{"href":44},".",[63,285,287],{"id":286},"pair-with-streaming","Pair with streaming",[68,289,290],{},"When the document streams in, pass a getter so the last open fence stays non-executable:",[72,292,295],{"className":74,"code":293,"filename":294,"language":77,"meta":78,"style":78},"arrow({ streaming: () => isStreaming.value })\n","streaming.ts",[80,296,297],{"__ignoreMap":78},[83,298,299,301,304,307,310,312,315,318,321,323,326,328],{"class":85,"line":86},[83,300,183],{"class":158},[83,302,303],{"class":97},"(",[83,305,306],{"class":93},"{",[83,308,309],{"class":158}," streaming",[83,311,177],{"class":93},[83,313,314],{"class":93}," ()",[83,316,317],{"class":145}," =>",[83,319,320],{"class":97}," isStreaming",[83,322,283],{"class":93},[83,324,325],{"class":97},"value ",[83,327,195],{"class":93},[83,329,198],{"class":97},[68,331,332,333,336,337,340,341,344,345,283],{},"Pair with ",[80,334,335],{},"\u003CMarkdown :streaming=\"isStreaming\">",". Incomplete frames get ",[80,338,339],{},"status: 'pending'","; ",[80,342,343],{},"\u003CArrowSandbox>"," shows a placeholder and never boots the VM. See ",[281,346,38],{"href":39},[63,348,350],{"id":349},"static-html-targets","Static HTML targets",[68,352,353,354,177],{},"For HTML string output (no VM), import from ",[80,355,356],{},"comark-arrow\u002Fhtml",[72,358,361],{"className":74,"code":359,"filename":360,"language":77,"meta":78,"style":78},"import arrow from 'comark-arrow'\nimport { ArrowSandbox } from 'comark-arrow\u002Fhtml'\n\n\u002F\u002F createHtmlRenderer({ plugins: [arrow()], components: { ArrowSandbox } })\n","html-renderer.ts",[80,362,363,377,395,399],{"__ignoreMap":78},[83,364,365,367,369,371,373,375],{"class":85,"line":86},[83,366,90],{"class":89},[83,368,122],{"class":97},[83,370,125],{"class":89},[83,372,107],{"class":93},[83,374,130],{"class":110},[83,376,114],{"class":93},[83,378,379,381,383,385,387,389,391,393],{"class":85,"line":117},[83,380,90],{"class":89},[83,382,94],{"class":93},[83,384,248],{"class":97},[83,386,101],{"class":93},[83,388,104],{"class":89},[83,390,107],{"class":93},[83,392,356],{"class":110},[83,394,114],{"class":93},[83,396,397],{"class":85,"line":135},[83,398,139],{"emptyLinePlaceholder":138},[83,400,401],{"class":85,"line":142},[83,402,403],{"class":272},"\u002F\u002F createHtmlRenderer({ plugins: [arrow()], components: { ArrowSandbox } })\n",[68,405,406,407,409,410,413],{},"See ",[281,408,53],{"href":54}," for ",[80,411,412],{},"fallback"," options and SSR notes.",[415,416,417],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}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);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":78,"searchDepth":117,"depth":117,"links":419},[420,421,422,423],{"id":65,"depth":117,"text":66},{"id":216,"depth":117,"text":217},{"id":286,"depth":117,"text":287},{"id":349,"depth":117,"text":350},"Add comark-arrow for parse-only AST nodes or use the Vue renderer with ArrowSandbox for live QuickJS widgets in Comark markdown.","md",null,{},{"icon":24},{"title":21,"description":424},"gXyuFq1qO612dqmJYP7tpgldh9gCdDniEbxLCR59SsY",[432,434],{"title":16,"path":17,"stem":18,"description":433,"icon":19,"children":-1},"Install comark-arrow with pnpm, npm, or yarn, plus @arrow-js\u002Fsandbox and optional Vue peers for interactive sandbox rendering in Comark.",{"title":33,"path":34,"stem":35,"description":435,"icon":36,"children":-1},"Author ArrowJS widgets with ```arrow fenced blocks, optional ```arrow-css styles, or ::arrow bound directives — both forms emit the same AST node.",1794911835404]