[{"data":1,"prerenderedAt":1695,"buildId":1696},["ShallowReactive",2],{"docs:\u002Freference\u002Fapi":3},{"page":4,"section":17,"document":18,"credits":11,"prev":11,"next":11},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":9,"description":10,"tagline":10,"eyebrow":11,"credits":11,"keywords":12,"icon":13,"layout":14,"sidebar":15,"toc":15,"kind":11,"group":11,"navigation":15,"order":16},"api","\u002Freference\u002Fapi","reference\u002Fapi.md","API","API reference","Every export of whoasks, whoasks\u002Fcore and whoasks\u002Fh3, with signatures, the seven types, the built-in forms, response headers and errors.",null,[],"i-lucide-code","article",true,1,"reference",{"nodes":19,"toc":1674},[20,87,147,155,162,201,239,245,283,301,307,337,354,359,586,590,604,610,644,650,697,703,729,735,818,824,930,1013,1017,1058,1100,1103,1168,1174,1320,1415,1421,1427,1552,1567,1572,1634,1644,1650],[21,22,25],"pre",{"language":23,"class":24,"wrap":15},"ts","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[26,27,29,52,53,52,73],"code",{"class":28},"language-ts",[30,31,34,38,42,45,49],"span",{"class":32,"style":33},"line","display: inline",[30,35,37],{"style":36},"color:#CF222E;--shiki-dark:#FF7B72","import",[30,39,41],{"style":40},"color:#1F2328;--shiki-dark:#E6EDF3"," { whoasks, mdream } ",[30,43,44],{"style":36},"from",[30,46,48],{"style":47},"color:#0A3069;--shiki-dark:#A5D6FF"," \"whoasks\"",[30,50,51],{"style":40},";","\n",[30,54,55,57,60,63,66,68,71],{"class":32,"style":33},[30,56,37],{"style":36},[30,58,59],{"style":40}," { whoasks ",[30,61,62],{"style":36},"as",[30,64,65],{"style":40}," core } ",[30,67,44],{"style":36},[30,69,70],{"style":47}," \"whoasks\u002Fcore\"",[30,72,51],{"style":40},[30,74,75,77,80,82,85],{"class":32,"style":33},[30,76,37],{"style":36},[30,78,79],{"style":40}," { middleware } ",[30,81,44],{"style":36},[30,83,84],{"style":47}," \"whoasks\u002Fh3\"",[30,86,51],{"style":40},[88,89,90,103],"table",{},[91,92,93],"thead",{},[94,95,96,100],"tr",{},[97,98,99],"th",{},"Import",[97,101,102],{},"Holds",[104,105,106,123,135],"tbody",{},[94,107,108,114],{},[109,110,111],"td",{},[26,112,113],{},"whoasks",[109,115,116,118,119,122],{},[26,117,113],{}," with mdream as its converter, ",[26,120,121],{},"mdream",", and the seven types",[94,124,125,130],{},[109,126,127],{},[26,128,129],{},"whoasks\u002Fcore",[109,131,132,134],{},[26,133,113],{}," with no converter, and the seven types. It has no imports and stays under 10 kB",[94,136,137,142],{},[109,138,139],{},[26,140,141],{},"whoasks\u002Fh3",[109,143,144],{},[26,145,146],{},"middleware",[148,149,154],"h2",{"id":150,"anchor":151},"functions",{"label":152,"icon":153},"Section titled \"Functions\"","#","Functions",[156,157,161],"h3",{"id":158,"anchor":159},"whoaskslayers",{"label":160,"icon":153},"Section titled \"whoasks(...layers)\"","whoasks(...layers)",[21,163,164],{"language":23,"class":24,"wrap":15},[26,165,166],{"class":28},[30,167,168,171,175,178,181,185,188,191,194,196,199],{"class":32,"style":33},[30,169,170],{"style":36},"function",[30,172,174],{"style":173},"color:#8250DF;--shiki-dark:#D2A8FF"," whoasks",[30,176,177],{"style":40},"(",[30,179,180],{"style":36},"...",[30,182,184],{"style":183},"color:#953800;--shiki-dark:#FFA657","layers",[30,186,187],{"style":36},":",[30,189,190],{"style":183}," Layer",[30,192,193],{"style":40},"[])",[30,195,187],{"style":36},[30,197,198],{"style":183}," WhoAsks",[30,200,51],{"style":40},[202,203,204,218],"ul",{},[205,206,207,208,210,211,214,215,217],"li",{},"From ",[26,209,113],{},": ",[26,212,213],{},"{ convert: mdream() }"," is the first layer. From ",[26,216,129],{},": no converter until a layer sets one.",[205,219,220,221,224,225,228,229,232,233,238],{},"Merge order: later ",[26,222,223],{},"forms"," replace earlier ones, renderers and hooks run in layer order, and the last ",[26,226,227],{},"convert"," and the last ",[26,230,231],{},"strict"," win. See ",[234,235,237],"a",{"href":236},"\u002Fguide\u002Flayers#how-layers-merge","How layers merge",".",[156,240,244],{"id":241,"anchor":242},"mdreamoptions",{"label":243,"icon":153},"Section titled \"mdream(options?)\"","mdream(options?)",[21,246,247],{"language":23,"class":24,"wrap":15},[26,248,249],{"class":28},[30,250,251,253,256,258,261,264,267,270,273,276,278,281],{"class":32,"style":33},[30,252,170],{"style":36},[30,254,255],{"style":173}," mdream",[30,257,177],{"style":40},[30,259,260],{"style":183},"options",[30,262,263],{"style":36},"?:",[30,265,266],{"style":183}," Partial",[30,268,269],{"style":40},"\u003C",[30,271,272],{"style":183},"MdreamOptions",[30,274,275],{"style":40},">)",[30,277,187],{"style":36},[30,279,280],{"style":183}," Convert",[30,282,51],{"style":40},[202,284,285,291],{},[205,286,287,288,290],{},"Exported from ",[26,289,113],{}," only.",[205,292,293,294,297,298,300],{},"Calls mdream's ",[26,295,296],{},"htmlToMarkdown(html, { minimal: true, origin: url.origin, ...options })",". Your options override the two defaults. ",[26,299,272],{}," is mdream's own type.",[156,302,306],{"id":303,"anchor":304},"middlewaresite",{"label":305,"icon":153},"Section titled \"middleware(site)\"","middleware(site)",[21,308,309],{"language":23,"class":24,"wrap":15},[26,310,311],{"class":28},[30,312,313,315,318,320,323,325,327,330,332,335],{"class":32,"style":33},[30,314,170],{"style":36},[30,316,317],{"style":173}," middleware",[30,319,177],{"style":40},[30,321,322],{"style":183},"site",[30,324,187],{"style":36},[30,326,198],{"style":183},[30,328,329],{"style":40},")",[30,331,187],{"style":36},[30,333,334],{"style":183}," Middleware",[30,336,51],{"style":40},[202,338,339,348],{},[205,340,207,341,343,344,347],{},[26,342,141],{},". ",[26,345,346],{},"Middleware"," is h3's type. Needs h3 2.0.8 or later.",[205,349,350,351,238],{},"Use: ",[26,352,353],{},"new H3().use(middleware(site))",[148,355,358],{"id":113,"anchor":356},{"label":357,"icon":153},"Section titled \"WhoAsks\"","WhoAsks",[21,360,361],{"language":23,"class":24,"wrap":15},[26,362,363,52,373,52,406,52,443,52,450,52,462,52,484,52,496,52,514,52,521,52,531,52,567,52,581],{"class":28},[30,364,365,368,370],{"class":32,"style":33},[30,366,367],{"style":36},"interface",[30,369,198],{"style":183},[30,371,372],{"style":40}," {",[30,374,375,378,381,383,386,388,391,393,397,400,403],{"class":32,"style":33},[30,376,377],{"style":36},"  readonly",[30,379,380],{"style":183}," forms",[30,382,187],{"style":36},[30,384,385],{"style":183}," Readonly",[30,387,269],{"style":40},[30,389,390],{"style":183},"Record",[30,392,269],{"style":40},[30,394,396],{"style":395},"color:#0550AE;--shiki-dark:#79C0FF","string",[30,398,399],{"style":40},", ",[30,401,402],{"style":183},"Form",[30,404,405],{"style":40},">>;",[30,407,408,411,413,416,418,421,423,426,428,431,434,436,438,441],{"class":32,"style":33},[30,409,410],{"style":173},"  ask",[30,412,177],{"style":40},[30,414,415],{"style":183},"request",[30,417,187],{"style":36},[30,419,420],{"style":183}," Request",[30,422,399],{"style":40},[30,424,425],{"style":183},"offers",[30,427,263],{"style":36},[30,429,430],{"style":36}," readonly",[30,432,433],{"style":395}," string",[30,435,193],{"style":40},[30,437,187],{"style":36},[30,439,440],{"style":183}," Ask",[30,442,51],{"style":40},[30,444,445,448],{"class":32,"style":33},[30,446,447],{"style":173},"  respond",[30,449,177],{"style":40},[30,451,452,455,457,459],{"class":32,"style":33},[30,453,454],{"style":183},"    request",[30,456,187],{"style":36},[30,458,420],{"style":183},[30,460,461],{"style":40},",",[30,463,464,467,469,472,474,476,478,481],{"class":32,"style":33},[30,465,466],{"style":183},"    renders",[30,468,187],{"style":36},[30,470,471],{"style":183}," Record",[30,473,269],{"style":40},[30,475,396],{"style":395},[30,477,399],{"style":40},[30,479,480],{"style":395},"unknown",[30,482,483],{"style":40},">,",[30,485,486,489,491,494],{"class":32,"style":33},[30,487,488],{"style":183},"    init",[30,490,263],{"style":36},[30,492,493],{"style":183}," ResponseInit",[30,495,461],{"style":40},[30,497,498,501,503,506,508,511],{"class":32,"style":33},[30,499,500],{"style":40},"  )",[30,502,187],{"style":36},[30,504,505],{"style":183}," Promise",[30,507,269],{"style":40},[30,509,510],{"style":183},"Response",[30,512,513],{"style":40},">;",[30,515,516,519],{"class":32,"style":33},[30,517,518],{"style":173},"  handle",[30,520,177],{"style":40},[30,522,523,525,527,529],{"class":32,"style":33},[30,524,454],{"style":183},[30,526,187],{"style":36},[30,528,420],{"style":183},[30,530,461],{"style":40},[30,532,533,536,538,541,543,545,547,550,553,556,559,561,563,565],{"class":32,"style":33},[30,534,535],{"style":173},"    next",[30,537,187],{"style":36},[30,539,540],{"style":40}," (",[30,542,415],{"style":183},[30,544,187],{"style":36},[30,546,420],{"style":183},[30,548,549],{"style":40},") ",[30,551,552],{"style":36},"=>",[30,554,555],{"style":183}," Response",[30,557,558],{"style":36}," |",[30,560,505],{"style":183},[30,562,269],{"style":40},[30,564,510],{"style":183},[30,566,483],{"style":40},[30,568,569,571,573,575,577,579],{"class":32,"style":33},[30,570,500],{"style":40},[30,572,187],{"style":36},[30,574,505],{"style":183},[30,576,269],{"style":40},[30,578,510],{"style":183},[30,580,513],{"style":40},[30,582,583],{"class":32,"style":33},[30,584,585],{"style":40},"}",[156,587,223],{"id":223,"anchor":588},{"label":589,"icon":153},"Section titled \"forms\"",[591,592,593,594,399,597,399,600,603],"p",{},"The merged forms: ",[26,595,596],{},"html",[26,598,599],{},"markdown",[26,601,602],{},"json",", plus what layers added.",[156,605,609],{"id":606,"anchor":607},"askrequest-offers",{"label":608,"icon":153},"Section titled \"ask(request, offers?)\"","ask(request, offers?)",[202,611,612,619,630,637],{},[205,613,614,615,618],{},"Synchronous. Reads the URL and the ",[26,616,617],{},"Accept"," header, then runs the hooks.",[205,620,621,623,624,626,627,629],{},[26,622,425],{}," lists form names, default first. Without it: ",[26,625,596],{},", then each form that has a renderer, then ",[26,628,599],{}," when a converter is set.",[205,631,632,633,636],{},"Throws ",[26,634,635],{},"whoasks: no form named \"\u003Cname>\""," for an offer that is not a form.",[205,638,639,640,238],{},"See ",[234,641,643],{"href":642},"\u002Fguide\u002Fnegotiation","Negotiation",[156,645,649],{"id":646,"anchor":647},"respondrequest-renders-init",{"label":648,"icon":153},"Section titled \"respond(request, renders, init?)\"","respond(request, renders, init?)",[202,651,652,659,669,681,686,691],{},[205,653,654,655,658],{},"The keys of ",[26,656,657],{},"renders"," are the offers, and the first is the default.",[205,660,661,662,664,665,668],{},"A value is a string, a ",[26,663,510],{},", anything ",[26,666,667],{},"JSON.stringify"," takes, or a function returning one of those.",[205,670,671,672,674,675,677,678,680],{},"With ",[26,673,596],{}," and no ",[26,676,599],{},", and a converter set, it also offers ",[26,679,599],{}," made from the HTML.",[205,682,671,683,685],{},[26,684,231],{},", answers 406 when nothing offered is acceptable.",[205,687,632,688,690],{},[26,689,635],{}," for a key that is not a form.",[205,692,639,693,238],{},[234,694,696],{"href":695},"\u002Fguide\u002Fapi-routes","API routes",[156,698,702],{"id":699,"anchor":700},"handlerequest-next",{"label":701,"icon":153},"Section titled \"handle(request, next)\"","handle(request, next)",[202,704,705,714,720,723],{},[205,706,707,710,711,238],{},[26,708,709],{},"next"," is the app. It gets the request it should answer: the original one, or the canonical URL for a twin or ",[26,712,713],{},"?format=",[205,715,716,717,719],{},"Passes any method but GET and HEAD to ",[26,718,709],{}," untouched.",[205,721,722],{},"Never answers 406.",[205,724,639,725,238],{},[234,726,728],{"href":727},"\u002Fguide\u002Fpages","Pages",[148,730,734],{"id":731,"anchor":732},"response-headers",{"label":733,"icon":153},"Section titled \"Response headers\"","Response headers",[88,736,737,747],{},[91,738,739],{},[94,740,741,744],{},[97,742,743],{},"Header",[97,745,746],{},"Set by whoasks",[104,748,749,770,784,800],{},[94,750,751,756],{},[109,752,753],{},[26,754,755],{},"Content-Type",[109,757,758,759,762,763,766,767,769],{},"The picked type. ",[26,760,761],{},"; charset=utf-8"," is added to ",[26,764,765],{},"text\u002F*"," types. Not changed on a ",[26,768,510],{}," you return",[94,771,772,777],{},[109,773,774],{},[26,775,776],{},"Vary",[109,778,779,780,783],{},"Each entry of ",[26,781,782],{},"ask.vary",", once. Existing values are kept",[94,785,786,797],{},[109,787,788,399,791,399,794],{},[26,789,790],{},"Content-Length",[26,792,793],{},"Content-Encoding",[26,795,796],{},"ETag",[109,798,799],{},"Removed from a page that was converted",[94,801,802,805],{},[109,803,804],{},"Status",[109,806,807,808,811,812,814,815],{},"Kept from the app's page, from ",[26,809,810],{},"init",", or from a ",[26,813,510],{}," you return. 406 only from a strict ",[26,816,817],{},"respond",[148,819,823],{"id":820,"anchor":821},"ask",{"label":822,"icon":153},"Section titled \"Ask\"","Ask",[21,825,826],{"language":23,"class":24,"wrap":15},[26,827,828,52,836,52,847,52,858,52,890,52,902,52,914,52,926],{"class":28},[30,829,830,832,834],{"class":32,"style":33},[30,831,367],{"style":36},[30,833,440],{"style":183},[30,835,372],{"style":40},[30,837,838,841,843,845],{"class":32,"style":33},[30,839,840],{"style":183},"  form",[30,842,187],{"style":36},[30,844,433],{"style":395},[30,846,51],{"style":40},[30,848,849,852,854,856],{"class":32,"style":33},[30,850,851],{"style":183},"  type",[30,853,187],{"style":36},[30,855,433],{"style":395},[30,857,51],{"style":40},[30,859,860,863,865,868,870,873,875,878,880,883,885,888],{"class":32,"style":33},[30,861,862],{"style":183},"  reason",[30,864,187],{"style":36},[30,866,867],{"style":47}," \"twin\"",[30,869,558],{"style":36},[30,871,872],{"style":47}," \"query\"",[30,874,558],{"style":36},[30,876,877],{"style":47}," \"accept\"",[30,879,558],{"style":36},[30,881,882],{"style":47}," \"default\"",[30,884,558],{"style":36},[30,886,887],{"style":47}," \"layer\"",[30,889,51],{"style":40},[30,891,892,895,897,900],{"class":32,"style":33},[30,893,894],{"style":183},"  acceptable",[30,896,187],{"style":36},[30,898,899],{"style":395}," boolean",[30,901,51],{"style":40},[30,903,904,907,909,912],{"class":32,"style":33},[30,905,906],{"style":183},"  url",[30,908,187],{"style":36},[30,910,911],{"style":183}," URL",[30,913,51],{"style":40},[30,915,916,919,921,923],{"class":32,"style":33},[30,917,918],{"style":183},"  vary",[30,920,187],{"style":36},[30,922,433],{"style":395},[30,924,925],{"style":40},"[];",[30,927,928],{"class":32,"style":33},[30,929,585],{"style":40},[88,931,932,942],{},[91,933,934],{},[94,935,936,939],{},[97,937,938],{},"Field",[97,940,941],{},"Meaning",[104,943,944,954,964,978,988,1000],{},[94,945,946,951],{},[109,947,948],{},[26,949,950],{},"form",[109,952,953],{},"Name of the picked form",[94,955,956,961],{},[109,957,958],{},[26,959,960],{},"type",[109,962,963],{},"Media type to send, without parameters",[94,965,966,971],{},[109,967,968],{},[26,969,970],{},"reason",[109,972,973,974],{},"What decided. See ",[234,975,977],{"href":976},"\u002Fguide\u002Fnegotiation#read-the-pick","Read the pick",[94,979,980,985],{},[109,981,982],{},[26,983,984],{},"acceptable",[109,986,987],{},"False when the request allowed none of the offered types",[94,989,990,995],{},[109,991,992],{},[26,993,994],{},"url",[109,996,997,998],{},"The request URL without the twin suffix and without ",[26,999,713],{},[94,1001,1002,1007],{},[109,1003,1004],{},[26,1005,1006],{},"vary",[109,1008,1009,1010],{},"Request headers the pick depended on. Starts as ",[26,1011,1012],{},"[\"Accept\"]",[148,1014,402],{"id":950,"anchor":1015},{"label":1016,"icon":153},"Section titled \"Form\"",[21,1018,1019],{"language":23,"class":24,"wrap":15},[26,1020,1021,52,1030,52,1043,52,1054],{"class":28},[30,1022,1023,1025,1028],{"class":32,"style":33},[30,1024,367],{"style":36},[30,1026,1027],{"style":183}," Form",[30,1029,372],{"style":40},[30,1031,1032,1035,1037,1039,1041],{"class":32,"style":33},[30,1033,1034],{"style":183},"  types",[30,1036,187],{"style":36},[30,1038,430],{"style":36},[30,1040,433],{"style":395},[30,1042,925],{"style":40},[30,1044,1045,1048,1050,1052],{"class":32,"style":33},[30,1046,1047],{"style":183},"  ext",[30,1049,263],{"style":36},[30,1051,433],{"style":395},[30,1053,51],{"style":40},[30,1055,1056],{"class":32,"style":33},[30,1057,585],{"style":40},[88,1059,1060,1068],{},[91,1061,1062],{},[94,1063,1064,1066],{},[97,1065,938],{},[97,1067,941],{},[104,1069,1070,1083],{},[94,1071,1072,1077],{},[109,1073,1074],{},[26,1075,1076],{},"types",[109,1078,1079,1080,1082],{},"Media types that name this form in ",[26,1081,617],{},". A wildcard or a URL override gets the first",[94,1084,1085,1090],{},[109,1086,1087],{},[26,1088,1089],{},"ext",[109,1091,1092,1093,1096,1097,1099],{},"Suffix of the twin URL, such as ",[26,1094,1095],{},".md",". Without the dot it is also a ",[26,1098,713],{}," value",[591,1101,1102],{},"Built-in forms:",[88,1104,1105,1118],{},[91,1106,1107],{},[94,1108,1109,1111,1114],{},[97,1110,402],{},[97,1112,1113],{},"Media types",[97,1115,1116],{},[26,1117,1089],{},[104,1119,1120,1134,1155],{},[94,1121,1122,1126,1131],{},[109,1123,1124],{},[26,1125,596],{},[109,1127,1128],{},[26,1129,1130],{},"text\u002Fhtml",[109,1132,1133],{},"none",[94,1135,1136,1140,1151],{},[109,1137,1138],{},[26,1139,599],{},[109,1141,1142,399,1145,399,1148],{},[26,1143,1144],{},"text\u002Fmarkdown",[26,1146,1147],{},"text\u002Fx-markdown",[26,1149,1150],{},"text\u002Fplain",[109,1152,1153],{},[26,1154,1095],{},[94,1156,1157,1161,1166],{},[109,1158,1159],{},[26,1160,602],{},[109,1162,1163],{},[26,1164,1165],{},"application\u002Fjson",[109,1167,1133],{},[148,1169,1173],{"id":1170,"anchor":1171},"layer",{"label":1172,"icon":153},"Section titled \"Layer\"","Layer",[21,1175,1176],{"language":23,"class":24,"wrap":15},[26,1177,1178,52,1186,52,1205,52,1225,52,1289,52,1305,52,1316],{"class":28},[30,1179,1180,1182,1184],{"class":32,"style":33},[30,1181,367],{"style":36},[30,1183,190],{"style":183},[30,1185,372],{"style":40},[30,1187,1188,1191,1193,1195,1197,1199,1201,1203],{"class":32,"style":33},[30,1189,1190],{"style":183},"  forms",[30,1192,263],{"style":36},[30,1194,471],{"style":183},[30,1196,269],{"style":40},[30,1198,396],{"style":395},[30,1200,399],{"style":40},[30,1202,402],{"style":183},[30,1204,513],{"style":40},[30,1206,1207,1210,1212,1214,1216,1218,1220,1223],{"class":32,"style":33},[30,1208,1209],{"style":183},"  render",[30,1211,263],{"style":36},[30,1213,471],{"style":183},[30,1215,269],{"style":40},[30,1217,396],{"style":395},[30,1219,399],{"style":40},[30,1221,1222],{"style":183},"Render",[30,1224,513],{"style":40},[30,1226,1227,1229,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1259,1261,1263,1265,1268,1270,1273,1275,1278,1281,1284,1287],{"class":32,"style":33},[30,1228,410],{"style":173},[30,1230,1231],{"style":36},"?",[30,1233,177],{"style":40},[30,1235,820],{"style":183},[30,1237,187],{"style":36},[30,1239,440],{"style":183},[30,1241,399],{"style":40},[30,1243,415],{"style":183},[30,1245,187],{"style":36},[30,1247,420],{"style":183},[30,1249,329],{"style":40},[30,1251,187],{"style":36},[30,1253,266],{"style":183},[30,1255,269],{"style":40},[30,1257,1258],{"style":183},"Pick",[30,1260,269],{"style":40},[30,1262,823],{"style":183},[30,1264,399],{"style":40},[30,1266,1267],{"style":47},"\"form\"",[30,1269,558],{"style":36},[30,1271,1272],{"style":47}," \"type\"",[30,1274,558],{"style":36},[30,1276,1277],{"style":47}," \"vary\"",[30,1279,1280],{"style":40},">> ",[30,1282,1283],{"style":36},"|",[30,1285,1286],{"style":395}," void",[30,1288,51],{"style":40},[30,1290,1291,1294,1296,1298,1300,1303],{"class":32,"style":33},[30,1292,1293],{"style":183},"  convert",[30,1295,263],{"style":36},[30,1297,280],{"style":183},[30,1299,558],{"style":36},[30,1301,1302],{"style":395}," false",[30,1304,51],{"style":40},[30,1306,1307,1310,1312,1314],{"class":32,"style":33},[30,1308,1309],{"style":183},"  strict",[30,1311,263],{"style":36},[30,1313,899],{"style":395},[30,1315,51],{"style":40},[30,1317,1318],{"class":32,"style":33},[30,1319,585],{"style":40},[88,1321,1322,1333],{},[91,1323,1324],{},[94,1325,1326,1328,1330],{},[97,1327,938],{},[97,1329,941],{},[97,1331,1332],{},"Default",[104,1334,1335,1347,1364,1375,1399],{},[94,1336,1337,1341,1344],{},[109,1338,1339],{},[26,1340,223],{},[109,1342,1343],{},"Add a form, or replace a built-in one by name",[109,1345,1346],{},"The three built-in forms",[94,1348,1349,1354,1361],{},[109,1350,1351],{},[26,1352,1353],{},"render",[109,1355,1356,1357,1360],{},"Produce a form for a URL in ",[26,1358,1359],{},"handle",". Keyed by form name",[109,1362,1363],{},"None",[94,1365,1366,1370,1373],{},[109,1367,1368],{},[26,1369,820],{},[109,1371,1372],{},"Change the pick. A change the request did not allow is dropped",[109,1374,1363],{},[94,1376,1377,1381,1388],{},[109,1378,1379],{},[26,1380,227],{},[109,1382,1383,1384,1387],{},"The HTML to Markdown converter, or ",[26,1385,1386],{},"false"," for none",[109,1389,1390,1393,1394,1396,1397],{},[26,1391,1392],{},"mdream()"," from ",[26,1395,113],{},", none from ",[26,1398,129],{},[94,1400,1401,1405,1411],{},[109,1402,1403],{},[26,1404,231],{},[109,1406,1407,1408,1410],{},"In ",[26,1409,817],{},", answer 406 when the request allowed nothing offered",[109,1412,1413],{},[26,1414,1386],{},[591,1416,639,1417,238],{},[234,1418,1420],{"href":1419},"\u002Fguide\u002Flayers","Layers",[148,1422,1426],{"id":1423,"anchor":1424},"render-and-rendercontext",{"label":1425,"icon":153},"Section titled \"Render and RenderContext\"","Render and RenderContext",[21,1428,1429],{"language":23,"class":24,"wrap":15},[26,1430,1431,52,1443,52,1455,52,1499,52,1501,52,1509,52,1520,52,1530,52,1548],{"class":28},[30,1432,1433,1435,1438,1441],{"class":32,"style":33},[30,1434,960],{"style":36},[30,1436,1437],{"style":183}," Render",[30,1439,1440],{"style":36}," =",[30,1442,540],{"style":40},[30,1444,1445,1448,1450,1453],{"class":32,"style":33},[30,1446,1447],{"style":183},"  ctx",[30,1449,187],{"style":36},[30,1451,1452],{"style":183}," RenderContext",[30,1454,461],{"style":40},[30,1456,1457,1459,1461,1463,1465,1467,1469,1472,1474,1477,1479,1481,1483,1485,1487,1489,1491,1493,1495,1497],{"class":32,"style":33},[30,1458,549],{"style":40},[30,1460,552],{"style":36},[30,1462,433],{"style":395},[30,1464,558],{"style":36},[30,1466,555],{"style":183},[30,1468,558],{"style":36},[30,1470,1471],{"style":395}," null",[30,1473,558],{"style":36},[30,1475,1476],{"style":395}," undefined",[30,1478,558],{"style":36},[30,1480,505],{"style":183},[30,1482,269],{"style":40},[30,1484,396],{"style":395},[30,1486,558],{"style":36},[30,1488,555],{"style":183},[30,1490,558],{"style":36},[30,1492,1471],{"style":395},[30,1494,558],{"style":36},[30,1496,1476],{"style":395},[30,1498,513],{"style":40},[30,1500],{"class":32,"style":33},[30,1502,1503,1505,1507],{"class":32,"style":33},[30,1504,367],{"style":36},[30,1506,1452],{"style":183},[30,1508,372],{"style":40},[30,1510,1511,1514,1516,1518],{"class":32,"style":33},[30,1512,1513],{"style":183},"  request",[30,1515,187],{"style":36},[30,1517,420],{"style":183},[30,1519,51],{"style":40},[30,1521,1522,1524,1526,1528],{"class":32,"style":33},[30,1523,410],{"style":183},[30,1525,187],{"style":36},[30,1527,440],{"style":183},[30,1529,51],{"style":40},[30,1531,1532,1535,1538,1540,1542,1544,1546],{"class":32,"style":33},[30,1533,1534],{"style":173},"  next",[30,1536,1537],{"style":40},"()",[30,1539,187],{"style":36},[30,1541,505],{"style":183},[30,1543,269],{"style":40},[30,1545,510],{"style":183},[30,1547,513],{"style":40},[30,1549,1550],{"class":32,"style":33},[30,1551,585],{"style":40},[202,1553,1554,1557],{},[205,1555,1556],{},"Returns the body for a form, or nothing to let the next renderer try.",[205,1558,1559,1562,1563,1566],{},[26,1560,1561],{},"next()"," is the app's own response for ",[26,1564,1565],{},"ask.url",". The app runs once, and each call returns a fresh copy.",[148,1568,1571],{"id":227,"anchor":1569},{"label":1570,"icon":153},"Section titled \"Convert\"","Convert",[21,1573,1574],{"language":23,"class":24,"wrap":15},[26,1575,1576],{"class":28},[30,1577,1578,1580,1582,1584,1586,1588,1590,1592,1594,1597,1599,1602,1604,1606,1608,1611,1613,1615,1617,1620,1622,1624,1626,1628,1630,1632],{"class":32,"style":33},[30,1579,960],{"style":36},[30,1581,280],{"style":183},[30,1583,1440],{"style":36},[30,1585,540],{"style":40},[30,1587,596],{"style":183},[30,1589,187],{"style":36},[30,1591,433],{"style":395},[30,1593,399],{"style":40},[30,1595,1596],{"style":183},"ctx",[30,1598,187],{"style":36},[30,1600,1601],{"style":40}," { ",[30,1603,415],{"style":183},[30,1605,187],{"style":36},[30,1607,420],{"style":183},[30,1609,1610],{"style":40},"; ",[30,1612,994],{"style":183},[30,1614,187],{"style":36},[30,1616,911],{"style":183},[30,1618,1619],{"style":40}," }) ",[30,1621,552],{"style":36},[30,1623,433],{"style":395},[30,1625,558],{"style":36},[30,1627,505],{"style":183},[30,1629,269],{"style":40},[30,1631,396],{"style":395},[30,1633,513],{"style":40},[202,1635,1636],{},[205,1637,1638,1640,1641,1643],{},[26,1639,994],{}," is the canonical URL, ",[26,1642,415],{}," the request as it arrived.",[148,1645,1649],{"id":1646,"anchor":1647},"exported-types",{"label":1648,"icon":153},"Section titled \"Exported types\"","Exported types",[591,1651,1652,399,1654,399,1656,399,1658,399,1660,399,1662,1665,1666,1668,1669,1671,1672,238],{},[26,1653,823],{},[26,1655,1571],{},[26,1657,402],{},[26,1659,1173],{},[26,1661,1222],{},[26,1663,1664],{},"RenderContext"," and ",[26,1667,358],{}," are exported from ",[26,1670,113],{}," and from ",[26,1673,129],{},[1675,1682,1688,1689,1690,1691,1692,1693,1694],{"id":150,"depth":1676,"text":154,"children":1677},2,[1678,1680,1681],{"id":158,"depth":1679,"text":161},3,{"id":241,"depth":1679,"text":244},{"id":303,"depth":1679,"text":306},{"id":113,"depth":1676,"text":358,"children":1683},[1684,1685,1686,1687],{"id":223,"depth":1679,"text":223},{"id":606,"depth":1679,"text":609},{"id":646,"depth":1679,"text":649},{"id":699,"depth":1679,"text":702},{"id":731,"depth":1676,"text":734},{"id":820,"depth":1676,"text":823},{"id":950,"depth":1676,"text":402},{"id":1170,"depth":1676,"text":1173},{"id":1423,"depth":1676,"text":1426},{"id":227,"depth":1676,"text":1571},{"id":1646,"depth":1676,"text":1649},1796579202028,"78c9ee36-381e-45a5-bdf8-02819f0a7eb0"]