[{"data":1,"prerenderedAt":292},["ShallowReactive",2],{"navigation_docs":3,"-guide-syntax":57,"-guide-syntax-surround":287},[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":33,"body":59,"description":280,"extension":281,"links":282,"meta":283,"navigation":284,"path":34,"seo":285,"stem":35,"__hash__":286},"docs\u002F2.guide\u002F1.syntax.md",{"type":60,"value":61,"toc":275},"minimark",[62,71,76,87,154,158,169,233,237,244,260,271],[63,64,65,66,70],"p",{},"Arrow widgets accept two authoring forms. Both emit the same ",[67,68,69],"code",{},"['ArrowSandbox', attrs]"," AST node.",[72,73,75],"h2",{"id":74},"write-a-fenced-arrow-block","Write a fenced arrow block",[63,77,78,79,82,83,86],{},"Use a ",[67,80,81],{},"```arrow"," fence for inline widget source. Fence attributes (for example ",[67,84,85],{},"height",") pass through to the renderer:",[88,89,95],"pre",{"className":90,"code":91,"filename":92,"language":93,"meta":94,"style":94},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","```arrow {height=\"120px\"}\nconst state = reactive({ count: 0 })\n\nexport default html`\n  \u003Cbutton @click=\"${() => state.count++}\">\n    Clicked ${() => state.count}\n  \u003C\u002Fbutton>\n`\n```\n","widget.md","markdown","",[67,96,97,105,111,118,124,130,136,142,148],{"__ignoreMap":94},[98,99,102],"span",{"class":100,"line":101},"line",1,[98,103,104],{},"```arrow {height=\"120px\"}\n",[98,106,108],{"class":100,"line":107},2,[98,109,110],{},"const state = reactive({ count: 0 })\n",[98,112,114],{"class":100,"line":113},3,[98,115,117],{"emptyLinePlaceholder":116},true,"\n",[98,119,121],{"class":100,"line":120},4,[98,122,123],{},"export default html`\n",[98,125,127],{"class":100,"line":126},5,[98,128,129],{},"  \u003Cbutton @click=\"${() => state.count++}\">\n",[98,131,133],{"class":100,"line":132},6,[98,134,135],{},"    Clicked ${() => state.count}\n",[98,137,139],{"class":100,"line":138},7,[98,140,141],{},"  \u003C\u002Fbutton>\n",[98,143,145],{"class":100,"line":144},8,[98,146,147],{},"`\n",[98,149,151],{"class":100,"line":150},9,[98,152,153],{},"```\n",[72,155,157],{"id":156},"add-adjacent-css","Add adjacent CSS",[63,159,160,161,164,165,168],{},"Optional adjacent ",[67,162,163],{},"```arrow-css"," supplies ",[67,166,167],{},"main.css"," for the sandbox:",[88,170,173],{"className":90,"code":171,"filename":172,"language":93,"meta":94,"style":94},"```arrow {height=\"120px\"}\nconst state = reactive({ count: 0 })\n\nexport default html`\n  \u003Cbutton @click=\"${() => state.count++}\">\n    Clicked ${() => state.count}\n  \u003C\u002Fbutton>\n`\n```\n\n```arrow-css\nbutton { font: inherit; padding: 0.5rem 1rem; }\n```\n","widget-with-css.md",[67,174,175,179,183,187,191,195,199,203,207,211,216,222,228],{"__ignoreMap":94},[98,176,177],{"class":100,"line":101},[98,178,104],{},[98,180,181],{"class":100,"line":107},[98,182,110],{},[98,184,185],{"class":100,"line":113},[98,186,117],{"emptyLinePlaceholder":116},[98,188,189],{"class":100,"line":120},[98,190,123],{},[98,192,193],{"class":100,"line":126},[98,194,129],{},[98,196,197],{"class":100,"line":132},[98,198,135],{},[98,200,201],{"class":100,"line":138},[98,202,141],{},[98,204,205],{"class":100,"line":144},[98,206,147],{},[98,208,209],{"class":100,"line":150},[98,210,153],{},[98,212,214],{"class":100,"line":213},10,[98,215,117],{"emptyLinePlaceholder":116},[98,217,219],{"class":100,"line":218},11,[98,220,221],{},"```arrow-css\n",[98,223,225],{"class":100,"line":224},12,[98,226,227],{},"button { font: inherit; padding: 0.5rem 1rem; }\n",[98,229,231],{"class":100,"line":230},13,[98,232,153],{},[72,234,236],{"id":235},"bind-a-directive-to-host-data","Bind a directive to host data",[63,238,239,240,243],{},"Use ",[67,241,242],{},"::arrow"," when the widget source lives in host data instead of the markdown body:",[88,245,248],{"className":90,"code":246,"filename":247,"language":93,"meta":94,"style":94},"::arrow{:source=\"widgets.reorderCalculator\"}\n::\n","directive.md",[67,249,250,255],{"__ignoreMap":94},[98,251,252],{"class":100,"line":101},[98,253,254],{},"::arrow{:source=\"widgets.reorderCalculator\"}\n",[98,256,257],{"class":100,"line":107},[98,258,259],{},"::\n",[63,261,262,263,266,267,270],{},"The ",[67,264,265],{},"source"," attribute resolves against your Comark binding roots (for example ",[67,268,269],{},"data.widgets.reorderCalculator","). Fenced blocks and bound directives produce identical AST output — pick the form that fits your authoring model.",[272,273,274],"style",{},"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);}",{"title":94,"searchDepth":107,"depth":107,"links":276},[277,278,279],{"id":74,"depth":107,"text":75},{"id":156,"depth":107,"text":157},{"id":235,"depth":107,"text":236},"Author ArrowJS widgets with ```arrow fenced blocks, optional ```arrow-css styles, or ::arrow bound directives — both forms emit the same AST node.","md",null,{},{"icon":36},{"title":33,"description":280},"FoLuGgZwNc1c0z1R_45aBE9Jre9u-cruEXUtvlQCkjg",[288,290],{"title":21,"path":22,"stem":23,"description":289,"icon":24,"children":-1},"Add comark-arrow for parse-only AST nodes or use the Vue renderer with ArrowSandbox for live QuickJS widgets in Comark markdown.",{"title":38,"path":39,"stem":40,"description":291,"icon":41,"children":-1},"Keep incomplete ```arrow fences non-executable while Comark streams. Pending sandboxes show a placeholder and never boot QuickJS on partial source.",1794911835403]