[{"data":1,"prerenderedAt":280},["ShallowReactive",2],{"navigation_docs":3,"-guide-dual-syntax":73,"-guide-dual-syntax-surround":275},[4,26,62],{"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,57],{"title":33,"path":34,"stem":35,"icon":36},"Dual syntax","\u002Fguide\u002Fdual-syntax","2.guide\u002F1.dual-syntax","i-lucide-brackets",{"title":38,"path":39,"stem":40,"icon":41},"Component props","\u002Fguide\u002Fcomponent-props","2.guide\u002F2.component-props","i-lucide-component",{"title":43,"path":44,"stem":45,"icon":46},"Backends","\u002Fguide\u002Fbackends","2.guide\u002F3.backends","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"Output modes","\u002Fguide\u002Foutput-modes","2.guide\u002F4.output-modes","i-lucide-image",{"title":53,"path":54,"stem":55,"icon":56},"Frontmatter","\u002Fguide\u002Ffrontmatter","2.guide\u002F5.frontmatter","i-lucide-file-json",{"title":58,"path":59,"stem":60,"icon":61},"Bindings","\u002Fguide\u002Fbindings","2.guide\u002F6.bindings","i-lucide-braces",{"title":63,"icon":64,"path":65,"stem":66,"children":67,"page":25},"Reference","i-lucide-book-marked","\u002Freference","3.reference",[68],{"title":69,"path":70,"stem":71,"icon":72},"ChartAssemblyInput","\u002Freference\u002Fchart-assembly-input","3.reference\u002F1.chart-assembly-input","i-lucide-table",{"id":74,"title":33,"body":75,"description":269,"extension":118,"links":270,"meta":271,"navigation":272,"path":34,"seo":273,"stem":35,"__hash__":274},"docs\u002F2.guide\u002F1.dual-syntax.md",{"type":76,"value":77,"toc":264},"minimark",[78,87,92,112,213,217,234,240,244,247,254,260],[79,80,81,82,86],"p",{},"Both entry points compile to the same ",[83,84,85],"code",{},"\u003CFlint>"," AST node.",[88,89,91],"h2",{"id":90},"write-a-static-spec-in-a-fenced-block","Write a static spec in a fenced block",[79,93,94,95,103,104,107,108,111],{},"The fenced block content is a ",[96,97,101],"a",{"href":98,"rel":99},"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fflint-chart",[100],"nofollow",[83,102,69],{}," JSON string. Backend and theme are Comark fence ",[83,105,106],{},"meta"," key=value tokens (",[83,109,110],{},"backend=\"…\" theme=\"…\"","). Curly braces in the info string are line highlights, not chart attrs.",[113,114,120],"pre",{"className":115,"code":116,"filename":117,"language":118,"meta":119,"style":119},"language-md shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","```flint backend=\"vegalite\" theme=\"economist\"\n{\n  \"data\": { \"values\": [{ \"month\": \"Jan\", \"revenue\": 120000 }] },\n  \"semantic_types\": { \"month\": \"Time\", \"revenue\": \"Money\" },\n  \"chart_spec\": {\n    \"chartType\": \"Bar Chart\",\n    \"encodings\": {\n      \"x\": { \"field\": \"month\" },\n      \"y\": { \"field\": \"revenue\" }\n    },\n    \"baseSize\": { \"width\": 560, \"height\": 320 }\n  }\n}\n```\n","fenced-block.md","md","",[83,121,122,135,141,147,153,159,165,171,177,183,189,195,201,207],{"__ignoreMap":119},[123,124,127,131],"span",{"class":125,"line":126},"line",1,[123,128,130],{"class":129},"sfazB","```",[123,132,134],{"class":133},"sJsPd","flint backend=\"vegalite\" theme=\"economist\"\n",[123,136,138],{"class":125,"line":137},2,[123,139,140],{"class":133},"{\n",[123,142,144],{"class":125,"line":143},3,[123,145,146],{"class":133},"  \"data\": { \"values\": [{ \"month\": \"Jan\", \"revenue\": 120000 }] },\n",[123,148,150],{"class":125,"line":149},4,[123,151,152],{"class":133},"  \"semantic_types\": { \"month\": \"Time\", \"revenue\": \"Money\" },\n",[123,154,156],{"class":125,"line":155},5,[123,157,158],{"class":133},"  \"chart_spec\": {\n",[123,160,162],{"class":125,"line":161},6,[123,163,164],{"class":133},"    \"chartType\": \"Bar Chart\",\n",[123,166,168],{"class":125,"line":167},7,[123,169,170],{"class":133},"    \"encodings\": {\n",[123,172,174],{"class":125,"line":173},8,[123,175,176],{"class":133},"      \"x\": { \"field\": \"month\" },\n",[123,178,180],{"class":125,"line":179},9,[123,181,182],{"class":133},"      \"y\": { \"field\": \"revenue\" }\n",[123,184,186],{"class":125,"line":185},10,[123,187,188],{"class":133},"    },\n",[123,190,192],{"class":125,"line":191},11,[123,193,194],{"class":133},"    \"baseSize\": { \"width\": 560, \"height\": 320 }\n",[123,196,198],{"class":125,"line":197},12,[123,199,200],{"class":133},"  }\n",[123,202,204],{"class":125,"line":203},13,[123,205,206],{"class":133},"}\n",[123,208,210],{"class":125,"line":209},14,[123,211,212],{"class":129},"```\n",[88,214,216],{"id":215},"bind-a-dynamic-spec-with-a-directive","Bind a dynamic spec with a directive",[113,218,221],{"className":115,"code":219,"filename":220,"language":118,"meta":119,"style":119},"::flint{:spec=\"dashboard.kpiChart\" backend=\"vegalite\" theme=\"swiss\"}\n::\n","directive.md",[83,222,223,229],{"__ignoreMap":119},[123,224,225],{"class":125,"line":126},[123,226,228],{"class":227},"sTEyZ","::flint{:spec=\"dashboard.kpiChart\" backend=\"vegalite\" theme=\"swiss\"}\n",[123,230,231],{"class":125,"line":137},[123,232,233],{"class":227},"::\n",[79,235,236,239],{},[83,237,238],{},":spec=\"path.to.spec\""," is a Comark binding expression. The plugin resolves the dotted path against the document frontmatter at parse time.",[88,241,243],{"id":242},"handle-unresolvable-bindings","Handle unresolvable bindings",[79,245,246],{},"Unresolvable paths (runtime data bindings) are left unchanged in the AST so the renderer can evaluate them at request time.",[79,248,249,250,253],{},"Non-prefixed attrs (",[83,251,252],{},"backend=\"…\"",") are always treated as literal strings, consistent with Comark's binding plugin behaviour.",[79,255,256,257,259],{},"See ",[96,258,58],{"href":59}," for the full matrix.",[261,262,263],"style",{},"html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sJsPd, html code.shiki .sJsPd{--shiki-light:#90A4AE90;--shiki-default:#EEFFFF90;--shiki-dark:#BABED890}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 .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":119,"searchDepth":137,"depth":137,"links":265},[266,267,268],{"id":90,"depth":137,"text":91},{"id":215,"depth":137,"text":216},{"id":242,"depth":137,"text":243},"Author Flint charts in Comark with fenced flint code blocks or ::flint component directives. Both compile to the same Flint AST node.",null,{},{"icon":36},{"title":33,"description":269},"246KtezkVu_5i9ZVfCxyTTgwM8MrgpmShnv2mla0NRQ",[276,278],{"title":21,"path":22,"stem":23,"description":277,"icon":24,"children":-1},"Add comark-flint-chart to parseMarkdown for static docs, or pair it with the shipped Vue Flint renderer.",{"title":38,"path":39,"stem":40,"description":279,"icon":41,"children":-1},"Props accepted by the shipped Vue Flint renderer. They match the attrs the comark-flint-chart plugin writes on the AST node.",1794911869153]