[{"data":1,"prerenderedAt":469},["ShallowReactive",2],{"selaras-docs-navigation":3,"selaras-docs:\u002Fauthoring\u002Fhtml":82},[4,26,43,65],{"title":5,"order":6,"icon":7,"collapse":8,"navBadges":7,"path":9,"stem":10,"children":11,"page":8},"Guide",1,null,false,"\u002Fguide","guide",[12,16,21],{"title":13,"path":14,"stem":15,"order":6,"icon":7,"collapse":8,"navBadges":7},"Getting started","\u002Fguide\u002Fgetting-started","guide\u002Fgetting-started",{"title":17,"path":18,"stem":19,"order":20,"icon":7,"collapse":8,"navBadges":7},"Connect an agent","\u002Fguide\u002Fconnect-an-agent","guide\u002Fconnect-an-agent",2,{"title":22,"path":23,"stem":24,"order":25,"icon":7,"collapse":8,"navBadges":7},"Organize and share","\u002Fguide\u002Fworkspace","guide\u002Fworkspace",3,{"title":27,"order":20,"icon":7,"collapse":8,"navBadges":7,"path":28,"stem":29,"children":30,"page":8},"Authoring","\u002Fauthoring","authoring",[31,35,39],{"title":32,"path":33,"stem":34,"order":6,"icon":7,"collapse":8,"navBadges":7},"Overview","\u002Fauthoring\u002Foverview","authoring\u002Foverview",{"title":36,"path":37,"stem":38,"order":20,"icon":7,"collapse":8,"navBadges":7},"Markdown","\u002Fauthoring\u002Fmarkdown","authoring\u002Fmarkdown",{"title":40,"path":41,"stem":42,"order":25,"icon":7,"collapse":8,"navBadges":7},"HTML and bundles","\u002Fauthoring\u002Fhtml","authoring\u002Fhtml",{"title":44,"order":25,"icon":7,"collapse":8,"navBadges":7,"path":45,"stem":46,"children":47,"page":8},"Deploy","\u002Fdeploy","deploy",[48,52,56,60],{"title":49,"path":50,"stem":51,"order":6,"icon":7,"collapse":8,"navBadges":7},"Docker","\u002Fdeploy\u002Fdocker","deploy\u002Fdocker",{"title":53,"path":54,"stem":55,"order":20,"icon":7,"collapse":8,"navBadges":7},"Cloudflare Workers","\u002Fdeploy\u002Fcloudflare","deploy\u002Fcloudflare",{"title":57,"path":58,"stem":59,"order":25,"icon":7,"collapse":8,"navBadges":7},"Turso and Vercel","\u002Fdeploy\u002Fturso","deploy\u002Fturso",{"title":61,"path":62,"stem":63,"order":64,"icon":7,"collapse":8,"navBadges":7},"Backup and restore","\u002Fdeploy\u002Fbackup","deploy\u002Fbackup",4,{"title":66,"order":64,"icon":7,"collapse":8,"navBadges":7,"path":67,"stem":68,"children":69,"page":8},"Reference","\u002Freference","reference",[70,74,78],{"title":71,"path":72,"stem":73,"order":6,"icon":7,"collapse":8,"navBadges":7},"MCP","\u002Freference\u002Fmcp","reference\u002Fmcp",{"title":75,"path":76,"stem":77,"order":20,"icon":7,"collapse":8,"navBadges":7},"REST API","\u002Freference\u002Frest-api","reference\u002Frest-api",{"title":79,"path":80,"stem":81,"order":25,"icon":7,"collapse":8,"navBadges":7},"Configuration","\u002Freference\u002Fconfiguration","reference\u002Fconfiguration",{"id":83,"title":40,"aside":84,"body":85,"collapse":8,"description":464,"editLink":84,"extension":465,"icon":7,"issueLink":84,"meta":466,"navBadges":7,"navigation":7,"order":25,"path":41,"prevNext":84,"seo":467,"stem":42,"toc":84,"__hash__":468},"docs\u002Fauthoring\u002Fhtml.md",true,{"type":86,"value":87,"toc":454},"minimark",[88,92,96,101,104,167,176,180,183,259,263,274,301,305,312,384,395,399,418,429,433,443,447,450],[89,90,40],"h1",{"id":91},"html-and-bundles",[93,94,95],"p",{},"HTML rangka run your own markup, CSS, and JavaScript inside a sandboxed iframe.\nThey are self-styled by default: Serangkai does not inject Selaras or Tailwind\ninto them.",[97,98,100],"h2",{"id":99},"the-selaras-document-theme","The Selaras document theme",[93,102,103],{},"Opt in with one meta tag to get polished typography, tables, code blocks,\nspacing, and light and dark colors:",[105,106,111],"pre",{"className":107,"code":108,"language":109,"meta":110,"style":110},"language-html shiki shiki-themes github-light github-dark","\u003Chead>\n  \u003Cmeta name=\"serangkai-theme\" content=\"selaras-document\">\n\u003C\u002Fhead>\n","html","",[112,113,114,129,158],"code",{"__ignoreMap":110},[115,116,118,122,126],"span",{"class":117,"line":6},"line",[115,119,121],{"class":120},"sVt8B","\u003C",[115,123,125],{"class":124},"s9eBZ","head",[115,127,128],{"class":120},">\n",[115,130,131,134,137,141,144,148,151,153,156],{"class":117,"line":20},[115,132,133],{"class":120},"  \u003C",[115,135,136],{"class":124},"meta",[115,138,140],{"class":139},"sScJk"," name",[115,142,143],{"class":120},"=",[115,145,147],{"class":146},"sZZnC","\"serangkai-theme\"",[115,149,150],{"class":139}," content",[115,152,143],{"class":120},[115,154,155],{"class":146},"\"selaras-document\"",[115,157,128],{"class":120},[115,159,160,163,165],{"class":117,"line":25},[115,161,162],{"class":120},"\u003C\u002F",[115,164,125],{"class":124},[115,166,128],{"class":120},[93,168,169,170,175],{},"The theme is CSS only. It does not provide Vue components; for those, build an\napp and upload it as a ",[171,172,174],"a",{"href":173},"#bundles","bundle",".",[97,177,179],{"id":178},"charts-and-diagrams","Charts and diagrams",[93,181,182],{},"Mark up charts and Mermaid diagrams and Serangkai renders them for you:",[105,184,186],{"className":107,"code":185,"language":109,"meta":110,"style":110},"\u003Cpre class=\"mermaid\">flowchart LR\n  Draft --> Review --> Share\n\u003C\u002Fpre>\n\n\u003Cscript type=\"application\u002Fjson\" data-serangkai-chart>\n{\"type\":\"bar\",\"data\":[{\"week\":\"W1\",\"value\":12}],\"x\":\"week\",\"y\":\"value\"}\n\u003C\u002Fscript>\n",[112,187,188,205,210,218,223,244,250],{"__ignoreMap":110},[115,189,190,192,194,197,199,202],{"class":117,"line":6},[115,191,121],{"class":120},[115,193,105],{"class":124},[115,195,196],{"class":139}," class",[115,198,143],{"class":120},[115,200,201],{"class":146},"\"mermaid\"",[115,203,204],{"class":120},">flowchart LR\n",[115,206,207],{"class":117,"line":20},[115,208,209],{"class":120},"  Draft --> Review --> Share\n",[115,211,212,214,216],{"class":117,"line":25},[115,213,162],{"class":120},[115,215,105],{"class":124},[115,217,128],{"class":120},[115,219,220],{"class":117,"line":64},[115,221,222],{"emptyLinePlaceholder":84},"\n",[115,224,226,228,231,234,236,239,242],{"class":117,"line":225},5,[115,227,121],{"class":120},[115,229,230],{"class":124},"script",[115,232,233],{"class":139}," type",[115,235,143],{"class":120},[115,237,238],{"class":146},"\"application\u002Fjson\"",[115,240,241],{"class":139}," data-serangkai-chart",[115,243,128],{"class":120},[115,245,247],{"class":117,"line":246},6,[115,248,249],{"class":120},"{\"type\":\"bar\",\"data\":[{\"week\":\"W1\",\"value\":12}],\"x\":\"week\",\"y\":\"value\"}\n",[115,251,253,255,257],{"class":117,"line":252},7,[115,254,162],{"class":120},[115,256,230],{"class":124},[115,258,128],{"class":120},[97,260,262],{"id":261},"color-mode","Color mode",[93,264,265,266,269,270,273],{},"Use ",[112,267,268],{},"color-scheme: light dark"," and ",[112,271,272],{},"light-dark()"," to follow the reader's mode.\nTo pin one scheme:",[105,275,277],{"className":107,"code":276,"language":109,"meta":110,"style":110},"\u003Cmeta name=\"color-scheme\" content=\"only light\">\n",[112,278,279],{"__ignoreMap":110},[115,280,281,283,285,287,289,292,294,296,299],{"class":117,"line":6},[115,282,121],{"class":120},[115,284,136],{"class":124},[115,286,140],{"class":139},[115,288,143],{"class":120},[115,290,291],{"class":146},"\"color-scheme\"",[115,293,150],{"class":139},[115,295,143],{"class":120},[115,297,298],{"class":146},"\"only light\"",[115,300,128],{"class":120},[97,302,304],{"id":303},"presentation-modes","Presentation modes",[93,306,307,308,311],{},"An HTML rangka is shown one of three ways, in the workspace and on shared\nlinks alike. Pick one with a meta tag in ",[112,309,310],{},"\u003Chead>","; the default needs none.",[313,314,315,334],"table",{},[316,317,318],"thead",{},[319,320,321,325,328,331],"tr",{},[322,323,324],"th",{},"Mode",[322,326,327],{},"Marker",[322,329,330],{},"Who scrolls",[322,332,333],{},"Use for",[335,336,337,352,368],"tbody",{},[319,338,339,343,346,349],{},[340,341,342],"td",{},"Document",[340,344,345],{},"none",[340,347,348],{},"The page; the frame grows to the content",[340,350,351],{},"Reports, articles, long dashboards",[319,353,354,357,362,365],{},[340,355,356],{},"App",[340,358,359],{},[112,360,361],{},"\u003Cmeta name=\"serangkai-presentation\" content=\"app\">",[340,363,364],{},"The HTML, inside a screen-sized frame",[340,366,367],{},"Chat UIs, tools, layouts with a fixed sidebar or bottom bar",[319,369,370,373,378,381],{},[340,371,372],{},"Canvas",[340,374,375],{},[112,376,377],{},"\u003Cmeta name=\"serangkai-canvas\" content=\"1920x1080\">",[340,379,380],{},"Nobody; viewers zoom and pan",[340,382,383],{},"Kanban boards, whiteboards, mind maps, slides, posters",[93,385,386,387,390,391,394],{},"In app mode, toolbars and inputs the HTML pins with ",[112,388,389],{},"100vh"," or\n",[112,392,393],{},"position: fixed"," stay on screen, because the frame never grows taller than the\nspace between the header and footer.",[396,397,372],"h3",{"id":398},"canvas",[93,400,401,402,405,406,409,410,413,414,417],{},"Declare the board size in CSS pixels (240 to 4096 per side) and lay the board\nout at exactly that size. Viewers then see it like a design file: fitted to the\nscreen, with zoom (Ctrl\u002FCmd + wheel, pinch, ",[112,403,404],{},"+","\u002F",[112,407,408],{},"-","), pan (wheel, the hand tool\n",[112,411,412],{},"H",", Space + drag), and fit (",[112,415,416],{},"0",").",[93,419,420,421,424,425,428],{},"Everything on the board belongs to the HTML. A plain drag inside the board\nreaches your script, so draggable cards or sticky notes work with ordinary\npointer events; the ",[112,422,423],{},"canvasBoard"," template is a kanban board built that way.\nIf the board has its own keyboard shortcuts, add\n",[112,426,427],{},"\u003Cmeta name=\"serangkai-canvas-keys\" content=\"none\">"," so the viewer leaves those\nkeys alone.",[97,430,432],{"id":431},"sandbox","Sandbox",[93,434,435,436,439,440,175],{},"The frame is sandboxed, cannot reach the app origin, and runs with\n",[112,437,438],{},"connect-src 'none'",", so the page cannot make network requests. Scripts must be\ninline; images and fonts may load over ",[112,441,442],{},"https:",[97,444,446],{"id":445},"bundles","Bundles",[93,448,449],{},"Upload a ZIP of a static site, such as a built Vue or React app, to publish it\nas a bundle. It is served sandboxed and behind the same authorization as any\nother rangka. Bundles do not get the document theme automatically; a prebuilt\nVue app can import Selaras itself.",[451,452,453],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}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":110,"searchDepth":25,"depth":25,"links":455},[456,457,458,459,462,463],{"id":99,"depth":20,"text":100},{"id":178,"depth":20,"text":179},{"id":261,"depth":20,"text":262},{"id":303,"depth":20,"text":304,"children":460},[461],{"id":398,"depth":25,"text":372},{"id":431,"depth":20,"text":432},{"id":445,"depth":20,"text":446},"Self-styled HTML, the optional document theme, chart and diagram markers, and static app bundles.","md",{},{"title":40,"description":464},"XQqggyqMR7x8w85L_4waoP8zULCHDsACm6aj6JT6gu4",1795580564389]