[{"data":1,"prerenderedAt":1884},["ShallowReactive",2],{"navigation_docs":3,"-kits-template-checking":205,"-kits-template-checking-surround":1879},[4,31,67,111,132,163,189],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":30},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20,25],{"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},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start","i-lucide-play",{"title":26,"path":27,"stem":28,"icon":29},"Agent Skill","\u002Fgetting-started\u002Fagent-skill","1.getting-started\u002F4.agent-skill","i-lucide-sparkles",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"Authoring","i-lucide-pen-line","\u002Fauthoring","2.authoring",[37,42,47,52,57,62],{"title":38,"path":39,"stem":40,"icon":41},"Comark syntax","\u002Fauthoring\u002Fcomark-syntax","2.authoring\u002F1.comark-syntax","i-lucide-file-code",{"title":43,"path":44,"stem":45,"icon":46},"Frontmatter","\u002Fauthoring\u002Ffrontmatter","2.authoring\u002F2.frontmatter","i-lucide-heading",{"title":48,"path":49,"stem":50,"icon":51},"Components","\u002Fauthoring\u002Fcomponents","2.authoring\u002F3.components","i-lucide-blocks",{"title":53,"path":54,"stem":55,"icon":56},"Merge tags and data","\u002Fauthoring\u002Fmerge-tags-and-data","2.authoring\u002F4.merge-tags-and-data","i-lucide-braces",{"title":58,"path":59,"stem":60,"icon":61},"Actions and spans","\u002Fauthoring\u002Factions-and-spans","2.authoring\u002F5.actions-and-spans","i-lucide-mouse-pointer-click",{"title":63,"path":64,"stem":65,"icon":66},"Compile errors","\u002Fauthoring\u002Fcompile-errors","2.authoring\u002F6.compile-errors","i-lucide-circle-alert",{"title":68,"icon":69,"path":70,"stem":71,"children":72,"page":30},"Kits","i-lucide-palette","\u002Fkits","3.kits",[73,78,83,87,91,96,101,106],{"title":74,"path":75,"stem":76,"icon":77},"What is a kit","\u002Fkits\u002Fwhat-is-a-kit","3.kits\u002F1.what-is-a-kit","i-lucide-package",{"title":79,"path":80,"stem":81,"icon":82},"kit.yaml","\u002Fkits\u002Fkit-yaml","3.kits\u002F2.kit-yaml","i-lucide-file-cog",{"title":84,"path":85,"stem":86,"icon":51},"Component schemas","\u002Fkits\u002Fcomponent-schemas","3.kits\u002F3.component-schemas",{"title":88,"path":89,"stem":90,"icon":56},"Templates and views","\u002Fkits\u002Ftemplates-and-views","3.kits\u002F4.templates-and-views",{"title":92,"path":93,"stem":94,"icon":95},"Template checking","\u002Fkits\u002Ftemplate-checking","3.kits\u002F5.template-checking","i-lucide-shield-check",{"title":97,"path":98,"stem":99,"icon":100},"Go types and funcs","\u002Fkits\u002Fgo-types-and-funcs","3.kits\u002F6.go-types-and-funcs","i-lucide-code",{"title":102,"path":103,"stem":104,"icon":105},"Email-safe HTML","\u002Fkits\u002Femail-safe-html","3.kits\u002F7.email-safe-html","i-lucide-mail-check",{"title":107,"path":108,"stem":109,"icon":110},"Plain text","\u002Fkits\u002Fplain-text","3.kits\u002F8.plain-text","i-lucide-file-text",{"title":112,"icon":113,"path":114,"stem":115,"children":116,"page":30},"Sending","i-lucide-send","\u002Fsending","4.sending",[117,122,127],{"title":118,"path":119,"stem":120,"icon":121},"Profiles and config","\u002Fsending\u002Fprofiles-and-config","4.sending\u002F1.profiles-and-config","i-lucide-settings",{"title":123,"path":124,"stem":125,"icon":126},"Message and MIME","\u002Fsending\u002Fmessage-and-mime","4.sending\u002F2.message-and-mime","i-lucide-mail",{"title":128,"path":129,"stem":130,"icon":131},"SMTP","\u002Fsending\u002Fsmtp","4.sending\u002F3.smtp","i-lucide-server",{"title":133,"icon":134,"path":135,"stem":136,"children":137,"page":30},"Tooling","i-lucide-wrench","\u002Ftooling","5.tooling",[138,143,148,153,158],{"title":139,"path":140,"stem":141,"icon":142},"The lttr CLI","\u002Ftooling\u002Fcli","5.tooling\u002F1.cli","i-lucide-terminal",{"title":144,"path":145,"stem":146,"icon":147},"Studio","\u002Ftooling\u002Fstudio","5.tooling\u002F2.studio","i-lucide-eye",{"title":149,"path":150,"stem":151,"icon":152},"Editor setup","\u002Ftooling\u002Feditor-setup","5.tooling\u002F3.editor-setup","i-lucide-plug",{"title":154,"path":155,"stem":156,"icon":157},"Screenshots","\u002Ftooling\u002Fscreenshots","5.tooling\u002F4.screenshots","i-lucide-camera",{"title":159,"path":160,"stem":161,"icon":162},"Goldens and testing","\u002Ftooling\u002Fgoldens-and-testing","5.tooling\u002F5.goldens-and-testing","i-lucide-flask-conical",{"title":164,"icon":165,"path":166,"stem":167,"children":168,"page":30},"Guides","i-lucide-book-open","\u002Fguides","6.guides",[169,174,179,184],{"title":170,"path":171,"stem":172,"icon":173},"Build your own kit","\u002Fguides\u002Fbuild-your-own-kit","6.guides\u002F1.build-your-own-kit","i-lucide-hammer",{"title":175,"path":176,"stem":177,"icon":178},"The Quiet kit","\u002Fguides\u002Fthe-quiet-kit","6.guides\u002F2.the-quiet-kit","i-lucide-mail-open",{"title":180,"path":181,"stem":182,"icon":183},"Migrating from v0.1","\u002Fguides\u002Fmigrating-from-v0-1","6.guides\u002F3.migrating-from-v0-1","i-lucide-arrow-right-left",{"title":185,"path":186,"stem":187,"icon":188},"Releasing","\u002Fguides\u002Freleasing","6.guides\u002F4.releasing","i-lucide-tag",{"title":190,"icon":191,"path":192,"stem":193,"children":194,"page":30},"Reference","i-lucide-library","\u002Freference","7.reference",[195,200],{"title":196,"path":197,"stem":198,"icon":199},"API reference","\u002Freference\u002Fapi-reference","7.reference\u002F1.api-reference","i-lucide-list-tree",{"title":201,"path":202,"stem":203,"icon":204},"Gallery","\u002Freference\u002Fgallery","7.reference\u002F2.gallery","i-lucide-images",{"id":206,"title":92,"body":207,"description":1872,"extension":1873,"links":1874,"meta":1875,"navigation":1876,"path":93,"seo":1877,"stem":94,"__hash__":1878},"docs\u002F3.kits\u002F5.template-checking.md",{"type":208,"value":209,"toc":1865},"minimark",[210,218,223,234,795,806,815,831,1328,1332,1337,1425,1443,1556,1560,1594,1601,1718,1731,1735,1738,1820,1830,1837,1846,1850,1862],[211,212,213,217],"p",{},[214,215,216],"code",{},"kit.Load"," does not stop at parsing. It type-checks every template in the kit against the view it executes with, so a typo in a field, an attribute, a token or a function call fails when the kit loads, with its position in the kit file. It never waits for the first email that happens to reach that line.",[219,220,222],"h2",{"id":221},"catch-a-typo-at-load","Catch a typo at load",[211,224,225,226,229,230,233],{},"The tutorial's invoice template reads the bound ",[214,227,228],{},"Invoice"," through ",[214,231,232],{},".Bind.invoice",":",[235,236,242],"pre",{"className":237,"code":238,"filename":239,"language":240,"meta":241,"style":241},"language-html shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark","{{- \u002F* The title and number, one row per line (name, quantity, amount),\nthen the total. .Bind.invoice is an Invoice, so every field below is\nchecked against the Go type when the kit loads. *\u002F -}}\n\u003Ctr>\u003Ctd class=\"pl-px\" align=\"left\" style=\"padding:{{px .Section.Top}} {{token \"size.side\"}}px {{px .Section.Bottom}};\">\n\u003Cp class=\"pl-text\" style=\"margin:0 0 8px;{{style \"font-family\" \"font.sans\"}}font-size:{{token \"size.h2\"}}px;line-height:{{token \"size.h2_line\"}}px;font-weight:600;{{style \"color\" \"color.text\"}}\">{{.Attrs.title}} {{.Bind.invoice.Number}}\u003C\u002Fp>\n\u003Ctable role=\"presentation\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"border-collapse:collapse;\">\n{{- range .Bind.invoice.Lines}}\n\u003Ctr>\u003Ctd class=\"pl-text pl-rule\" align=\"left\" style=\"padding:10px 0;{{style \"border-bottom\" (printf \"1px solid %s\" (token \"color.border\"))}}{{style \"font-family\" \"font.sans\"}}font-size:{{token \"size.text\"}}px;line-height:{{token \"size.line\"}}px;{{style \"color\" \"color.text\"}}\">{{.Name}}\u003C\u002Ftd>\n\u003Ctd class=\"pl-muted pl-rule\" align=\"right\" style=\"padding:10px 0 10px 12px;{{style \"border-bottom\" (printf \"1px solid %s\" (token \"color.border\"))}}{{style \"font-family\" \"font.sans\"}}font-size:{{token \"size.text\"}}px;line-height:{{token \"size.line\"}}px;{{style \"color\" \"color.muted\"}}white-space:nowrap;\">&times;&nbsp;{{.Qty}}\u003C\u002Ftd>\n\u003Ctd class=\"pl-text pl-rule\" align=\"right\" style=\"padding:10px 0 10px 12px;{{style \"border-bottom\" (printf \"1px solid %s\" (token \"color.border\"))}}{{style \"font-family\" \"font.sans\"}}font-size:{{token \"size.text\"}}px;line-height:{{token \"size.line\"}}px;{{style \"color\" \"color.text\"}}white-space:nowrap;\">{{.Amount}}\u003C\u002Ftd>\u003C\u002Ftr>\n{{- end}}\n\u003Ctr>\u003Ctd class=\"pl-text\" colspan=\"2\" align=\"left\" style=\"padding:10px 0 0;{{style \"font-family\" \"font.sans\"}}font-size:{{token \"size.text\"}}px;line-height:{{token \"size.line\"}}px;font-weight:600;{{style \"color\" \"color.text\"}}\">Total\u003C\u002Ftd>\n\u003Ctd class=\"pl-text\" align=\"right\" style=\"padding:10px 0 0 12px;{{style \"font-family\" \"font.sans\"}}font-size:{{token \"size.text\"}}px;line-height:{{token \"size.line\"}}px;font-weight:600;{{style \"color\" \"color.text\"}}white-space:nowrap;\">{{.Bind.invoice.Total}}\u003C\u002Ftd>\u003C\u002Ftr>\n\u003C\u002Ftable>\n\u003C\u002Ftd>\u003C\u002Ftr>\n","tutorial\u002Fkit\u002Fcomponents\u002Finvoice\u002Fhtml.tmpl","html","",[214,243,244,253,259,265,327,375,430,436,514,587,655,661,721,772,782],{"__ignoreMap":241},[245,246,249],"span",{"class":247,"line":248},"line",1,[245,250,252],{"class":251},"sihDN","{{- \u002F* The title and number, one row per line (name, quantity, amount),\n",[245,254,256],{"class":247,"line":255},2,[245,257,258],{"class":251},"then the total. .Bind.invoice is an Invoice, so every field below is\n",[245,260,262],{"class":247,"line":261},3,[245,263,264],{"class":251},"checked against the Go type when the kit loads. *\u002F -}}\n",[245,266,268,271,275,278,281,285,288,292,296,298,301,304,306,309,312,315,318,321,324],{"class":247,"line":267},4,[245,269,270],{"class":251},"\u003C",[245,272,274],{"class":273},"s71pN","tr",[245,276,277],{"class":251},">\u003C",[245,279,280],{"class":273},"td",[245,282,284],{"class":283},"sQJpg"," class",[245,286,287],{"class":251},"=",[245,289,291],{"class":290},"sRBGO","\"pl-px\"",[245,293,295],{"class":294},"s-oVe"," align",[245,297,287],{"class":251},[245,299,300],{"class":290},"\"left\"",[245,302,303],{"class":283}," style",[245,305,287],{"class":251},[245,307,308],{"class":290},"\"padding:{{px .Section.Top}} {{token \"",[245,310,311],{"class":283},"size.side",[245,313,314],{"class":294},"\"}}px",[245,316,317],{"class":283}," {{px",[245,319,320],{"class":283}," .Section.Bottom}};",[245,322,323],{"class":294},"\"",[245,325,326],{"class":251},">\n",[245,328,330,332,334,336,338,341,343,345,348,351,353,356,359,362,365,368,371,373],{"class":247,"line":329},5,[245,331,270],{"class":251},[245,333,211],{"class":273},[245,335,284],{"class":283},[245,337,287],{"class":251},[245,339,340],{"class":290},"\"pl-text\"",[245,342,303],{"class":283},[245,344,287],{"class":251},[245,346,347],{"class":290},"\"margin:0 0 8px;{{style \"",[245,349,350],{"class":283},"font-family",[245,352,323],{"class":294},[245,354,355],{"class":294}," \"font.sans\"}}font-size:{{token",[245,357,358],{"class":294}," \"size.h2\"}}px;line-height:{{token",[245,360,361],{"class":294}," \"size.h2_line\"}}px;font-weight:600;{{style",[245,363,364],{"class":294}," \"color\"",[245,366,367],{"class":294}," \"color.text\"}}\"",[245,369,370],{"class":251},">{{.Attrs.title}} {{.Bind.invoice.Number}}\u003C\u002F",[245,372,211],{"class":273},[245,374,326],{"class":251},[245,376,378,380,383,386,388,391,394,396,399,402,404,407,410,412,414,417,419,421,423,425,428],{"class":247,"line":377},6,[245,379,270],{"class":251},[245,381,382],{"class":273},"table",[245,384,385],{"class":283}," role",[245,387,287],{"class":251},[245,389,390],{"class":290},"\"presentation\"",[245,392,393],{"class":283}," width",[245,395,287],{"class":251},[245,397,398],{"class":290},"\"100%\"",[245,400,401],{"class":283}," cellpadding",[245,403,287],{"class":251},[245,405,406],{"class":290},"\"0\"",[245,408,409],{"class":283}," cellspacing",[245,411,287],{"class":251},[245,413,406],{"class":290},[245,415,416],{"class":294}," border",[245,418,287],{"class":251},[245,420,406],{"class":290},[245,422,303],{"class":283},[245,424,287],{"class":251},[245,426,427],{"class":290},"\"border-collapse:collapse;\"",[245,429,326],{"class":251},[245,431,433],{"class":247,"line":432},7,[245,434,435],{"class":251},"{{- range .Bind.invoice.Lines}}\n",[245,437,439,441,443,445,447,449,451,454,456,458,460,462,464,467,470,472,475,478,481,484,486,489,492,495,497,500,503,505,507,510,512],{"class":247,"line":438},8,[245,440,270],{"class":251},[245,442,274],{"class":273},[245,444,277],{"class":251},[245,446,280],{"class":273},[245,448,284],{"class":283},[245,450,287],{"class":251},[245,452,453],{"class":290},"\"pl-text pl-rule\"",[245,455,295],{"class":294},[245,457,287],{"class":251},[245,459,300],{"class":290},[245,461,303],{"class":283},[245,463,287],{"class":251},[245,465,466],{"class":290},"\"padding:10px 0;{{style \"",[245,468,469],{"class":283},"border-bottom",[245,471,323],{"class":294},[245,473,474],{"class":283}," (printf",[245,476,477],{"class":294}," \"1px",[245,479,480],{"class":283}," solid",[245,482,483],{"class":283}," %s",[245,485,323],{"class":294},[245,487,488],{"class":283}," (token",[245,490,491],{"class":294}," \"color.border\"))}}{{style",[245,493,494],{"class":294}," \"font-family\"",[245,496,355],{"class":294},[245,498,499],{"class":294}," \"size.text\"}}px;line-height:{{token",[245,501,502],{"class":294}," \"size.line\"}}px;{{style",[245,504,364],{"class":294},[245,506,367],{"class":294},[245,508,509],{"class":251},">{{.Name}}\u003C\u002F",[245,511,280],{"class":273},[245,513,326],{"class":251},[245,515,517,519,521,523,525,528,530,532,535,537,539,542,544,546,548,550,552,554,556,558,560,562,564,566,568,570,573,576,580,583,585],{"class":247,"line":516},9,[245,518,270],{"class":251},[245,520,280],{"class":273},[245,522,284],{"class":283},[245,524,287],{"class":251},[245,526,527],{"class":290},"\"pl-muted pl-rule\"",[245,529,295],{"class":294},[245,531,287],{"class":251},[245,533,534],{"class":290},"\"right\"",[245,536,303],{"class":283},[245,538,287],{"class":251},[245,540,541],{"class":290},"\"padding:10px 0 10px 12px;{{style \"",[245,543,469],{"class":283},[245,545,323],{"class":294},[245,547,474],{"class":283},[245,549,477],{"class":294},[245,551,480],{"class":283},[245,553,483],{"class":283},[245,555,323],{"class":294},[245,557,488],{"class":283},[245,559,491],{"class":294},[245,561,494],{"class":294},[245,563,355],{"class":294},[245,565,499],{"class":294},[245,567,502],{"class":294},[245,569,364],{"class":294},[245,571,572],{"class":294}," \"color.muted\"}}white-space:nowrap;\"",[245,574,575],{"class":251},">",[245,577,579],{"class":578},"sFaxo","&times;&nbsp;",[245,581,582],{"class":251},"{{.Qty}}\u003C\u002F",[245,584,280],{"class":273},[245,586,326],{"class":251},[245,588,590,592,594,596,598,600,602,604,606,608,610,612,614,616,618,620,622,624,626,628,630,632,634,636,638,640,643,646,648,651,653],{"class":247,"line":589},10,[245,591,270],{"class":251},[245,593,280],{"class":273},[245,595,284],{"class":283},[245,597,287],{"class":251},[245,599,453],{"class":290},[245,601,295],{"class":294},[245,603,287],{"class":251},[245,605,534],{"class":290},[245,607,303],{"class":283},[245,609,287],{"class":251},[245,611,541],{"class":290},[245,613,469],{"class":283},[245,615,323],{"class":294},[245,617,474],{"class":283},[245,619,477],{"class":294},[245,621,480],{"class":283},[245,623,483],{"class":283},[245,625,323],{"class":294},[245,627,488],{"class":283},[245,629,491],{"class":294},[245,631,494],{"class":294},[245,633,355],{"class":294},[245,635,499],{"class":294},[245,637,502],{"class":294},[245,639,364],{"class":294},[245,641,642],{"class":294}," \"color.text\"}}white-space:nowrap;\"",[245,644,645],{"class":251},">{{.Amount}}\u003C\u002F",[245,647,280],{"class":273},[245,649,650],{"class":251},">\u003C\u002F",[245,652,274],{"class":273},[245,654,326],{"class":251},[245,656,658],{"class":247,"line":657},11,[245,659,660],{"class":251},"{{- end}}\n",[245,662,664,666,668,670,672,674,676,678,681,683,686,688,690,692,694,696,699,701,703,705,707,710,712,714,717,719],{"class":247,"line":663},12,[245,665,270],{"class":251},[245,667,274],{"class":273},[245,669,277],{"class":251},[245,671,280],{"class":273},[245,673,284],{"class":283},[245,675,287],{"class":251},[245,677,340],{"class":290},[245,679,680],{"class":283}," colspan",[245,682,287],{"class":251},[245,684,685],{"class":290},"\"2\"",[245,687,295],{"class":294},[245,689,287],{"class":251},[245,691,300],{"class":290},[245,693,303],{"class":283},[245,695,287],{"class":251},[245,697,698],{"class":290},"\"padding:10px 0 0;{{style \"",[245,700,350],{"class":283},[245,702,323],{"class":294},[245,704,355],{"class":294},[245,706,499],{"class":294},[245,708,709],{"class":294}," \"size.line\"}}px;font-weight:600;{{style",[245,711,364],{"class":294},[245,713,367],{"class":294},[245,715,716],{"class":251},">Total\u003C\u002F",[245,718,280],{"class":273},[245,720,326],{"class":251},[245,722,724,726,728,730,732,734,736,738,740,742,744,747,749,751,753,755,757,759,761,764,766,768,770],{"class":247,"line":723},13,[245,725,270],{"class":251},[245,727,280],{"class":273},[245,729,284],{"class":283},[245,731,287],{"class":251},[245,733,340],{"class":290},[245,735,295],{"class":294},[245,737,287],{"class":251},[245,739,534],{"class":290},[245,741,303],{"class":283},[245,743,287],{"class":251},[245,745,746],{"class":290},"\"padding:10px 0 0 12px;{{style \"",[245,748,350],{"class":283},[245,750,323],{"class":294},[245,752,355],{"class":294},[245,754,499],{"class":294},[245,756,709],{"class":294},[245,758,364],{"class":294},[245,760,642],{"class":294},[245,762,763],{"class":251},">{{.Bind.invoice.Total}}\u003C\u002F",[245,765,280],{"class":273},[245,767,650],{"class":251},[245,769,274],{"class":273},[245,771,326],{"class":251},[245,773,775,778,780],{"class":247,"line":774},14,[245,776,777],{"class":251},"\u003C\u002F",[245,779,382],{"class":273},[245,781,326],{"class":251},[245,783,785,787,789,791,793],{"class":247,"line":784},15,[245,786,777],{"class":251},[245,788,280],{"class":273},[245,790,650],{"class":251},[245,792,274],{"class":273},[245,794,326],{"class":251},[211,796,797,798,801,802,805],{},"Misspell ",[214,799,800],{},".Bind.invoice.Total"," on line 13 as ",[214,803,804],{},".Bind.invoice.Totl",", and the kit does not load:",[235,807,813],{"className":808,"code":810,"filename":811,"language":812,"meta":241},[809],"language-text","components\u002Finvoice\u002Fhtml.tmpl:13:243: Invoice has no field or method \"Totl\"\n","kit.Load error","text",[214,814,810],{"__ignoreMap":241},[211,816,817,818,820,821,823,824,827,828,830],{},"The checker knows ",[214,819,232],{}," is an ",[214,822,228],{}," because the schema binds ",[214,825,826],{},"invoice: { type: Invoice }"," and Go registered ",[214,829,228],{}," under that name. The position is the line and the byte column of the typo. The tutorial pins this exact error in a test, so the docs and the code fail together if either changes:",[235,832,837],{"className":833,"code":834,"filename":835,"language":836,"meta":241,"style":241},"language-go shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark","\u002F\u002F TestTypo: a misspelt field on a bound type fails kit.Load, with the\n\u002F\u002F position of the typo in the kit file.\nfunc TestTypo(t *testing.T) {\n    overlay := fstest.MapFS{}\n    err := fs.WalkDir(Files(), \".\", func(path string, d fs.DirEntry, err error) error {\n        if err != nil || d.IsDir() {\n            return err\n        }\n        b, err := fs.ReadFile(Files(), path)\n        if err != nil {\n            return err\n        }\n        overlay[path] = &fstest.MapFile{Data: b}\n        return nil\n    })\n    if err != nil {\n        t.Fatal(err)\n    }\n    const tmpl = \"components\u002Finvoice\u002Fhtml.tmpl\"\n    src := string(overlay[tmpl].Data)\n    if !strings.Contains(src, \".Bind.invoice.Total\") {\n        t.Fatalf(\"%s no longer shows .Bind.invoice.Total\", tmpl)\n    }\n    overlay[tmpl].Data = []byte(strings.Replace(src, \".Bind.invoice.Total\", \".Bind.invoice.Totl\", 1))\n\n    _, err = load(overlay)\n    const want = `components\u002Finvoice\u002Fhtml.tmpl:13:243: Invoice has no field or method \"Totl\"`\n    if err == nil || err.Error() != want {\n        t.Errorf(\"load error = %v\\nwant %s\", err, want)\n    }\n}\n","tutorial\u002Ftutorial_test.go#L55-L85","go",[214,838,839,845,850,883,902,969,996,1004,1009,1028,1040,1046,1050,1071,1079,1084,1098,1110,1116,1131,1144,1166,1187,1192,1229,1236,1250,1263,1291,1317,1322],{"__ignoreMap":241},[245,840,841],{"class":247,"line":248},[245,842,844],{"class":843},"sBq4M","\u002F\u002F TestTypo: a misspelt field on a bound type fails kit.Load, with the\n",[245,846,847],{"class":247,"line":255},[245,848,849],{"class":843},"\u002F\u002F position of the typo in the kit file.\n",[245,851,852,856,860,863,867,870,874,877,880],{"class":247,"line":261},[245,853,855],{"class":854},"s1Q0q","func",[245,857,859],{"class":858},"sPmw6"," TestTypo",[245,861,862],{"class":251},"(",[245,864,866],{"class":865},"s-BBy","t",[245,868,869],{"class":854}," *",[245,871,873],{"class":872},"sSlKG","testing",[245,875,876],{"class":251},".",[245,878,879],{"class":872},"T",[245,881,882],{"class":251},") {\n",[245,884,885,888,891,894,896,899],{"class":247,"line":267},[245,886,887],{"class":251},"    overlay ",[245,889,890],{"class":854},":=",[245,892,893],{"class":872}," fstest",[245,895,876],{"class":251},[245,897,898],{"class":872},"MapFS",[245,900,901],{"class":251},"{}\n",[245,903,904,907,909,912,915,917,920,923,926,929,931,933,936,939,941,944,947,949,952,954,957,960,963,966],{"class":247,"line":329},[245,905,906],{"class":251},"    err ",[245,908,890],{"class":854},[245,910,911],{"class":251}," fs.",[245,913,914],{"class":858},"WalkDir",[245,916,862],{"class":251},[245,918,919],{"class":858},"Files",[245,921,922],{"class":251},"(), ",[245,924,925],{"class":290},"\".\"",[245,927,928],{"class":251},", ",[245,930,855],{"class":854},[245,932,862],{"class":251},[245,934,935],{"class":865},"path",[245,937,938],{"class":854}," string",[245,940,928],{"class":251},[245,942,943],{"class":865},"d",[245,945,946],{"class":872}," fs",[245,948,876],{"class":251},[245,950,951],{"class":872},"DirEntry",[245,953,928],{"class":251},[245,955,956],{"class":865},"err",[245,958,959],{"class":854}," error",[245,961,962],{"class":251},") ",[245,964,965],{"class":854},"error",[245,967,968],{"class":251}," {\n",[245,970,971,974,977,980,984,987,990,993],{"class":247,"line":377},[245,972,973],{"class":854},"        if",[245,975,976],{"class":251}," err ",[245,978,979],{"class":854},"!=",[245,981,983],{"class":982},"sTl1q"," nil",[245,985,986],{"class":854}," ||",[245,988,989],{"class":251}," d.",[245,991,992],{"class":858},"IsDir",[245,994,995],{"class":251},"() {\n",[245,997,998,1001],{"class":247,"line":432},[245,999,1000],{"class":854},"            return",[245,1002,1003],{"class":251}," err\n",[245,1005,1006],{"class":247,"line":438},[245,1007,1008],{"class":251},"        }\n",[245,1010,1011,1014,1016,1018,1021,1023,1025],{"class":247,"line":516},[245,1012,1013],{"class":251},"        b, err ",[245,1015,890],{"class":854},[245,1017,911],{"class":251},[245,1019,1020],{"class":858},"ReadFile",[245,1022,862],{"class":251},[245,1024,919],{"class":858},[245,1026,1027],{"class":251},"(), path)\n",[245,1029,1030,1032,1034,1036,1038],{"class":247,"line":589},[245,1031,973],{"class":854},[245,1033,976],{"class":251},[245,1035,979],{"class":854},[245,1037,983],{"class":982},[245,1039,968],{"class":251},[245,1041,1042,1044],{"class":247,"line":657},[245,1043,1000],{"class":854},[245,1045,1003],{"class":251},[245,1047,1048],{"class":247,"line":663},[245,1049,1008],{"class":251},[245,1051,1052,1055,1057,1060,1063,1065,1068],{"class":247,"line":723},[245,1053,1054],{"class":251},"        overlay[path] ",[245,1056,287],{"class":854},[245,1058,1059],{"class":854}," &",[245,1061,1062],{"class":872},"fstest",[245,1064,876],{"class":251},[245,1066,1067],{"class":872},"MapFile",[245,1069,1070],{"class":251},"{Data: b}\n",[245,1072,1073,1076],{"class":247,"line":774},[245,1074,1075],{"class":854},"        return",[245,1077,1078],{"class":982}," nil\n",[245,1080,1081],{"class":247,"line":784},[245,1082,1083],{"class":251},"    })\n",[245,1085,1087,1090,1092,1094,1096],{"class":247,"line":1086},16,[245,1088,1089],{"class":854},"    if",[245,1091,976],{"class":251},[245,1093,979],{"class":854},[245,1095,983],{"class":982},[245,1097,968],{"class":251},[245,1099,1101,1104,1107],{"class":247,"line":1100},17,[245,1102,1103],{"class":251},"        t.",[245,1105,1106],{"class":858},"Fatal",[245,1108,1109],{"class":251},"(err)\n",[245,1111,1113],{"class":247,"line":1112},18,[245,1114,1115],{"class":251},"    }\n",[245,1117,1119,1122,1125,1128],{"class":247,"line":1118},19,[245,1120,1121],{"class":854},"    const",[245,1123,1124],{"class":982}," tmpl",[245,1126,1127],{"class":854}," =",[245,1129,1130],{"class":290}," \"components\u002Finvoice\u002Fhtml.tmpl\"\n",[245,1132,1134,1137,1139,1141],{"class":247,"line":1133},20,[245,1135,1136],{"class":251},"    src ",[245,1138,890],{"class":854},[245,1140,938],{"class":854},[245,1142,1143],{"class":251},"(overlay[tmpl].Data)\n",[245,1145,1147,1149,1152,1155,1158,1161,1164],{"class":247,"line":1146},21,[245,1148,1089],{"class":854},[245,1150,1151],{"class":854}," !",[245,1153,1154],{"class":251},"strings.",[245,1156,1157],{"class":858},"Contains",[245,1159,1160],{"class":251},"(src, ",[245,1162,1163],{"class":290},"\".Bind.invoice.Total\"",[245,1165,882],{"class":251},[245,1167,1169,1171,1174,1176,1178,1181,1184],{"class":247,"line":1168},22,[245,1170,1103],{"class":251},[245,1172,1173],{"class":858},"Fatalf",[245,1175,862],{"class":251},[245,1177,323],{"class":290},[245,1179,1180],{"class":578},"%s",[245,1182,1183],{"class":290}," no longer shows .Bind.invoice.Total\"",[245,1185,1186],{"class":251},", tmpl)\n",[245,1188,1190],{"class":247,"line":1189},23,[245,1191,1115],{"class":251},[245,1193,1195,1198,1200,1203,1206,1209,1212,1214,1216,1218,1221,1223,1226],{"class":247,"line":1194},24,[245,1196,1197],{"class":251},"    overlay[tmpl].Data ",[245,1199,287],{"class":854},[245,1201,1202],{"class":251}," []",[245,1204,1205],{"class":854},"byte",[245,1207,1208],{"class":251},"(strings.",[245,1210,1211],{"class":858},"Replace",[245,1213,1160],{"class":251},[245,1215,1163],{"class":290},[245,1217,928],{"class":251},[245,1219,1220],{"class":290},"\".Bind.invoice.Totl\"",[245,1222,928],{"class":251},[245,1224,1225],{"class":982},"1",[245,1227,1228],{"class":251},"))\n",[245,1230,1232],{"class":247,"line":1231},25,[245,1233,1235],{"emptyLinePlaceholder":1234},true,"\n",[245,1237,1239,1242,1244,1247],{"class":247,"line":1238},26,[245,1240,1241],{"class":251},"    _, err ",[245,1243,287],{"class":854},[245,1245,1246],{"class":858}," load",[245,1248,1249],{"class":251},"(overlay)\n",[245,1251,1253,1255,1258,1260],{"class":247,"line":1252},27,[245,1254,1121],{"class":854},[245,1256,1257],{"class":982}," want",[245,1259,1127],{"class":854},[245,1261,1262],{"class":290}," `components\u002Finvoice\u002Fhtml.tmpl:13:243: Invoice has no field or method \"Totl\"`\n",[245,1264,1266,1268,1270,1273,1275,1277,1280,1283,1286,1288],{"class":247,"line":1265},28,[245,1267,1089],{"class":854},[245,1269,976],{"class":251},[245,1271,1272],{"class":854},"==",[245,1274,983],{"class":982},[245,1276,986],{"class":854},[245,1278,1279],{"class":251}," err.",[245,1281,1282],{"class":858},"Error",[245,1284,1285],{"class":251},"() ",[245,1287,979],{"class":854},[245,1289,1290],{"class":251}," want {\n",[245,1292,1294,1296,1299,1301,1304,1307,1310,1312,1314],{"class":247,"line":1293},29,[245,1295,1103],{"class":251},[245,1297,1298],{"class":858},"Errorf",[245,1300,862],{"class":251},[245,1302,1303],{"class":290},"\"load error = ",[245,1305,1306],{"class":578},"%v\\n",[245,1308,1309],{"class":290},"want ",[245,1311,1180],{"class":578},[245,1313,323],{"class":290},[245,1315,1316],{"class":251},", err, want)\n",[245,1318,1320],{"class":247,"line":1319},30,[245,1321,1115],{"class":251},[245,1323,1325],{"class":247,"line":1324},31,[245,1326,1327],{"class":251},"}\n",[219,1329,1331],{"id":1330},"know-what-load-checks","Know what Load checks",[211,1333,1334,1336],{},[214,1335,216],{}," runs every check and reports every problem it finds, not just the first:",[1338,1339,1340,1355,1379,1404,1410,1419],"ol",{},[1341,1342,1343,1347,1348,1350,1351,1354],"li",{},[1344,1345,1346],"strong",{},"YAML."," Every key of ",[214,1349,79],{}," and each ",[214,1352,1353],{},"component.yaml"," is known, every value has the right type, names are valid, token values are CSS-safe, and attribute rules agree with each other.",[1341,1356,1357,1360,1361,928,1364,928,1367,1370,1371,1374,1375,1378],{},[1344,1358,1359],{},"References."," ",[214,1362,1363],{},"default",[214,1365,1366],{},"children",[214,1368,1369],{},"must_follow"," and ",[214,1372,1373],{},"spacing.after"," name real components or classes. Aliases are unique. Every ",[214,1376,1377],{},"types"," entry is registered, and every binding names a listed type.",[1341,1380,1381,1360,1384,928,1387,928,1390,928,1393,1396,1397,1400,1401,1403],{},[1344,1382,1383],{},"Files and defines.",[214,1385,1386],{},"layout.html",[214,1388,1389],{},"layout.txt",[214,1391,1392],{},"styles.css",[214,1394,1395],{},"blocks.html"," and each component's ",[214,1398,1399],{},"html.tmpl"," exist. ",[214,1402,1395],{}," defines every block the kit needs.",[1341,1405,1406,1409],{},[1344,1407,1408],{},"Parsing."," Every template parses, with every function it calls known.",[1341,1411,1412,1360,1415,1418],{},[1344,1413,1414],{},"Escaping.",[214,1416,1417],{},"html\u002Ftemplate","'s contextual escaper runs over every HTML template, so an action in a context it cannot escape (an unclosed attribute, say) fails now, not at the first render.",[1341,1420,1421,1424],{},[1344,1422,1423],{},"Types."," Every template is walked with the static type of its dot, as below.",[211,1426,1427,1428,928,1431,1434,1435,1438,1439,1442],{},"The type check follows the dot through ",[214,1429,1430],{},"with",[214,1432,1433],{},"range"," (over slices, arrays, maps and integers), ",[214,1436,1437],{},"if",", variables and ",[214,1440,1441],{},"{{template \"name\" .}}"," calls, and checks:",[1444,1445,1446,1455,1501,1511,1548],"ul",{},[1341,1447,1448,1451,1452,876],{},[1344,1449,1450],{},"Field and method chains"," on the views and on bound Go types, including methods such as ",[214,1453,1454],{},".Amount.String",[1341,1456,1457,1460,1461,928,1464,1370,1467,1470,1471,1473,1474,1370,1477,1480,1481,1483,1484,1487,1488,1370,1490,1487,1493,1496,1497,1500],{},[1344,1458,1459],{},"Schema keys",": ",[214,1462,1463],{},".Attrs.x",[214,1465,1466],{},".Bind.x",[214,1468,1469],{},".Doc.Front.x"," must be declared by the component's schema or ",[214,1472,79],{},", and each is typed from it. A child's ",[214,1475,1476],{},".Attrs",[214,1478,1479],{},".Bind"," are typed by the child's schema. An ",[214,1482,240],{}," attribute is ",[214,1485,1486],{},"template.HTML"," in ",[214,1489,1399],{},[214,1491,1492],{},"string",[214,1494,1495],{},"text.tmpl",". Literal keys given to ",[214,1498,1499],{},"index"," are checked too. An unknown key gets the closest declared one as a suggestion.",[1341,1502,1503,1506,1507,1510],{},[1344,1504,1505],{},"Function calls",": the number and types of the arguments of every core function and every ",[214,1508,1509],{},"kit.Funcs"," function.",[1341,1512,1513,1516,1517,928,1520,1370,1523,1526,1527,1529,1530,1532,1533,1536,1537,1540,1541,928,1544,1547],{},[1344,1514,1515],{},"Literal names",": the string argument of ",[214,1518,1519],{},"token",[214,1521,1522],{},"dark",[214,1524,1525],{},"var"," must name a token or var, with a suggestion when one is close. ",[214,1528,1519],{}," suggests only tokens with a light value, and ",[214,1531,1522],{}," only tokens with a dark value. A literal value given to ",[214,1534,1535],{},"style"," that reads as a token name (dotted lower-case segments, such as ",[214,1538,1539],{},"color.txt",", whose first segment is the group of one of the kit's tokens) must be a token with a light value too. CSS values such as ",[214,1542,1543],{},"0.5em",[214,1545,1546],{},"rgb(0 0 0 \u002F .5)"," or a font stack never read as one.",[1341,1549,1550,1460,1553,1555],{},[1344,1551,1552],{},"Ranges and templates",[214,1554,1433],{}," over something that cannot be ranged, and calls to templates that do not exist.",[219,1557,1559],{"id":1558},"read-the-errors","Read the errors",[211,1561,1562,1563,1566,1567,1569,1570,1573,1574,1577,1578,1581,1582,928,1585,928,1588,1370,1591,876],{},"Every error has the form ",[214,1564,1565],{},"path:line:col: message",", with a path relative to the kit root and a 1-based byte column. Parse errors carry a line only. ",[214,1568,216],{}," sorts them by file and position, drops duplicates, stops at 50 per file (then ",[214,1571,1572],{},"N more errors",") and returns them joined with ",[214,1575,1576],{},"errors.Join",", each a ",[214,1579,1580],{},"*kit.Error"," with ",[214,1583,1584],{},"Path",[214,1586,1587],{},"Line",[214,1589,1590],{},"Col",[214,1592,1593],{},"Msg",[211,1595,1596,1597,1600],{},"These come from ",[214,1598,1599],{},"lttr kit check",", each on a copy of Plain with one mistake. The CLI puts the kit directory in front of each path:",[382,1602,1603,1614],{},[1604,1605,1606],"thead",{},[274,1607,1608,1612],{},[1609,1610,1611],"th",{},"Mistake",[1609,1613,1282],{},[1615,1616,1617,1627,1639,1649,1659,1676,1688,1698,1708],"tbody",{},[274,1618,1619,1622],{},[280,1620,1621],{},"A misspelt token",[280,1623,1624],{},[214,1625,1626],{},"emailkit\u002Fcomponents\u002Fsection\u002Fhtml.tmpl:1:179: token: unknown token \"size.txt\" (did you mean size.text?)",[274,1628,1629,1634],{},[280,1630,1631,1632],{},"A misspelt token in ",[214,1633,1535],{},[280,1635,1636],{},[214,1637,1638],{},"emailkit\u002Fcomponents\u002Fsection\u002Fhtml.tmpl:1:247: style: unknown token \"color.txt\" (did you mean color.text?)",[274,1640,1641,1644],{},[280,1642,1643],{},"A misspelt var",[280,1645,1646],{},[214,1647,1648],{},"emailkit\u002Fcomponents\u002Ffooter\u002Fhtml.tmpl:4:188: var: unknown var \"compnay\" (did you mean company?)",[274,1650,1651,1654],{},[280,1652,1653],{},"An attribute the schema does not declare",[280,1655,1656],{},[214,1657,1658],{},"emailkit\u002Fcomponents\u002Fbutton\u002Fhtml.tmpl:2:496: unknown key \"lable\" in Attrs (did you mean label?)",[274,1660,1661,1671],{},[280,1662,1663,1664,1667,1668],{},"A string where ",[214,1665,1666],{},"px"," wants an ",[214,1669,1670],{},"int",[280,1672,1673],{},[214,1674,1675],{},"emailkit\u002Fcomponents\u002Fbutton\u002Fhtml.tmpl:1:56: px: argument 1 is \"12\", want int",[274,1677,1678,1683],{},[280,1679,1680,1682],{},[214,1681,1433],{}," over a text attribute",[280,1684,1685],{},[214,1686,1687],{},"emailkit\u002Fcomponents\u002Fbutton\u002Fhtml.tmpl:2:496: range over string",[274,1689,1690,1693],{},[280,1691,1692],{},"A function that does not exist",[280,1694,1695],{},[214,1696,1697],{},"emailkit\u002Fcomponents\u002Fsection\u002Ftext.tmpl:1: function \"money\" not defined",[274,1699,1700,1703],{},[280,1701,1702],{},"A block define removed while a component allows images",[280,1704,1705],{},[214,1706,1707],{},"emailkit\u002Fblocks.html: missing define \"image\"",[274,1709,1710,1713],{},[280,1711,1712],{},"An attribute left open at the end of a define",[280,1714,1715],{},[214,1716,1717],{},"emailkit\u002Fblocks.html: ends in a non-text context: {stateAttr delimDoubleQuote urlPartNone jsCtxRegexp [] attrNone elementNone \u003Cnil>}",[211,1719,1720,1721,1723,1724,1727,1728,876],{},"The last one is ",[214,1722,1417],{},"'s own escaping error, raised at load: the ",[214,1725,1726],{},"inline"," define had become ",[214,1729,1730],{},"\u003Cb title=\"{{.HTML}}",[219,1732,1734],{"id":1733},"know-the-limits","Know the limits",[211,1736,1737],{},"The checker is conservative. It reports only what it can prove, so some mistakes pass it:",[1444,1739,1740,1758,1764,1778,1800],{},[1341,1741,1742,1745,1746,1749,1750,1753,1754,1757],{},[1344,1743,1744],{},"Interfaces are untyped."," A value whose static type is an interface, ",[214,1747,1748],{},"any"," included, stops the check along that chain without an error. ",[214,1751,1752],{},".Content"," is an interface, but it only goes to ",[214,1755,1756],{},"content",". Bound Go types are concrete, so they are checked in full.",[1341,1759,1760,1763],{},[1344,1761,1762],{},"A variable reassigned"," to a value of a different type becomes untyped.",[1341,1765,1766,1769,1770,928,1772,1774,1775,1777],{},[1344,1767,1768],{},"Computed names"," passed to ",[214,1771,1519],{},[214,1773,1522],{}," or ",[214,1776,1525],{}," are checked when they render, not at load.",[1341,1779,1780,1783,1784,1370,1787,1790,1791,1794,1795,876],{},[1344,1781,1782],{},"Grandchildren read inline"," are checked against the child's schema, not the grandchild's: in any template, ",[214,1785,1786],{},"ChildAttrs",[214,1788,1789],{},"ChildBind"," are typed by that component's direct children. A key the child also declares passes the check and can fail at render. Reach grandchildren through ",[214,1792,1793],{},"render"," instead. See ",[1796,1797,1799],"a",{"href":1798},"\u002Fkits\u002Ftemplates-and-views#render-nested-components","Render nested components",[1341,1801,1802,1805,1806,1809,1810,1812,1813,1816,1817,876],{},[1344,1803,1804],{},"Three cases pass the check and fail at render",": a method on ",[214,1807,1808],{},"*T"," reached through a value that is not addressable (a map element, an ",[214,1811,1499],{}," result), a method with no results, and ",[214,1814,1815],{},"range $i, $j"," over an int or an ",[214,1818,1819],{},"iter.Seq",[211,1821,1822,1823,1825,1826,1829],{},"Values are never known at load either. An index out of range, a nil pointer inside a bound value, a URL that fails its check, an unsafe ",[214,1824,1535],{}," value, or a ",[214,1827,1828],{},"fail"," all surface when a template renders. They carry the Markdown position and the kit position, so they are still easy to find:",[235,1831,1835],{"className":1832,"code":1833,"filename":1834,"language":812,"meta":241},[809],"$ lttr kit check .\u002Femailkit\nemailkit\u002Fsamples\u002Fwelcome.md:16:1: button: emailkit\u002Fcomponents\u002Fbutton\u002Ftext.tmpl:1:3: error calling index: index out of range: 99\nlttr kit check: .\u002Femailkit: 1 problem\n","Terminal",[214,1836,1833],{"__ignoreMap":241},[211,1838,1839,1841,1842,1845],{},[214,1840,1599],{},", and your own tests, render every sample, which is how these are caught before a real send. See ",[1796,1843,97],{"href":1844},"\u002Fkits\u002Fgo-types-and-funcs#check-a-typed-kit-from-go"," for a kit the CLI cannot load.",[219,1847,1849],{"id":1848},"next-steps","Next steps",[1444,1851,1852,1857],{},[1341,1853,1854,1856],{},[1796,1855,97],{"href":98},": register the types the checker follows.",[1341,1858,1859,1861],{},[1796,1860,63],{"href":64},": the errors a Markdown template gets when it breaks a schema.",[1535,1863,1864],{},"html pre.shiki code .sihDN, html code.shiki .sihDN{--shiki-light:#0E1116;--shiki-default:#0E1116;--shiki-dark:#E1E4E8}html pre.shiki code .s71pN, html code.shiki .s71pN{--shiki-light:#024C1A;--shiki-default:#024C1A;--shiki-dark:#85E89D}html pre.shiki code .sQJpg, html code.shiki .sQJpg{--shiki-light:#023B95;--shiki-default:#023B95;--shiki-dark:#B392F0}html pre.shiki code .sRBGO, html code.shiki .sRBGO{--shiki-light:#032563;--shiki-default:#032563;--shiki-dark:#9ECBFF}html pre.shiki code .s-oVe, html code.shiki .s-oVe{--shiki-light:#6E011A;--shiki-light-font-style:italic;--shiki-default:#6E011A;--shiki-default-font-style:italic;--shiki-dark:#FDAEB7;--shiki-dark-font-style:italic}html pre.shiki code .sFaxo, html code.shiki .sFaxo{--shiki-light:#A0111F;--shiki-default:#A0111F;--shiki-dark:#79B8FF}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 .sBq4M, html code.shiki .sBq4M{--shiki-light:#66707B;--shiki-default:#66707B;--shiki-dark:#6A737D}html pre.shiki code .s1Q0q, html code.shiki .s1Q0q{--shiki-light:#A0111F;--shiki-default:#A0111F;--shiki-dark:#F97583}html pre.shiki code .sPmw6, html code.shiki .sPmw6{--shiki-light:#622CBC;--shiki-default:#622CBC;--shiki-dark:#B392F0}html pre.shiki code .s-BBy, html code.shiki .s-BBy{--shiki-light:#702C00;--shiki-default:#702C00;--shiki-dark:#FFAB70}html pre.shiki code .sSlKG, html code.shiki .sSlKG{--shiki-light:#702C00;--shiki-default:#702C00;--shiki-dark:#B392F0}html pre.shiki code .sTl1q, html code.shiki .sTl1q{--shiki-light:#023B95;--shiki-default:#023B95;--shiki-dark:#79B8FF}",{"title":241,"searchDepth":255,"depth":255,"links":1866},[1867,1868,1869,1870,1871],{"id":221,"depth":255,"text":222},{"id":1330,"depth":255,"text":1331},{"id":1558,"depth":255,"text":1559},{"id":1733,"depth":255,"text":1734},{"id":1848,"depth":255,"text":1849},"What kit.Load checks in every kit template before anything renders, the errors it reports, and the mistakes that only surface at render time.","md",null,{},{"icon":95},{"title":92,"description":1872},"QqntgIF3UTYlr4F8JQ-F_GoKV6w-5ekFTUDDA1KIbIc",[1880,1882],{"title":88,"path":89,"stem":90,"description":1881,"icon":56,"children":-1},"The kit's templates, the typed view each one executes with, and every core template function, with its signature.",{"title":97,"path":98,"stem":99,"description":1883,"icon":100,"children":-1},"Register the Go types components bind with kit.Types, add template functions with kit.Funcs, and check such a kit from Go, since the CLI cannot load it.",1790467462425]