[{"data":1,"prerenderedAt":3531},["Reactive",2],{"navigation":3,"docs-/recipes/hooks":164,"docs-/recipes/hooks-surround":1140},[4,20,45,67,92,102,115],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Edge Channel","/get-started/edge-channel",{"title":18,"_path":19},"Migration","/get-started/from-v1",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30,33,36,39,42],{"title":25,"_path":26},"Content Directory","/usage/content-directory",{"title":28,"_path":29},"Markdown","/usage/markdown",{"title":31,"_path":32},"JSON, YAML, CSV","/usage/files",{"title":34,"_path":35},"Render Content","/usage/render",{"title":37,"_path":38},"Search","/usage/search",{"title":40,"_path":41},"Fetch Navigation","/usage/navigation",{"title":43,"_path":44},"TypeScript Support","/usage/typescript",{"title":46,"_path":47,"children":48},"Composables","/composables",[49,52,55,58,61,64],{"title":50,"_path":51},"queryContent()","/composables/query-content",{"title":53,"_path":54},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":56,"_path":57},"useContentHead()","/composables/use-content-head",{"title":59,"_path":60},"useContentHelpers()","/composables/use-content-helpers",{"title":62,"_path":63},"useUnwrap()","/composables/use-unwrap",{"title":65,"_path":66},"searchContent()","/composables/search-content",{"title":68,"_path":69,"children":70},"Components","/components",[71,74,77,80,83,86,89],{"title":72,"_path":73},"\u003CContentDoc>","/components/content-doc",{"title":75,"_path":76},"\u003CContentRenderer>","/components/content-renderer",{"title":78,"_path":79},"\u003CContentList>","/components/content-list",{"title":81,"_path":82},"\u003CContentNavigation>","/components/content-navigation",{"title":84,"_path":85},"\u003CContentQuery>","/components/content-query",{"title":87,"_path":88},"\u003CContentSlot>","/components/content-slot",{"title":90,"_path":91},"Prose Components","/components/prose",{"title":93,"_path":94,"children":95},"Document Driven","/document-driven",[96,99],{"title":97,"_path":98},"Introduction","/document-driven/introduction",{"title":100,"_path":101},"useContent()","/document-driven/use-content",{"title":103,"_path":104,"children":105},"Recipes","/recipes",[106,109,112],{"title":107,"_path":108},"Hooks","/recipes/hooks",{"title":110,"_path":111},"Transformers","/recipes/transformers",{"title":113,"_path":114},"Sitemap","/recipes/sitemap",{"title":116,"_path":117,"children":118},"V1","/v1",[119,141,154],{"title":120,"_path":121,"children":122},"Getting Started","/v1/getting-started",[123,125,127,130,133,136,138],{"title":97,"_path":124},"/v1/getting-started/introduction",{"title":9,"_path":126},"/v1/getting-started/installation",{"title":128,"_path":129},"Writing content","/v1/getting-started/writing",{"title":131,"_path":132},"Fetching content","/v1/getting-started/fetching",{"title":134,"_path":135},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":137},"/v1/getting-started/configuration",{"title":139,"_path":140},"Advanced","/v1/getting-started/advanced",{"title":142,"_path":143,"children":144},"Examples","/v1/examples",[145,148,151],{"title":146,"_path":147},"Basic Usage","/v1/examples/basic",{"title":149,"_path":150},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":152,"_path":153},"Docs Theme","/v1/examples/docs-theme",{"title":155,"_path":156,"children":157},"Community","/v1/community",[158,161],{"title":159,"_path":160},"Snippets","/v1/community/snippets",{"title":162,"_path":163},"Integrations","/v1/community/integrations",{"_path":108,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":107,"description":168,"body":169,"_type":1135,"_id":1136,"_source":1137,"_file":1138,"_extension":1139},"recipes",false,"","Nuxt Content exposes hooks to allow you to modify the content before it is parsed and after it is parsed.",{"type":170,"children":171,"toc":1131},"root",[172,180,202,214,305,315,320,329,344,352,357,661,670,675,685,697,704,709,1125],{"type":173,"tag":174,"props":175,"children":176},"element","p",{},[177],{"type":178,"value":179},"text","The module adds some hooks you can use:",{"type":173,"tag":174,"props":181,"children":182},{},[183,189,191,200],{"type":173,"tag":184,"props":185,"children":186},"code",{"className":167},[187],{"type":178,"value":188},"content:file:*",{"type":178,"value":190}," hooks are available in nitro runtime, in order to use them you need to create a custom ",{"type":173,"tag":192,"props":193,"children":197},"a",{"href":194,"rel":195},"https://nitro.unjs.io/guide/plugins",[196],"nofollow",[198],{"type":178,"value":199},"nitro plugin",{"type":178,"value":201},".",{"type":173,"tag":174,"props":203,"children":204},{},[205,207,212],{"type":178,"value":206},"Create a plugin in the ",{"type":173,"tag":184,"props":208,"children":209},{"className":167},[210],{"type":178,"value":211},"server/plugins/",{"type":178,"value":213}," directory",{"type":173,"tag":215,"props":216,"children":221},"pre",{"className":217,"code":218,"filename":219,"language":220,"meta":167,"style":167},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNitroPlugin((nitroApp) => {\n  // ...\n})\n","server/plugins/content.ts","ts",[222],{"type":173,"tag":184,"props":223,"children":224},{"__ignoreMap":167},[225,281,291],{"type":173,"tag":226,"props":227,"children":230},"span",{"class":228,"line":229},"line",1,[231,237,242,248,254,259,265,270,276],{"type":173,"tag":226,"props":232,"children":234},{"style":233},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[235],{"type":178,"value":236},"export",{"type":173,"tag":226,"props":238,"children":239},{"style":233},[240],{"type":178,"value":241}," default",{"type":173,"tag":226,"props":243,"children":245},{"style":244},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[246],{"type":178,"value":247}," defineNitroPlugin",{"type":173,"tag":226,"props":249,"children":251},{"style":250},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[252],{"type":178,"value":253},"(",{"type":173,"tag":226,"props":255,"children":257},{"style":256},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[258],{"type":178,"value":253},{"type":173,"tag":226,"props":260,"children":262},{"style":261},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[263],{"type":178,"value":264},"nitroApp",{"type":173,"tag":226,"props":266,"children":267},{"style":256},[268],{"type":178,"value":269},")",{"type":173,"tag":226,"props":271,"children":273},{"style":272},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[274],{"type":178,"value":275}," =>",{"type":173,"tag":226,"props":277,"children":278},{"style":256},[279],{"type":178,"value":280}," {\n",{"type":173,"tag":226,"props":282,"children":284},{"class":228,"line":283},2,[285],{"type":173,"tag":226,"props":286,"children":288},{"style":287},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[289],{"type":178,"value":290},"  // ...\n",{"type":173,"tag":226,"props":292,"children":294},{"class":228,"line":293},3,[295,300],{"type":173,"tag":226,"props":296,"children":297},{"style":256},[298],{"type":178,"value":299},"}",{"type":173,"tag":226,"props":301,"children":302},{"style":250},[303],{"type":178,"value":304},")\n",{"type":173,"tag":306,"props":307,"children":309},"h2",{"id":308},"contentfilebeforeparse",[310],{"type":173,"tag":184,"props":311,"children":312},{"className":167},[313],{"type":178,"value":314},"content:file:beforeParse",{"type":173,"tag":174,"props":316,"children":317},{},[318],{"type":178,"value":319},"Allows you to modify the contents of a file before it is handled by the parsers.",{"type":173,"tag":174,"props":321,"children":322},{},[323],{"type":173,"tag":324,"props":325,"children":326},"strong",{},[327],{"type":178,"value":328},"Arguments:",{"type":173,"tag":330,"props":331,"children":332},"ul",{},[333],{"type":173,"tag":334,"props":335,"children":336},"li",{},[337,339],{"type":178,"value":338},"file: ",{"type":173,"tag":184,"props":340,"children":341},{"className":167},[342],{"type":178,"value":343},"{ _id: string, body: string }",{"type":173,"tag":174,"props":345,"children":346},{},[347],{"type":173,"tag":324,"props":348,"children":349},{},[350],{"type":178,"value":351},"Example:",{"type":173,"tag":174,"props":353,"children":354},{},[355],{"type":178,"value":356},"Changing all occurrences of React to Vue in all Markdown files:",{"type":173,"tag":215,"props":358,"children":360},{"className":217,"code":359,"filename":219,"language":220,"meta":167,"style":167},"export default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('content:file:beforeParse', (file) => {\n    if (file._id.endsWith('.md')) {\n      file.body = file.body.replace(/react/g, 'vue')\n    }\n  })\n})\n",[361],{"type":173,"tag":184,"props":362,"children":363},{"__ignoreMap":167},[364,403,475,536,627,636,649],{"type":173,"tag":226,"props":365,"children":366},{"class":228,"line":229},[367,371,375,379,383,387,391,395,399],{"type":173,"tag":226,"props":368,"children":369},{"style":233},[370],{"type":178,"value":236},{"type":173,"tag":226,"props":372,"children":373},{"style":233},[374],{"type":178,"value":241},{"type":173,"tag":226,"props":376,"children":377},{"style":244},[378],{"type":178,"value":247},{"type":173,"tag":226,"props":380,"children":381},{"style":250},[382],{"type":178,"value":253},{"type":173,"tag":226,"props":384,"children":385},{"style":256},[386],{"type":178,"value":253},{"type":173,"tag":226,"props":388,"children":389},{"style":261},[390],{"type":178,"value":264},{"type":173,"tag":226,"props":392,"children":393},{"style":256},[394],{"type":178,"value":269},{"type":173,"tag":226,"props":396,"children":397},{"style":272},[398],{"type":178,"value":275},{"type":173,"tag":226,"props":400,"children":401},{"style":256},[402],{"type":178,"value":280},{"type":173,"tag":226,"props":404,"children":405},{"class":228,"line":283},[406,411,415,420,424,429,434,439,444,448,453,458,463,467,471],{"type":173,"tag":226,"props":407,"children":408},{"style":250},[409],{"type":178,"value":410},"  nitroApp",{"type":173,"tag":226,"props":412,"children":413},{"style":256},[414],{"type":178,"value":201},{"type":173,"tag":226,"props":416,"children":417},{"style":250},[418],{"type":178,"value":419},"hooks",{"type":173,"tag":226,"props":421,"children":422},{"style":256},[423],{"type":178,"value":201},{"type":173,"tag":226,"props":425,"children":426},{"style":244},[427],{"type":178,"value":428},"hook",{"type":173,"tag":226,"props":430,"children":432},{"style":431},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[433],{"type":178,"value":253},{"type":173,"tag":226,"props":435,"children":436},{"style":256},[437],{"type":178,"value":438},"'",{"type":173,"tag":226,"props":440,"children":442},{"style":441},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[443],{"type":178,"value":314},{"type":173,"tag":226,"props":445,"children":446},{"style":256},[447],{"type":178,"value":438},{"type":173,"tag":226,"props":449,"children":450},{"style":256},[451],{"type":178,"value":452},",",{"type":173,"tag":226,"props":454,"children":455},{"style":256},[456],{"type":178,"value":457}," (",{"type":173,"tag":226,"props":459,"children":460},{"style":261},[461],{"type":178,"value":462},"file",{"type":173,"tag":226,"props":464,"children":465},{"style":256},[466],{"type":178,"value":269},{"type":173,"tag":226,"props":468,"children":469},{"style":272},[470],{"type":178,"value":275},{"type":173,"tag":226,"props":472,"children":473},{"style":256},[474],{"type":178,"value":280},{"type":173,"tag":226,"props":476,"children":477},{"class":228,"line":293},[478,483,487,491,495,500,504,509,513,517,522,526,531],{"type":173,"tag":226,"props":479,"children":480},{"style":233},[481],{"type":178,"value":482},"    if",{"type":173,"tag":226,"props":484,"children":485},{"style":431},[486],{"type":178,"value":457},{"type":173,"tag":226,"props":488,"children":489},{"style":250},[490],{"type":178,"value":462},{"type":173,"tag":226,"props":492,"children":493},{"style":256},[494],{"type":178,"value":201},{"type":173,"tag":226,"props":496,"children":497},{"style":250},[498],{"type":178,"value":499},"_id",{"type":173,"tag":226,"props":501,"children":502},{"style":256},[503],{"type":178,"value":201},{"type":173,"tag":226,"props":505,"children":506},{"style":244},[507],{"type":178,"value":508},"endsWith",{"type":173,"tag":226,"props":510,"children":511},{"style":431},[512],{"type":178,"value":253},{"type":173,"tag":226,"props":514,"children":515},{"style":256},[516],{"type":178,"value":438},{"type":173,"tag":226,"props":518,"children":519},{"style":441},[520],{"type":178,"value":521},".md",{"type":173,"tag":226,"props":523,"children":524},{"style":256},[525],{"type":178,"value":438},{"type":173,"tag":226,"props":527,"children":528},{"style":431},[529],{"type":178,"value":530},")) ",{"type":173,"tag":226,"props":532,"children":533},{"style":256},[534],{"type":178,"value":535},"{\n",{"type":173,"tag":226,"props":537,"children":539},{"class":228,"line":538},4,[540,545,549,554,559,564,568,572,576,581,585,590,595,599,605,609,614,619,623],{"type":173,"tag":226,"props":541,"children":542},{"style":250},[543],{"type":178,"value":544},"      file",{"type":173,"tag":226,"props":546,"children":547},{"style":256},[548],{"type":178,"value":201},{"type":173,"tag":226,"props":550,"children":551},{"style":250},[552],{"type":178,"value":553},"body",{"type":173,"tag":226,"props":555,"children":556},{"style":256},[557],{"type":178,"value":558}," =",{"type":173,"tag":226,"props":560,"children":561},{"style":250},[562],{"type":178,"value":563}," file",{"type":173,"tag":226,"props":565,"children":566},{"style":256},[567],{"type":178,"value":201},{"type":173,"tag":226,"props":569,"children":570},{"style":250},[571],{"type":178,"value":553},{"type":173,"tag":226,"props":573,"children":574},{"style":256},[575],{"type":178,"value":201},{"type":173,"tag":226,"props":577,"children":578},{"style":244},[579],{"type":178,"value":580},"replace",{"type":173,"tag":226,"props":582,"children":583},{"style":431},[584],{"type":178,"value":253},{"type":173,"tag":226,"props":586,"children":587},{"style":256},[588],{"type":178,"value":589},"/",{"type":173,"tag":226,"props":591,"children":592},{"style":441},[593],{"type":178,"value":594},"react",{"type":173,"tag":226,"props":596,"children":597},{"style":256},[598],{"type":178,"value":589},{"type":173,"tag":226,"props":600,"children":602},{"style":601},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[603],{"type":178,"value":604},"g",{"type":173,"tag":226,"props":606,"children":607},{"style":256},[608],{"type":178,"value":452},{"type":173,"tag":226,"props":610,"children":611},{"style":256},[612],{"type":178,"value":613}," '",{"type":173,"tag":226,"props":615,"children":616},{"style":441},[617],{"type":178,"value":618},"vue",{"type":173,"tag":226,"props":620,"children":621},{"style":256},[622],{"type":178,"value":438},{"type":173,"tag":226,"props":624,"children":625},{"style":431},[626],{"type":178,"value":304},{"type":173,"tag":226,"props":628,"children":630},{"class":228,"line":629},5,[631],{"type":173,"tag":226,"props":632,"children":633},{"style":256},[634],{"type":178,"value":635},"    }\n",{"type":173,"tag":226,"props":637,"children":639},{"class":228,"line":638},6,[640,645],{"type":173,"tag":226,"props":641,"children":642},{"style":256},[643],{"type":178,"value":644},"  }",{"type":173,"tag":226,"props":646,"children":647},{"style":431},[648],{"type":178,"value":304},{"type":173,"tag":226,"props":650,"children":652},{"class":228,"line":651},7,[653,657],{"type":173,"tag":226,"props":654,"children":655},{"style":256},[656],{"type":178,"value":299},{"type":173,"tag":226,"props":658,"children":659},{"style":250},[660],{"type":178,"value":304},{"type":173,"tag":306,"props":662,"children":664},{"id":663},"contentfileafterparse",[665],{"type":173,"tag":184,"props":666,"children":667},{"className":167},[668],{"type":178,"value":669},"content:file:afterParse",{"type":173,"tag":174,"props":671,"children":672},{},[673],{"type":178,"value":674},"Allows you to modify a document after being parsed by parsers.",{"type":173,"tag":174,"props":676,"children":677},{},[678,683],{"type":173,"tag":324,"props":679,"children":680},{},[681],{"type":178,"value":682},"Arguments",{"type":178,"value":684},":",{"type":173,"tag":330,"props":686,"children":687},{},[688],{"type":173,"tag":334,"props":689,"children":690},{},[691,692],{"type":178,"value":338},{"type":173,"tag":184,"props":693,"children":694},{"className":167},[695],{"type":178,"value":696},"{ _id: string, body: any }",{"type":173,"tag":174,"props":698,"children":699},{},[700],{"type":173,"tag":324,"props":701,"children":702},{},[703],{"type":178,"value":351},{"type":173,"tag":174,"props":705,"children":706},{},[707],{"type":178,"value":708},"Using content's first picture as cover image.",{"type":173,"tag":215,"props":710,"children":712},{"className":217,"code":711,"filename":219,"language":220,"meta":167,"style":167},"import { visit } from 'unist-util-visit'\n\nexport default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('content:file:afterParse', (file) => {\n    if (file._id.endsWith('.md')) {\n      visit(file.body, (n: any) => n.tag === 'img', (node) => {\n        file.coverImage = node.props.src\n      })\n    }\n  })\n})\n\n",[713],{"type":173,"tag":184,"props":714,"children":715},{"__ignoreMap":167},[716,758,767,806,869,924,1036,1080,1093,1101,1113],{"type":173,"tag":226,"props":717,"children":718},{"class":228,"line":229},[719,724,729,734,739,744,748,753],{"type":173,"tag":226,"props":720,"children":721},{"style":233},[722],{"type":178,"value":723},"import",{"type":173,"tag":226,"props":725,"children":726},{"style":256},[727],{"type":178,"value":728}," {",{"type":173,"tag":226,"props":730,"children":731},{"style":250},[732],{"type":178,"value":733}," visit",{"type":173,"tag":226,"props":735,"children":736},{"style":256},[737],{"type":178,"value":738}," }",{"type":173,"tag":226,"props":740,"children":741},{"style":233},[742],{"type":178,"value":743}," from",{"type":173,"tag":226,"props":745,"children":746},{"style":256},[747],{"type":178,"value":613},{"type":173,"tag":226,"props":749,"children":750},{"style":441},[751],{"type":178,"value":752},"unist-util-visit",{"type":173,"tag":226,"props":754,"children":755},{"style":256},[756],{"type":178,"value":757},"'\n",{"type":173,"tag":226,"props":759,"children":760},{"class":228,"line":283},[761],{"type":173,"tag":226,"props":762,"children":764},{"emptyLinePlaceholder":763},true,[765],{"type":178,"value":766},"\n",{"type":173,"tag":226,"props":768,"children":769},{"class":228,"line":293},[770,774,778,782,786,790,794,798,802],{"type":173,"tag":226,"props":771,"children":772},{"style":233},[773],{"type":178,"value":236},{"type":173,"tag":226,"props":775,"children":776},{"style":233},[777],{"type":178,"value":241},{"type":173,"tag":226,"props":779,"children":780},{"style":244},[781],{"type":178,"value":247},{"type":173,"tag":226,"props":783,"children":784},{"style":250},[785],{"type":178,"value":253},{"type":173,"tag":226,"props":787,"children":788},{"style":256},[789],{"type":178,"value":253},{"type":173,"tag":226,"props":791,"children":792},{"style":261},[793],{"type":178,"value":264},{"type":173,"tag":226,"props":795,"children":796},{"style":256},[797],{"type":178,"value":269},{"type":173,"tag":226,"props":799,"children":800},{"style":272},[801],{"type":178,"value":275},{"type":173,"tag":226,"props":803,"children":804},{"style":256},[805],{"type":178,"value":280},{"type":173,"tag":226,"props":807,"children":808},{"class":228,"line":538},[809,813,817,821,825,829,833,837,841,845,849,853,857,861,865],{"type":173,"tag":226,"props":810,"children":811},{"style":250},[812],{"type":178,"value":410},{"type":173,"tag":226,"props":814,"children":815},{"style":256},[816],{"type":178,"value":201},{"type":173,"tag":226,"props":818,"children":819},{"style":250},[820],{"type":178,"value":419},{"type":173,"tag":226,"props":822,"children":823},{"style":256},[824],{"type":178,"value":201},{"type":173,"tag":226,"props":826,"children":827},{"style":244},[828],{"type":178,"value":428},{"type":173,"tag":226,"props":830,"children":831},{"style":431},[832],{"type":178,"value":253},{"type":173,"tag":226,"props":834,"children":835},{"style":256},[836],{"type":178,"value":438},{"type":173,"tag":226,"props":838,"children":839},{"style":441},[840],{"type":178,"value":669},{"type":173,"tag":226,"props":842,"children":843},{"style":256},[844],{"type":178,"value":438},{"type":173,"tag":226,"props":846,"children":847},{"style":256},[848],{"type":178,"value":452},{"type":173,"tag":226,"props":850,"children":851},{"style":256},[852],{"type":178,"value":457},{"type":173,"tag":226,"props":854,"children":855},{"style":261},[856],{"type":178,"value":462},{"type":173,"tag":226,"props":858,"children":859},{"style":256},[860],{"type":178,"value":269},{"type":173,"tag":226,"props":862,"children":863},{"style":272},[864],{"type":178,"value":275},{"type":173,"tag":226,"props":866,"children":867},{"style":256},[868],{"type":178,"value":280},{"type":173,"tag":226,"props":870,"children":871},{"class":228,"line":629},[872,876,880,884,888,892,896,900,904,908,912,916,920],{"type":173,"tag":226,"props":873,"children":874},{"style":233},[875],{"type":178,"value":482},{"type":173,"tag":226,"props":877,"children":878},{"style":431},[879],{"type":178,"value":457},{"type":173,"tag":226,"props":881,"children":882},{"style":250},[883],{"type":178,"value":462},{"type":173,"tag":226,"props":885,"children":886},{"style":256},[887],{"type":178,"value":201},{"type":173,"tag":226,"props":889,"children":890},{"style":250},[891],{"type":178,"value":499},{"type":173,"tag":226,"props":893,"children":894},{"style":256},[895],{"type":178,"value":201},{"type":173,"tag":226,"props":897,"children":898},{"style":244},[899],{"type":178,"value":508},{"type":173,"tag":226,"props":901,"children":902},{"style":431},[903],{"type":178,"value":253},{"type":173,"tag":226,"props":905,"children":906},{"style":256},[907],{"type":178,"value":438},{"type":173,"tag":226,"props":909,"children":910},{"style":441},[911],{"type":178,"value":521},{"type":173,"tag":226,"props":913,"children":914},{"style":256},[915],{"type":178,"value":438},{"type":173,"tag":226,"props":917,"children":918},{"style":431},[919],{"type":178,"value":530},{"type":173,"tag":226,"props":921,"children":922},{"style":256},[923],{"type":178,"value":535},{"type":173,"tag":226,"props":925,"children":926},{"class":228,"line":638},[927,932,936,940,944,948,952,956,961,965,971,975,979,984,988,993,998,1002,1007,1011,1015,1019,1024,1028,1032],{"type":173,"tag":226,"props":928,"children":929},{"style":244},[930],{"type":178,"value":931},"      visit",{"type":173,"tag":226,"props":933,"children":934},{"style":431},[935],{"type":178,"value":253},{"type":173,"tag":226,"props":937,"children":938},{"style":250},[939],{"type":178,"value":462},{"type":173,"tag":226,"props":941,"children":942},{"style":256},[943],{"type":178,"value":201},{"type":173,"tag":226,"props":945,"children":946},{"style":250},[947],{"type":178,"value":553},{"type":173,"tag":226,"props":949,"children":950},{"style":256},[951],{"type":178,"value":452},{"type":173,"tag":226,"props":953,"children":954},{"style":256},[955],{"type":178,"value":457},{"type":173,"tag":226,"props":957,"children":958},{"style":261},[959],{"type":178,"value":960},"n",{"type":173,"tag":226,"props":962,"children":963},{"style":256},[964],{"type":178,"value":684},{"type":173,"tag":226,"props":966,"children":968},{"style":967},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[969],{"type":178,"value":970}," any",{"type":173,"tag":226,"props":972,"children":973},{"style":256},[974],{"type":178,"value":269},{"type":173,"tag":226,"props":976,"children":977},{"style":272},[978],{"type":178,"value":275},{"type":173,"tag":226,"props":980,"children":981},{"style":250},[982],{"type":178,"value":983}," n",{"type":173,"tag":226,"props":985,"children":986},{"style":256},[987],{"type":178,"value":201},{"type":173,"tag":226,"props":989,"children":990},{"style":250},[991],{"type":178,"value":992},"tag",{"type":173,"tag":226,"props":994,"children":995},{"style":256},[996],{"type":178,"value":997}," ===",{"type":173,"tag":226,"props":999,"children":1000},{"style":256},[1001],{"type":178,"value":613},{"type":173,"tag":226,"props":1003,"children":1004},{"style":441},[1005],{"type":178,"value":1006},"img",{"type":173,"tag":226,"props":1008,"children":1009},{"style":256},[1010],{"type":178,"value":438},{"type":173,"tag":226,"props":1012,"children":1013},{"style":256},[1014],{"type":178,"value":452},{"type":173,"tag":226,"props":1016,"children":1017},{"style":256},[1018],{"type":178,"value":457},{"type":173,"tag":226,"props":1020,"children":1021},{"style":261},[1022],{"type":178,"value":1023},"node",{"type":173,"tag":226,"props":1025,"children":1026},{"style":256},[1027],{"type":178,"value":269},{"type":173,"tag":226,"props":1029,"children":1030},{"style":272},[1031],{"type":178,"value":275},{"type":173,"tag":226,"props":1033,"children":1034},{"style":256},[1035],{"type":178,"value":280},{"type":173,"tag":226,"props":1037,"children":1038},{"class":228,"line":651},[1039,1044,1048,1053,1057,1062,1066,1071,1075],{"type":173,"tag":226,"props":1040,"children":1041},{"style":250},[1042],{"type":178,"value":1043},"        file",{"type":173,"tag":226,"props":1045,"children":1046},{"style":256},[1047],{"type":178,"value":201},{"type":173,"tag":226,"props":1049,"children":1050},{"style":250},[1051],{"type":178,"value":1052},"coverImage",{"type":173,"tag":226,"props":1054,"children":1055},{"style":256},[1056],{"type":178,"value":558},{"type":173,"tag":226,"props":1058,"children":1059},{"style":250},[1060],{"type":178,"value":1061}," node",{"type":173,"tag":226,"props":1063,"children":1064},{"style":256},[1065],{"type":178,"value":201},{"type":173,"tag":226,"props":1067,"children":1068},{"style":250},[1069],{"type":178,"value":1070},"props",{"type":173,"tag":226,"props":1072,"children":1073},{"style":256},[1074],{"type":178,"value":201},{"type":173,"tag":226,"props":1076,"children":1077},{"style":250},[1078],{"type":178,"value":1079},"src\n",{"type":173,"tag":226,"props":1081,"children":1083},{"class":228,"line":1082},8,[1084,1089],{"type":173,"tag":226,"props":1085,"children":1086},{"style":256},[1087],{"type":178,"value":1088},"      }",{"type":173,"tag":226,"props":1090,"children":1091},{"style":431},[1092],{"type":178,"value":304},{"type":173,"tag":226,"props":1094,"children":1096},{"class":228,"line":1095},9,[1097],{"type":173,"tag":226,"props":1098,"children":1099},{"style":256},[1100],{"type":178,"value":635},{"type":173,"tag":226,"props":1102,"children":1104},{"class":228,"line":1103},10,[1105,1109],{"type":173,"tag":226,"props":1106,"children":1107},{"style":256},[1108],{"type":178,"value":644},{"type":173,"tag":226,"props":1110,"children":1111},{"style":431},[1112],{"type":178,"value":304},{"type":173,"tag":226,"props":1114,"children":1116},{"class":228,"line":1115},11,[1117,1121],{"type":173,"tag":226,"props":1118,"children":1119},{"style":256},[1120],{"type":178,"value":299},{"type":173,"tag":226,"props":1122,"children":1123},{"style":250},[1124],{"type":178,"value":304},{"type":173,"tag":1126,"props":1127,"children":1128},"style",{},[1129],{"type":178,"value":1130},"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 .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.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 .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":167,"searchDepth":283,"depth":283,"links":1132},[1133,1134],{"id":308,"depth":283,"text":314},{"id":663,"depth":283,"text":669},"markdown","content:6.recipes:1.hooks.md","content","6.recipes/1.hooks.md","md",[1141,2310],{"_path":101,"_dir":1142,"_draft":166,"_partial":166,"_locale":167,"title":100,"description":1143,"body":1144,"_type":1135,"_id":2308,"_source":1137,"_file":2309,"_extension":1139},"document-driven","The useContent() composable gives access to the current page, surrounding pages and global data.",{"type":170,"children":1145,"toc":2303},[1146,1157,1407,1413,1418,1612,1618,1943,1949,2299],{"type":173,"tag":174,"props":1147,"children":1148},{},[1149,1151,1155],{"type":178,"value":1150},"When the document driven mode is enabled, ",{"type":173,"tag":184,"props":1152,"children":1153},{"className":167},[1154],{"type":178,"value":100},{"type":178,"value":1156}," is available everywhere in your app and gives access to a list of refs based on your content.",{"type":173,"tag":215,"props":1158,"children":1161},{"className":1159,"code":1160,"language":618,"meta":167,"style":167},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst {\n  // Global references\n  globals,\n  navigation,\n  surround,\n  page,\n  // Computed properties from `page` key\n  excerpt,\n  toc,\n  type,\n  layout,\n  // Computed properties from `surround` key\n  next,\n  prev\n} = useContent()\n\u003C/script>\n",[1162],{"type":173,"tag":184,"props":1163,"children":1164},{"__ignoreMap":167},[1165,1211,1223,1231,1244,1256,1268,1280,1288,1300,1312,1324,1337,1346,1359,1368,1390],{"type":173,"tag":226,"props":1166,"children":1167},{"class":228,"line":229},[1168,1173,1178,1183,1188,1193,1198,1202,1206],{"type":173,"tag":226,"props":1169,"children":1170},{"style":256},[1171],{"type":178,"value":1172},"\u003C",{"type":173,"tag":226,"props":1174,"children":1175},{"style":431},[1176],{"type":178,"value":1177},"script",{"type":173,"tag":226,"props":1179,"children":1180},{"style":272},[1181],{"type":178,"value":1182}," setup",{"type":173,"tag":226,"props":1184,"children":1185},{"style":272},[1186],{"type":178,"value":1187}," lang",{"type":173,"tag":226,"props":1189,"children":1190},{"style":256},[1191],{"type":178,"value":1192},"=",{"type":173,"tag":226,"props":1194,"children":1195},{"style":256},[1196],{"type":178,"value":1197},"\"",{"type":173,"tag":226,"props":1199,"children":1200},{"style":441},[1201],{"type":178,"value":220},{"type":173,"tag":226,"props":1203,"children":1204},{"style":256},[1205],{"type":178,"value":1197},{"type":173,"tag":226,"props":1207,"children":1208},{"style":256},[1209],{"type":178,"value":1210},">\n",{"type":173,"tag":226,"props":1212,"children":1213},{"class":228,"line":283},[1214,1219],{"type":173,"tag":226,"props":1215,"children":1216},{"style":272},[1217],{"type":178,"value":1218},"const",{"type":173,"tag":226,"props":1220,"children":1221},{"style":256},[1222],{"type":178,"value":280},{"type":173,"tag":226,"props":1224,"children":1225},{"class":228,"line":293},[1226],{"type":173,"tag":226,"props":1227,"children":1228},{"style":287},[1229],{"type":178,"value":1230},"  // Global references\n",{"type":173,"tag":226,"props":1232,"children":1233},{"class":228,"line":538},[1234,1239],{"type":173,"tag":226,"props":1235,"children":1236},{"style":250},[1237],{"type":178,"value":1238},"  globals",{"type":173,"tag":226,"props":1240,"children":1241},{"style":256},[1242],{"type":178,"value":1243},",\n",{"type":173,"tag":226,"props":1245,"children":1246},{"class":228,"line":629},[1247,1252],{"type":173,"tag":226,"props":1248,"children":1249},{"style":250},[1250],{"type":178,"value":1251},"  navigation",{"type":173,"tag":226,"props":1253,"children":1254},{"style":256},[1255],{"type":178,"value":1243},{"type":173,"tag":226,"props":1257,"children":1258},{"class":228,"line":638},[1259,1264],{"type":173,"tag":226,"props":1260,"children":1261},{"style":250},[1262],{"type":178,"value":1263},"  surround",{"type":173,"tag":226,"props":1265,"children":1266},{"style":256},[1267],{"type":178,"value":1243},{"type":173,"tag":226,"props":1269,"children":1270},{"class":228,"line":651},[1271,1276],{"type":173,"tag":226,"props":1272,"children":1273},{"style":250},[1274],{"type":178,"value":1275},"  page",{"type":173,"tag":226,"props":1277,"children":1278},{"style":256},[1279],{"type":178,"value":1243},{"type":173,"tag":226,"props":1281,"children":1282},{"class":228,"line":1082},[1283],{"type":173,"tag":226,"props":1284,"children":1285},{"style":287},[1286],{"type":178,"value":1287},"  // Computed properties from `page` key\n",{"type":173,"tag":226,"props":1289,"children":1290},{"class":228,"line":1095},[1291,1296],{"type":173,"tag":226,"props":1292,"children":1293},{"style":250},[1294],{"type":178,"value":1295},"  excerpt",{"type":173,"tag":226,"props":1297,"children":1298},{"style":256},[1299],{"type":178,"value":1243},{"type":173,"tag":226,"props":1301,"children":1302},{"class":228,"line":1103},[1303,1308],{"type":173,"tag":226,"props":1304,"children":1305},{"style":250},[1306],{"type":178,"value":1307},"  toc",{"type":173,"tag":226,"props":1309,"children":1310},{"style":256},[1311],{"type":178,"value":1243},{"type":173,"tag":226,"props":1313,"children":1314},{"class":228,"line":1115},[1315,1320],{"type":173,"tag":226,"props":1316,"children":1317},{"style":250},[1318],{"type":178,"value":1319},"  type",{"type":173,"tag":226,"props":1321,"children":1322},{"style":256},[1323],{"type":178,"value":1243},{"type":173,"tag":226,"props":1325,"children":1327},{"class":228,"line":1326},12,[1328,1333],{"type":173,"tag":226,"props":1329,"children":1330},{"style":250},[1331],{"type":178,"value":1332},"  layout",{"type":173,"tag":226,"props":1334,"children":1335},{"style":256},[1336],{"type":178,"value":1243},{"type":173,"tag":226,"props":1338,"children":1340},{"class":228,"line":1339},13,[1341],{"type":173,"tag":226,"props":1342,"children":1343},{"style":287},[1344],{"type":178,"value":1345},"  // Computed properties from `surround` key\n",{"type":173,"tag":226,"props":1347,"children":1349},{"class":228,"line":1348},14,[1350,1355],{"type":173,"tag":226,"props":1351,"children":1352},{"style":250},[1353],{"type":178,"value":1354},"  next",{"type":173,"tag":226,"props":1356,"children":1357},{"style":256},[1358],{"type":178,"value":1243},{"type":173,"tag":226,"props":1360,"children":1362},{"class":228,"line":1361},15,[1363],{"type":173,"tag":226,"props":1364,"children":1365},{"style":250},[1366],{"type":178,"value":1367},"  prev\n",{"type":173,"tag":226,"props":1369,"children":1371},{"class":228,"line":1370},16,[1372,1376,1380,1385],{"type":173,"tag":226,"props":1373,"children":1374},{"style":256},[1375],{"type":178,"value":299},{"type":173,"tag":226,"props":1377,"children":1378},{"style":256},[1379],{"type":178,"value":558},{"type":173,"tag":226,"props":1381,"children":1382},{"style":244},[1383],{"type":178,"value":1384}," useContent",{"type":173,"tag":226,"props":1386,"children":1387},{"style":250},[1388],{"type":178,"value":1389},"()\n",{"type":173,"tag":226,"props":1391,"children":1393},{"class":228,"line":1392},17,[1394,1399,1403],{"type":173,"tag":226,"props":1395,"children":1396},{"style":256},[1397],{"type":178,"value":1398},"\u003C/",{"type":173,"tag":226,"props":1400,"children":1401},{"style":431},[1402],{"type":178,"value":1177},{"type":173,"tag":226,"props":1404,"children":1405},{"style":256},[1406],{"type":178,"value":1210},{"type":173,"tag":306,"props":1408,"children":1410},{"id":1409},"rendering-the-page",[1411],{"type":178,"value":1412},"Rendering the page",{"type":173,"tag":174,"props":1414,"children":1415},{},[1416],{"type":178,"value":1417},"Rendering the current page becomes a bliss with this composable:",{"type":173,"tag":215,"props":1419,"children":1422},{"className":1159,"code":1420,"filename":1421,"language":618,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nconst { page } = useContent()\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CContentRenderer :key=\"page._id\" :value=\"page\" />\n\u003C/template>\n","pages/[...slug].vue",[1423],{"type":173,"tag":184,"props":1424,"children":1425},{"__ignoreMap":167},[1426,1465,1497,1512,1519,1535,1597],{"type":173,"tag":226,"props":1427,"children":1428},{"class":228,"line":229},[1429,1433,1437,1441,1445,1449,1453,1457,1461],{"type":173,"tag":226,"props":1430,"children":1431},{"style":256},[1432],{"type":178,"value":1172},{"type":173,"tag":226,"props":1434,"children":1435},{"style":431},[1436],{"type":178,"value":1177},{"type":173,"tag":226,"props":1438,"children":1439},{"style":272},[1440],{"type":178,"value":1182},{"type":173,"tag":226,"props":1442,"children":1443},{"style":272},[1444],{"type":178,"value":1187},{"type":173,"tag":226,"props":1446,"children":1447},{"style":256},[1448],{"type":178,"value":1192},{"type":173,"tag":226,"props":1450,"children":1451},{"style":256},[1452],{"type":178,"value":1197},{"type":173,"tag":226,"props":1454,"children":1455},{"style":441},[1456],{"type":178,"value":220},{"type":173,"tag":226,"props":1458,"children":1459},{"style":256},[1460],{"type":178,"value":1197},{"type":173,"tag":226,"props":1462,"children":1463},{"style":256},[1464],{"type":178,"value":1210},{"type":173,"tag":226,"props":1466,"children":1467},{"class":228,"line":283},[1468,1472,1476,1481,1485,1489,1493],{"type":173,"tag":226,"props":1469,"children":1470},{"style":272},[1471],{"type":178,"value":1218},{"type":173,"tag":226,"props":1473,"children":1474},{"style":256},[1475],{"type":178,"value":728},{"type":173,"tag":226,"props":1477,"children":1478},{"style":250},[1479],{"type":178,"value":1480}," page ",{"type":173,"tag":226,"props":1482,"children":1483},{"style":256},[1484],{"type":178,"value":299},{"type":173,"tag":226,"props":1486,"children":1487},{"style":256},[1488],{"type":178,"value":558},{"type":173,"tag":226,"props":1490,"children":1491},{"style":244},[1492],{"type":178,"value":1384},{"type":173,"tag":226,"props":1494,"children":1495},{"style":250},[1496],{"type":178,"value":1389},{"type":173,"tag":226,"props":1498,"children":1499},{"class":228,"line":293},[1500,1504,1508],{"type":173,"tag":226,"props":1501,"children":1502},{"style":256},[1503],{"type":178,"value":1398},{"type":173,"tag":226,"props":1505,"children":1506},{"style":431},[1507],{"type":178,"value":1177},{"type":173,"tag":226,"props":1509,"children":1510},{"style":256},[1511],{"type":178,"value":1210},{"type":173,"tag":226,"props":1513,"children":1514},{"class":228,"line":538},[1515],{"type":173,"tag":226,"props":1516,"children":1517},{"emptyLinePlaceholder":763},[1518],{"type":178,"value":766},{"type":173,"tag":226,"props":1520,"children":1521},{"class":228,"line":629},[1522,1526,1531],{"type":173,"tag":226,"props":1523,"children":1524},{"style":256},[1525],{"type":178,"value":1172},{"type":173,"tag":226,"props":1527,"children":1528},{"style":431},[1529],{"type":178,"value":1530},"template",{"type":173,"tag":226,"props":1532,"children":1533},{"style":256},[1534],{"type":178,"value":1210},{"type":173,"tag":226,"props":1536,"children":1537},{"class":228,"line":638},[1538,1543,1548,1553,1557,1561,1566,1570,1575,1579,1583,1588,1592],{"type":173,"tag":226,"props":1539,"children":1540},{"style":256},[1541],{"type":178,"value":1542},"  \u003C",{"type":173,"tag":226,"props":1544,"children":1545},{"style":431},[1546],{"type":178,"value":1547},"ContentRenderer",{"type":173,"tag":226,"props":1549,"children":1550},{"style":272},[1551],{"type":178,"value":1552}," :key",{"type":173,"tag":226,"props":1554,"children":1555},{"style":256},[1556],{"type":178,"value":1192},{"type":173,"tag":226,"props":1558,"children":1559},{"style":256},[1560],{"type":178,"value":1197},{"type":173,"tag":226,"props":1562,"children":1563},{"style":441},[1564],{"type":178,"value":1565},"page._id",{"type":173,"tag":226,"props":1567,"children":1568},{"style":256},[1569],{"type":178,"value":1197},{"type":173,"tag":226,"props":1571,"children":1572},{"style":272},[1573],{"type":178,"value":1574}," :value",{"type":173,"tag":226,"props":1576,"children":1577},{"style":256},[1578],{"type":178,"value":1192},{"type":173,"tag":226,"props":1580,"children":1581},{"style":256},[1582],{"type":178,"value":1197},{"type":173,"tag":226,"props":1584,"children":1585},{"style":441},[1586],{"type":178,"value":1587},"page",{"type":173,"tag":226,"props":1589,"children":1590},{"style":256},[1591],{"type":178,"value":1197},{"type":173,"tag":226,"props":1593,"children":1594},{"style":256},[1595],{"type":178,"value":1596}," />\n",{"type":173,"tag":226,"props":1598,"children":1599},{"class":228,"line":651},[1600,1604,1608],{"type":173,"tag":226,"props":1601,"children":1602},{"style":256},[1603],{"type":178,"value":1398},{"type":173,"tag":226,"props":1605,"children":1606},{"style":431},[1607],{"type":178,"value":1530},{"type":173,"tag":226,"props":1609,"children":1610},{"style":256},[1611],{"type":178,"value":1210},{"type":173,"tag":306,"props":1613,"children":1615},{"id":1614},"previousnext-page-component",[1616],{"type":178,"value":1617},"Previous/next page component",{"type":173,"tag":215,"props":1619,"children":1622},{"className":1159,"code":1620,"filename":1621,"language":618,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nconst { prev, next } = useContent()\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cdiv>\n    \u003CNuxtLink v-if=\"prev\" :to=\"prev._path\">{{ prev.title }}\u003C/NuxtLink>\n    \u003CNuxtLink v-if=\"next\" :to=\"next._path\">{{ next.title }}\u003C/NuxtLink>\n  \u003C/div>\n\u003C/template>\n","PagePrevNext.vue",[1623],{"type":173,"tag":184,"props":1624,"children":1625},{"__ignoreMap":167},[1626,1665,1706,1721,1728,1743,1759,1838,1912,1928],{"type":173,"tag":226,"props":1627,"children":1628},{"class":228,"line":229},[1629,1633,1637,1641,1645,1649,1653,1657,1661],{"type":173,"tag":226,"props":1630,"children":1631},{"style":256},[1632],{"type":178,"value":1172},{"type":173,"tag":226,"props":1634,"children":1635},{"style":431},[1636],{"type":178,"value":1177},{"type":173,"tag":226,"props":1638,"children":1639},{"style":272},[1640],{"type":178,"value":1182},{"type":173,"tag":226,"props":1642,"children":1643},{"style":272},[1644],{"type":178,"value":1187},{"type":173,"tag":226,"props":1646,"children":1647},{"style":256},[1648],{"type":178,"value":1192},{"type":173,"tag":226,"props":1650,"children":1651},{"style":256},[1652],{"type":178,"value":1197},{"type":173,"tag":226,"props":1654,"children":1655},{"style":441},[1656],{"type":178,"value":220},{"type":173,"tag":226,"props":1658,"children":1659},{"style":256},[1660],{"type":178,"value":1197},{"type":173,"tag":226,"props":1662,"children":1663},{"style":256},[1664],{"type":178,"value":1210},{"type":173,"tag":226,"props":1666,"children":1667},{"class":228,"line":283},[1668,1672,1676,1681,1685,1690,1694,1698,1702],{"type":173,"tag":226,"props":1669,"children":1670},{"style":272},[1671],{"type":178,"value":1218},{"type":173,"tag":226,"props":1673,"children":1674},{"style":256},[1675],{"type":178,"value":728},{"type":173,"tag":226,"props":1677,"children":1678},{"style":250},[1679],{"type":178,"value":1680}," prev",{"type":173,"tag":226,"props":1682,"children":1683},{"style":256},[1684],{"type":178,"value":452},{"type":173,"tag":226,"props":1686,"children":1687},{"style":250},[1688],{"type":178,"value":1689}," next ",{"type":173,"tag":226,"props":1691,"children":1692},{"style":256},[1693],{"type":178,"value":299},{"type":173,"tag":226,"props":1695,"children":1696},{"style":256},[1697],{"type":178,"value":558},{"type":173,"tag":226,"props":1699,"children":1700},{"style":244},[1701],{"type":178,"value":1384},{"type":173,"tag":226,"props":1703,"children":1704},{"style":250},[1705],{"type":178,"value":1389},{"type":173,"tag":226,"props":1707,"children":1708},{"class":228,"line":293},[1709,1713,1717],{"type":173,"tag":226,"props":1710,"children":1711},{"style":256},[1712],{"type":178,"value":1398},{"type":173,"tag":226,"props":1714,"children":1715},{"style":431},[1716],{"type":178,"value":1177},{"type":173,"tag":226,"props":1718,"children":1719},{"style":256},[1720],{"type":178,"value":1210},{"type":173,"tag":226,"props":1722,"children":1723},{"class":228,"line":538},[1724],{"type":173,"tag":226,"props":1725,"children":1726},{"emptyLinePlaceholder":763},[1727],{"type":178,"value":766},{"type":173,"tag":226,"props":1729,"children":1730},{"class":228,"line":629},[1731,1735,1739],{"type":173,"tag":226,"props":1732,"children":1733},{"style":256},[1734],{"type":178,"value":1172},{"type":173,"tag":226,"props":1736,"children":1737},{"style":431},[1738],{"type":178,"value":1530},{"type":173,"tag":226,"props":1740,"children":1741},{"style":256},[1742],{"type":178,"value":1210},{"type":173,"tag":226,"props":1744,"children":1745},{"class":228,"line":638},[1746,1750,1755],{"type":173,"tag":226,"props":1747,"children":1748},{"style":256},[1749],{"type":178,"value":1542},{"type":173,"tag":226,"props":1751,"children":1752},{"style":431},[1753],{"type":178,"value":1754},"div",{"type":173,"tag":226,"props":1756,"children":1757},{"style":256},[1758],{"type":178,"value":1210},{"type":173,"tag":226,"props":1760,"children":1761},{"class":228,"line":651},[1762,1767,1772,1777,1781,1785,1790,1794,1799,1803,1807,1812,1816,1821,1826,1830,1834],{"type":173,"tag":226,"props":1763,"children":1764},{"style":256},[1765],{"type":178,"value":1766},"    \u003C",{"type":173,"tag":226,"props":1768,"children":1769},{"style":431},[1770],{"type":178,"value":1771},"NuxtLink",{"type":173,"tag":226,"props":1773,"children":1774},{"style":272},[1775],{"type":178,"value":1776}," v-if",{"type":173,"tag":226,"props":1778,"children":1779},{"style":256},[1780],{"type":178,"value":1192},{"type":173,"tag":226,"props":1782,"children":1783},{"style":256},[1784],{"type":178,"value":1197},{"type":173,"tag":226,"props":1786,"children":1787},{"style":441},[1788],{"type":178,"value":1789},"prev",{"type":173,"tag":226,"props":1791,"children":1792},{"style":256},[1793],{"type":178,"value":1197},{"type":173,"tag":226,"props":1795,"children":1796},{"style":272},[1797],{"type":178,"value":1798}," :to",{"type":173,"tag":226,"props":1800,"children":1801},{"style":256},[1802],{"type":178,"value":1192},{"type":173,"tag":226,"props":1804,"children":1805},{"style":256},[1806],{"type":178,"value":1197},{"type":173,"tag":226,"props":1808,"children":1809},{"style":441},[1810],{"type":178,"value":1811},"prev._path",{"type":173,"tag":226,"props":1813,"children":1814},{"style":256},[1815],{"type":178,"value":1197},{"type":173,"tag":226,"props":1817,"children":1818},{"style":256},[1819],{"type":178,"value":1820},">",{"type":173,"tag":226,"props":1822,"children":1823},{"style":250},[1824],{"type":178,"value":1825},"{{ prev.title }}",{"type":173,"tag":226,"props":1827,"children":1828},{"style":256},[1829],{"type":178,"value":1398},{"type":173,"tag":226,"props":1831,"children":1832},{"style":431},[1833],{"type":178,"value":1771},{"type":173,"tag":226,"props":1835,"children":1836},{"style":256},[1837],{"type":178,"value":1210},{"type":173,"tag":226,"props":1839,"children":1840},{"class":228,"line":1082},[1841,1845,1849,1853,1857,1861,1866,1870,1874,1878,1882,1887,1891,1895,1900,1904,1908],{"type":173,"tag":226,"props":1842,"children":1843},{"style":256},[1844],{"type":178,"value":1766},{"type":173,"tag":226,"props":1846,"children":1847},{"style":431},[1848],{"type":178,"value":1771},{"type":173,"tag":226,"props":1850,"children":1851},{"style":272},[1852],{"type":178,"value":1776},{"type":173,"tag":226,"props":1854,"children":1855},{"style":256},[1856],{"type":178,"value":1192},{"type":173,"tag":226,"props":1858,"children":1859},{"style":256},[1860],{"type":178,"value":1197},{"type":173,"tag":226,"props":1862,"children":1863},{"style":441},[1864],{"type":178,"value":1865},"next",{"type":173,"tag":226,"props":1867,"children":1868},{"style":256},[1869],{"type":178,"value":1197},{"type":173,"tag":226,"props":1871,"children":1872},{"style":272},[1873],{"type":178,"value":1798},{"type":173,"tag":226,"props":1875,"children":1876},{"style":256},[1877],{"type":178,"value":1192},{"type":173,"tag":226,"props":1879,"children":1880},{"style":256},[1881],{"type":178,"value":1197},{"type":173,"tag":226,"props":1883,"children":1884},{"style":441},[1885],{"type":178,"value":1886},"next._path",{"type":173,"tag":226,"props":1888,"children":1889},{"style":256},[1890],{"type":178,"value":1197},{"type":173,"tag":226,"props":1892,"children":1893},{"style":256},[1894],{"type":178,"value":1820},{"type":173,"tag":226,"props":1896,"children":1897},{"style":250},[1898],{"type":178,"value":1899},"{{ next.title }}",{"type":173,"tag":226,"props":1901,"children":1902},{"style":256},[1903],{"type":178,"value":1398},{"type":173,"tag":226,"props":1905,"children":1906},{"style":431},[1907],{"type":178,"value":1771},{"type":173,"tag":226,"props":1909,"children":1910},{"style":256},[1911],{"type":178,"value":1210},{"type":173,"tag":226,"props":1913,"children":1914},{"class":228,"line":1095},[1915,1920,1924],{"type":173,"tag":226,"props":1916,"children":1917},{"style":256},[1918],{"type":178,"value":1919},"  \u003C/",{"type":173,"tag":226,"props":1921,"children":1922},{"style":431},[1923],{"type":178,"value":1754},{"type":173,"tag":226,"props":1925,"children":1926},{"style":256},[1927],{"type":178,"value":1210},{"type":173,"tag":226,"props":1929,"children":1930},{"class":228,"line":1103},[1931,1935,1939],{"type":173,"tag":226,"props":1932,"children":1933},{"style":256},[1934],{"type":178,"value":1398},{"type":173,"tag":226,"props":1936,"children":1937},{"style":431},[1938],{"type":178,"value":1530},{"type":173,"tag":226,"props":1940,"children":1941},{"style":256},[1942],{"type":178,"value":1210},{"type":173,"tag":306,"props":1944,"children":1946},{"id":1945},"table-of-contents-component",[1947],{"type":178,"value":1948},"Table of Contents component",{"type":173,"tag":215,"props":1950,"children":1953},{"className":1159,"code":1951,"filename":1952,"language":618,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nconst { toc } = useContent()\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cdiv>\n    \u003Cul v-if=\"toc && toc.links\">\n      \u003Cli v-for=\"link in toc.links\" :key=\"link.text\">\n        \u003Ca :href=\"`#${link.id}`\">\n          {{ link.text }}\n        \u003C/a>\n      \u003C/li>\n    \u003C/ul>\n  \u003C/div>\n\u003C/template>\n","PageToc.vue",[1954],{"type":173,"tag":184,"props":1955,"children":1956},{"__ignoreMap":167},[1957,1996,2028,2043,2050,2065,2080,2116,2175,2213,2221,2237,2253,2269,2284],{"type":173,"tag":226,"props":1958,"children":1959},{"class":228,"line":229},[1960,1964,1968,1972,1976,1980,1984,1988,1992],{"type":173,"tag":226,"props":1961,"children":1962},{"style":256},[1963],{"type":178,"value":1172},{"type":173,"tag":226,"props":1965,"children":1966},{"style":431},[1967],{"type":178,"value":1177},{"type":173,"tag":226,"props":1969,"children":1970},{"style":272},[1971],{"type":178,"value":1182},{"type":173,"tag":226,"props":1973,"children":1974},{"style":272},[1975],{"type":178,"value":1187},{"type":173,"tag":226,"props":1977,"children":1978},{"style":256},[1979],{"type":178,"value":1192},{"type":173,"tag":226,"props":1981,"children":1982},{"style":256},[1983],{"type":178,"value":1197},{"type":173,"tag":226,"props":1985,"children":1986},{"style":441},[1987],{"type":178,"value":220},{"type":173,"tag":226,"props":1989,"children":1990},{"style":256},[1991],{"type":178,"value":1197},{"type":173,"tag":226,"props":1993,"children":1994},{"style":256},[1995],{"type":178,"value":1210},{"type":173,"tag":226,"props":1997,"children":1998},{"class":228,"line":283},[1999,2003,2007,2012,2016,2020,2024],{"type":173,"tag":226,"props":2000,"children":2001},{"style":272},[2002],{"type":178,"value":1218},{"type":173,"tag":226,"props":2004,"children":2005},{"style":256},[2006],{"type":178,"value":728},{"type":173,"tag":226,"props":2008,"children":2009},{"style":250},[2010],{"type":178,"value":2011}," toc ",{"type":173,"tag":226,"props":2013,"children":2014},{"style":256},[2015],{"type":178,"value":299},{"type":173,"tag":226,"props":2017,"children":2018},{"style":256},[2019],{"type":178,"value":558},{"type":173,"tag":226,"props":2021,"children":2022},{"style":244},[2023],{"type":178,"value":1384},{"type":173,"tag":226,"props":2025,"children":2026},{"style":250},[2027],{"type":178,"value":1389},{"type":173,"tag":226,"props":2029,"children":2030},{"class":228,"line":293},[2031,2035,2039],{"type":173,"tag":226,"props":2032,"children":2033},{"style":256},[2034],{"type":178,"value":1398},{"type":173,"tag":226,"props":2036,"children":2037},{"style":431},[2038],{"type":178,"value":1177},{"type":173,"tag":226,"props":2040,"children":2041},{"style":256},[2042],{"type":178,"value":1210},{"type":173,"tag":226,"props":2044,"children":2045},{"class":228,"line":538},[2046],{"type":173,"tag":226,"props":2047,"children":2048},{"emptyLinePlaceholder":763},[2049],{"type":178,"value":766},{"type":173,"tag":226,"props":2051,"children":2052},{"class":228,"line":629},[2053,2057,2061],{"type":173,"tag":226,"props":2054,"children":2055},{"style":256},[2056],{"type":178,"value":1172},{"type":173,"tag":226,"props":2058,"children":2059},{"style":431},[2060],{"type":178,"value":1530},{"type":173,"tag":226,"props":2062,"children":2063},{"style":256},[2064],{"type":178,"value":1210},{"type":173,"tag":226,"props":2066,"children":2067},{"class":228,"line":638},[2068,2072,2076],{"type":173,"tag":226,"props":2069,"children":2070},{"style":256},[2071],{"type":178,"value":1542},{"type":173,"tag":226,"props":2073,"children":2074},{"style":431},[2075],{"type":178,"value":1754},{"type":173,"tag":226,"props":2077,"children":2078},{"style":256},[2079],{"type":178,"value":1210},{"type":173,"tag":226,"props":2081,"children":2082},{"class":228,"line":651},[2083,2087,2091,2095,2099,2103,2108,2112],{"type":173,"tag":226,"props":2084,"children":2085},{"style":256},[2086],{"type":178,"value":1766},{"type":173,"tag":226,"props":2088,"children":2089},{"style":431},[2090],{"type":178,"value":330},{"type":173,"tag":226,"props":2092,"children":2093},{"style":272},[2094],{"type":178,"value":1776},{"type":173,"tag":226,"props":2096,"children":2097},{"style":256},[2098],{"type":178,"value":1192},{"type":173,"tag":226,"props":2100,"children":2101},{"style":256},[2102],{"type":178,"value":1197},{"type":173,"tag":226,"props":2104,"children":2105},{"style":441},[2106],{"type":178,"value":2107},"toc && toc.links",{"type":173,"tag":226,"props":2109,"children":2110},{"style":256},[2111],{"type":178,"value":1197},{"type":173,"tag":226,"props":2113,"children":2114},{"style":256},[2115],{"type":178,"value":1210},{"type":173,"tag":226,"props":2117,"children":2118},{"class":228,"line":1082},[2119,2124,2128,2133,2137,2141,2146,2150,2154,2158,2162,2167,2171],{"type":173,"tag":226,"props":2120,"children":2121},{"style":256},[2122],{"type":178,"value":2123},"      \u003C",{"type":173,"tag":226,"props":2125,"children":2126},{"style":431},[2127],{"type":178,"value":334},{"type":173,"tag":226,"props":2129,"children":2130},{"style":272},[2131],{"type":178,"value":2132}," v-for",{"type":173,"tag":226,"props":2134,"children":2135},{"style":256},[2136],{"type":178,"value":1192},{"type":173,"tag":226,"props":2138,"children":2139},{"style":256},[2140],{"type":178,"value":1197},{"type":173,"tag":226,"props":2142,"children":2143},{"style":441},[2144],{"type":178,"value":2145},"link in toc.links",{"type":173,"tag":226,"props":2147,"children":2148},{"style":256},[2149],{"type":178,"value":1197},{"type":173,"tag":226,"props":2151,"children":2152},{"style":272},[2153],{"type":178,"value":1552},{"type":173,"tag":226,"props":2155,"children":2156},{"style":256},[2157],{"type":178,"value":1192},{"type":173,"tag":226,"props":2159,"children":2160},{"style":256},[2161],{"type":178,"value":1197},{"type":173,"tag":226,"props":2163,"children":2164},{"style":441},[2165],{"type":178,"value":2166},"link.text",{"type":173,"tag":226,"props":2168,"children":2169},{"style":256},[2170],{"type":178,"value":1197},{"type":173,"tag":226,"props":2172,"children":2173},{"style":256},[2174],{"type":178,"value":1210},{"type":173,"tag":226,"props":2176,"children":2177},{"class":228,"line":1095},[2178,2183,2187,2192,2196,2200,2205,2209],{"type":173,"tag":226,"props":2179,"children":2180},{"style":256},[2181],{"type":178,"value":2182},"        \u003C",{"type":173,"tag":226,"props":2184,"children":2185},{"style":431},[2186],{"type":178,"value":192},{"type":173,"tag":226,"props":2188,"children":2189},{"style":272},[2190],{"type":178,"value":2191}," :href",{"type":173,"tag":226,"props":2193,"children":2194},{"style":256},[2195],{"type":178,"value":1192},{"type":173,"tag":226,"props":2197,"children":2198},{"style":256},[2199],{"type":178,"value":1197},{"type":173,"tag":226,"props":2201,"children":2202},{"style":441},[2203],{"type":178,"value":2204},"`#${link.id}`",{"type":173,"tag":226,"props":2206,"children":2207},{"style":256},[2208],{"type":178,"value":1197},{"type":173,"tag":226,"props":2210,"children":2211},{"style":256},[2212],{"type":178,"value":1210},{"type":173,"tag":226,"props":2214,"children":2215},{"class":228,"line":1103},[2216],{"type":173,"tag":226,"props":2217,"children":2218},{"style":250},[2219],{"type":178,"value":2220},"          {{ link.text }}\n",{"type":173,"tag":226,"props":2222,"children":2223},{"class":228,"line":1115},[2224,2229,2233],{"type":173,"tag":226,"props":2225,"children":2226},{"style":256},[2227],{"type":178,"value":2228},"        \u003C/",{"type":173,"tag":226,"props":2230,"children":2231},{"style":431},[2232],{"type":178,"value":192},{"type":173,"tag":226,"props":2234,"children":2235},{"style":256},[2236],{"type":178,"value":1210},{"type":173,"tag":226,"props":2238,"children":2239},{"class":228,"line":1326},[2240,2245,2249],{"type":173,"tag":226,"props":2241,"children":2242},{"style":256},[2243],{"type":178,"value":2244},"      \u003C/",{"type":173,"tag":226,"props":2246,"children":2247},{"style":431},[2248],{"type":178,"value":334},{"type":173,"tag":226,"props":2250,"children":2251},{"style":256},[2252],{"type":178,"value":1210},{"type":173,"tag":226,"props":2254,"children":2255},{"class":228,"line":1339},[2256,2261,2265],{"type":173,"tag":226,"props":2257,"children":2258},{"style":256},[2259],{"type":178,"value":2260},"    \u003C/",{"type":173,"tag":226,"props":2262,"children":2263},{"style":431},[2264],{"type":178,"value":330},{"type":173,"tag":226,"props":2266,"children":2267},{"style":256},[2268],{"type":178,"value":1210},{"type":173,"tag":226,"props":2270,"children":2271},{"class":228,"line":1348},[2272,2276,2280],{"type":173,"tag":226,"props":2273,"children":2274},{"style":256},[2275],{"type":178,"value":1919},{"type":173,"tag":226,"props":2277,"children":2278},{"style":431},[2279],{"type":178,"value":1754},{"type":173,"tag":226,"props":2281,"children":2282},{"style":256},[2283],{"type":178,"value":1210},{"type":173,"tag":226,"props":2285,"children":2286},{"class":228,"line":1361},[2287,2291,2295],{"type":173,"tag":226,"props":2288,"children":2289},{"style":256},[2290],{"type":178,"value":1398},{"type":173,"tag":226,"props":2292,"children":2293},{"style":431},[2294],{"type":178,"value":1530},{"type":173,"tag":226,"props":2296,"children":2297},{"style":256},[2298],{"type":178,"value":1210},{"type":173,"tag":1126,"props":2300,"children":2301},{},[2302],{"type":178,"value":1130},{"title":167,"searchDepth":283,"depth":283,"links":2304},[2305,2306,2307],{"id":1409,"depth":283,"text":1412},{"id":1614,"depth":283,"text":1617},{"id":1945,"depth":283,"text":1948},"content:5.document-driven:2.use-content.md","5.document-driven/2.use-content.md",{"_path":111,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":110,"description":2311,"body":2312,"_type":1135,"_id":3529,"_source":1137,"_file":3530,"_extension":1139},"Transformers are responsible for parsing and manipulating contents in Nuxt Content.",{"type":170,"children":2313,"toc":3527},[2314,2319,2324,2376,2722,2730,3278,3286,3512,3523],{"type":173,"tag":174,"props":2315,"children":2316},{},[2317],{"type":178,"value":2318},"Nuxt Content has specific transformers for each content type to parse the raw content and prepare it for querying and rendering.",{"type":173,"tag":174,"props":2320,"children":2321},{},[2322],{"type":178,"value":2323},"You can create custom transformers to support new content types or improve functionalities of supported content types.",{"type":173,"tag":2325,"props":2326,"children":2327},"ol",{},[2328],{"type":173,"tag":334,"props":2329,"children":2330},{},[2331,2333],{"type":178,"value":2332},"Create your transformer. A transformer consists of 4 parts:\n",{"type":173,"tag":330,"props":2334,"children":2335},{},[2336,2346,2356,2366],{"type":173,"tag":334,"props":2337,"children":2338},{},[2339,2344],{"type":173,"tag":184,"props":2340,"children":2341},{"className":167},[2342],{"type":178,"value":2343},"name",{"type":178,"value":2345},": Transformer name.",{"type":173,"tag":334,"props":2347,"children":2348},{},[2349,2354],{"type":173,"tag":184,"props":2350,"children":2351},{"className":167},[2352],{"type":178,"value":2353},"extensions",{"type":178,"value":2355},": List of valid file extensions.",{"type":173,"tag":334,"props":2357,"children":2358},{},[2359,2364],{"type":173,"tag":184,"props":2360,"children":2361},{"className":167},[2362],{"type":178,"value":2363},"parse",{"type":178,"value":2365},": If provided, this function will be used to parse the raw content.",{"type":173,"tag":334,"props":2367,"children":2368},{},[2369,2374],{"type":173,"tag":184,"props":2370,"children":2371},{"className":167},[2372],{"type":178,"value":2373},"transform",{"type":178,"value":2375},": Receives that parsed content and manipulates it.",{"type":173,"tag":215,"props":2377,"children":2380},{"className":217,"code":2378,"filename":2379,"language":220,"meta":167,"style":167},"// filename: my-transformer.ts\nimport { defineTransformer } from '@nuxt/content/transformers'\n\nexport default defineTransformer({\n  name: 'my-transformer',\n  extensions: ['.names'],\n  parse (_id, rawContent) {\n    return {\n      _id,\n      body: rawContent.trim().split('\\n').map(line => line.trim()).sort()\n    }\n  }\n})\n\n","my-transformer.ts",[2381],{"type":173,"tag":184,"props":2382,"children":2383},{"__ignoreMap":167},[2384,2392,2429,2436,2459,2488,2527,2560,2572,2584,2696,2703,2711],{"type":173,"tag":226,"props":2385,"children":2386},{"class":228,"line":229},[2387],{"type":173,"tag":226,"props":2388,"children":2389},{"style":287},[2390],{"type":178,"value":2391},"// filename: my-transformer.ts\n",{"type":173,"tag":226,"props":2393,"children":2394},{"class":228,"line":283},[2395,2399,2403,2408,2412,2416,2420,2425],{"type":173,"tag":226,"props":2396,"children":2397},{"style":233},[2398],{"type":178,"value":723},{"type":173,"tag":226,"props":2400,"children":2401},{"style":256},[2402],{"type":178,"value":728},{"type":173,"tag":226,"props":2404,"children":2405},{"style":250},[2406],{"type":178,"value":2407}," defineTransformer",{"type":173,"tag":226,"props":2409,"children":2410},{"style":256},[2411],{"type":178,"value":738},{"type":173,"tag":226,"props":2413,"children":2414},{"style":233},[2415],{"type":178,"value":743},{"type":173,"tag":226,"props":2417,"children":2418},{"style":256},[2419],{"type":178,"value":613},{"type":173,"tag":226,"props":2421,"children":2422},{"style":441},[2423],{"type":178,"value":2424},"@nuxt/content/transformers",{"type":173,"tag":226,"props":2426,"children":2427},{"style":256},[2428],{"type":178,"value":757},{"type":173,"tag":226,"props":2430,"children":2431},{"class":228,"line":293},[2432],{"type":173,"tag":226,"props":2433,"children":2434},{"emptyLinePlaceholder":763},[2435],{"type":178,"value":766},{"type":173,"tag":226,"props":2437,"children":2438},{"class":228,"line":538},[2439,2443,2447,2451,2455],{"type":173,"tag":226,"props":2440,"children":2441},{"style":233},[2442],{"type":178,"value":236},{"type":173,"tag":226,"props":2444,"children":2445},{"style":233},[2446],{"type":178,"value":241},{"type":173,"tag":226,"props":2448,"children":2449},{"style":244},[2450],{"type":178,"value":2407},{"type":173,"tag":226,"props":2452,"children":2453},{"style":250},[2454],{"type":178,"value":253},{"type":173,"tag":226,"props":2456,"children":2457},{"style":256},[2458],{"type":178,"value":535},{"type":173,"tag":226,"props":2460,"children":2461},{"class":228,"line":629},[2462,2467,2471,2475,2480,2484],{"type":173,"tag":226,"props":2463,"children":2464},{"style":431},[2465],{"type":178,"value":2466},"  name",{"type":173,"tag":226,"props":2468,"children":2469},{"style":256},[2470],{"type":178,"value":684},{"type":173,"tag":226,"props":2472,"children":2473},{"style":256},[2474],{"type":178,"value":613},{"type":173,"tag":226,"props":2476,"children":2477},{"style":441},[2478],{"type":178,"value":2479},"my-transformer",{"type":173,"tag":226,"props":2481,"children":2482},{"style":256},[2483],{"type":178,"value":438},{"type":173,"tag":226,"props":2485,"children":2486},{"style":256},[2487],{"type":178,"value":1243},{"type":173,"tag":226,"props":2489,"children":2490},{"class":228,"line":638},[2491,2496,2500,2505,2509,2514,2518,2523],{"type":173,"tag":226,"props":2492,"children":2493},{"style":431},[2494],{"type":178,"value":2495},"  extensions",{"type":173,"tag":226,"props":2497,"children":2498},{"style":256},[2499],{"type":178,"value":684},{"type":173,"tag":226,"props":2501,"children":2502},{"style":250},[2503],{"type":178,"value":2504}," [",{"type":173,"tag":226,"props":2506,"children":2507},{"style":256},[2508],{"type":178,"value":438},{"type":173,"tag":226,"props":2510,"children":2511},{"style":441},[2512],{"type":178,"value":2513},".names",{"type":173,"tag":226,"props":2515,"children":2516},{"style":256},[2517],{"type":178,"value":438},{"type":173,"tag":226,"props":2519,"children":2520},{"style":250},[2521],{"type":178,"value":2522},"]",{"type":173,"tag":226,"props":2524,"children":2525},{"style":256},[2526],{"type":178,"value":1243},{"type":173,"tag":226,"props":2528,"children":2529},{"class":228,"line":651},[2530,2535,2539,2543,2547,2552,2556],{"type":173,"tag":226,"props":2531,"children":2532},{"style":431},[2533],{"type":178,"value":2534},"  parse",{"type":173,"tag":226,"props":2536,"children":2537},{"style":256},[2538],{"type":178,"value":457},{"type":173,"tag":226,"props":2540,"children":2541},{"style":261},[2542],{"type":178,"value":499},{"type":173,"tag":226,"props":2544,"children":2545},{"style":256},[2546],{"type":178,"value":452},{"type":173,"tag":226,"props":2548,"children":2549},{"style":261},[2550],{"type":178,"value":2551}," rawContent",{"type":173,"tag":226,"props":2553,"children":2554},{"style":256},[2555],{"type":178,"value":269},{"type":173,"tag":226,"props":2557,"children":2558},{"style":256},[2559],{"type":178,"value":280},{"type":173,"tag":226,"props":2561,"children":2562},{"class":228,"line":1082},[2563,2568],{"type":173,"tag":226,"props":2564,"children":2565},{"style":233},[2566],{"type":178,"value":2567},"    return",{"type":173,"tag":226,"props":2569,"children":2570},{"style":256},[2571],{"type":178,"value":280},{"type":173,"tag":226,"props":2573,"children":2574},{"class":228,"line":1095},[2575,2580],{"type":173,"tag":226,"props":2576,"children":2577},{"style":250},[2578],{"type":178,"value":2579},"      _id",{"type":173,"tag":226,"props":2581,"children":2582},{"style":256},[2583],{"type":178,"value":1243},{"type":173,"tag":226,"props":2585,"children":2586},{"class":228,"line":1103},[2587,2592,2596,2600,2604,2609,2614,2618,2623,2627,2631,2636,2640,2644,2648,2653,2657,2661,2665,2670,2674,2678,2683,2687,2692],{"type":173,"tag":226,"props":2588,"children":2589},{"style":431},[2590],{"type":178,"value":2591},"      body",{"type":173,"tag":226,"props":2593,"children":2594},{"style":256},[2595],{"type":178,"value":684},{"type":173,"tag":226,"props":2597,"children":2598},{"style":250},[2599],{"type":178,"value":2551},{"type":173,"tag":226,"props":2601,"children":2602},{"style":256},[2603],{"type":178,"value":201},{"type":173,"tag":226,"props":2605,"children":2606},{"style":244},[2607],{"type":178,"value":2608},"trim",{"type":173,"tag":226,"props":2610,"children":2611},{"style":431},[2612],{"type":178,"value":2613},"()",{"type":173,"tag":226,"props":2615,"children":2616},{"style":256},[2617],{"type":178,"value":201},{"type":173,"tag":226,"props":2619,"children":2620},{"style":244},[2621],{"type":178,"value":2622},"split",{"type":173,"tag":226,"props":2624,"children":2625},{"style":431},[2626],{"type":178,"value":253},{"type":173,"tag":226,"props":2628,"children":2629},{"style":256},[2630],{"type":178,"value":438},{"type":173,"tag":226,"props":2632,"children":2633},{"style":250},[2634],{"type":178,"value":2635},"\\n",{"type":173,"tag":226,"props":2637,"children":2638},{"style":256},[2639],{"type":178,"value":438},{"type":173,"tag":226,"props":2641,"children":2642},{"style":431},[2643],{"type":178,"value":269},{"type":173,"tag":226,"props":2645,"children":2646},{"style":256},[2647],{"type":178,"value":201},{"type":173,"tag":226,"props":2649,"children":2650},{"style":244},[2651],{"type":178,"value":2652},"map",{"type":173,"tag":226,"props":2654,"children":2655},{"style":431},[2656],{"type":178,"value":253},{"type":173,"tag":226,"props":2658,"children":2659},{"style":261},[2660],{"type":178,"value":228},{"type":173,"tag":226,"props":2662,"children":2663},{"style":272},[2664],{"type":178,"value":275},{"type":173,"tag":226,"props":2666,"children":2667},{"style":250},[2668],{"type":178,"value":2669}," line",{"type":173,"tag":226,"props":2671,"children":2672},{"style":256},[2673],{"type":178,"value":201},{"type":173,"tag":226,"props":2675,"children":2676},{"style":244},[2677],{"type":178,"value":2608},{"type":173,"tag":226,"props":2679,"children":2680},{"style":431},[2681],{"type":178,"value":2682},"())",{"type":173,"tag":226,"props":2684,"children":2685},{"style":256},[2686],{"type":178,"value":201},{"type":173,"tag":226,"props":2688,"children":2689},{"style":244},[2690],{"type":178,"value":2691},"sort",{"type":173,"tag":226,"props":2693,"children":2694},{"style":431},[2695],{"type":178,"value":1389},{"type":173,"tag":226,"props":2697,"children":2698},{"class":228,"line":1115},[2699],{"type":173,"tag":226,"props":2700,"children":2701},{"style":256},[2702],{"type":178,"value":635},{"type":173,"tag":226,"props":2704,"children":2705},{"class":228,"line":1326},[2706],{"type":173,"tag":226,"props":2707,"children":2708},{"style":256},[2709],{"type":178,"value":2710},"  }\n",{"type":173,"tag":226,"props":2712,"children":2713},{"class":228,"line":1339},[2714,2718],{"type":173,"tag":226,"props":2715,"children":2716},{"style":256},[2717],{"type":178,"value":299},{"type":173,"tag":226,"props":2719,"children":2720},{"style":250},[2721],{"type":178,"value":304},{"type":173,"tag":2325,"props":2723,"children":2724},{"start":283},[2725],{"type":173,"tag":334,"props":2726,"children":2727},{},[2728],{"type":178,"value":2729},"Define simple module to register transformer",{"type":173,"tag":215,"props":2731,"children":2734},{"className":217,"code":2732,"filename":2733,"language":220,"meta":167,"style":167},"// filename: my-module.mjs\nimport { resolve } from 'path'\nimport { defineNuxtModule } from '@nuxt/kit'\n\nexport default defineNuxtModule({\n  setup (_options, nuxt) {\n    nuxt.options.nitro.externals = nuxt.options.nitro.externals || {}\n    nuxt.options.nitro.externals.inline = nuxt.options.nitro.externals.inline || []\n    nuxt.options.nitro.externals.inline.push(resolve('./my-module'))\n    // @ts-ignore\n    nuxt.hook('content:context', (contentContext) => {\n      contentContext.transformers.push(resolve('./my-module/my-transformer.ts'))\n    })\n  }\n})\n\n","my-module.mjs",[2735],{"type":173,"tag":184,"props":2736,"children":2737},{"__ignoreMap":167},[2738,2746,2783,2820,2827,2850,2884,2961,3050,3129,3137,3194,3248,3260,3267],{"type":173,"tag":226,"props":2739,"children":2740},{"class":228,"line":229},[2741],{"type":173,"tag":226,"props":2742,"children":2743},{"style":287},[2744],{"type":178,"value":2745},"// filename: my-module.mjs\n",{"type":173,"tag":226,"props":2747,"children":2748},{"class":228,"line":283},[2749,2753,2757,2762,2766,2770,2774,2779],{"type":173,"tag":226,"props":2750,"children":2751},{"style":233},[2752],{"type":178,"value":723},{"type":173,"tag":226,"props":2754,"children":2755},{"style":256},[2756],{"type":178,"value":728},{"type":173,"tag":226,"props":2758,"children":2759},{"style":250},[2760],{"type":178,"value":2761}," resolve",{"type":173,"tag":226,"props":2763,"children":2764},{"style":256},[2765],{"type":178,"value":738},{"type":173,"tag":226,"props":2767,"children":2768},{"style":233},[2769],{"type":178,"value":743},{"type":173,"tag":226,"props":2771,"children":2772},{"style":256},[2773],{"type":178,"value":613},{"type":173,"tag":226,"props":2775,"children":2776},{"style":441},[2777],{"type":178,"value":2778},"path",{"type":173,"tag":226,"props":2780,"children":2781},{"style":256},[2782],{"type":178,"value":757},{"type":173,"tag":226,"props":2784,"children":2785},{"class":228,"line":293},[2786,2790,2794,2799,2803,2807,2811,2816],{"type":173,"tag":226,"props":2787,"children":2788},{"style":233},[2789],{"type":178,"value":723},{"type":173,"tag":226,"props":2791,"children":2792},{"style":256},[2793],{"type":178,"value":728},{"type":173,"tag":226,"props":2795,"children":2796},{"style":250},[2797],{"type":178,"value":2798}," defineNuxtModule",{"type":173,"tag":226,"props":2800,"children":2801},{"style":256},[2802],{"type":178,"value":738},{"type":173,"tag":226,"props":2804,"children":2805},{"style":233},[2806],{"type":178,"value":743},{"type":173,"tag":226,"props":2808,"children":2809},{"style":256},[2810],{"type":178,"value":613},{"type":173,"tag":226,"props":2812,"children":2813},{"style":441},[2814],{"type":178,"value":2815},"@nuxt/kit",{"type":173,"tag":226,"props":2817,"children":2818},{"style":256},[2819],{"type":178,"value":757},{"type":173,"tag":226,"props":2821,"children":2822},{"class":228,"line":538},[2823],{"type":173,"tag":226,"props":2824,"children":2825},{"emptyLinePlaceholder":763},[2826],{"type":178,"value":766},{"type":173,"tag":226,"props":2828,"children":2829},{"class":228,"line":629},[2830,2834,2838,2842,2846],{"type":173,"tag":226,"props":2831,"children":2832},{"style":233},[2833],{"type":178,"value":236},{"type":173,"tag":226,"props":2835,"children":2836},{"style":233},[2837],{"type":178,"value":241},{"type":173,"tag":226,"props":2839,"children":2840},{"style":244},[2841],{"type":178,"value":2798},{"type":173,"tag":226,"props":2843,"children":2844},{"style":250},[2845],{"type":178,"value":253},{"type":173,"tag":226,"props":2847,"children":2848},{"style":256},[2849],{"type":178,"value":535},{"type":173,"tag":226,"props":2851,"children":2852},{"class":228,"line":638},[2853,2858,2862,2867,2871,2876,2880],{"type":173,"tag":226,"props":2854,"children":2855},{"style":431},[2856],{"type":178,"value":2857},"  setup",{"type":173,"tag":226,"props":2859,"children":2860},{"style":256},[2861],{"type":178,"value":457},{"type":173,"tag":226,"props":2863,"children":2864},{"style":261},[2865],{"type":178,"value":2866},"_options",{"type":173,"tag":226,"props":2868,"children":2869},{"style":256},[2870],{"type":178,"value":452},{"type":173,"tag":226,"props":2872,"children":2873},{"style":261},[2874],{"type":178,"value":2875}," nuxt",{"type":173,"tag":226,"props":2877,"children":2878},{"style":256},[2879],{"type":178,"value":269},{"type":173,"tag":226,"props":2881,"children":2882},{"style":256},[2883],{"type":178,"value":280},{"type":173,"tag":226,"props":2885,"children":2886},{"class":228,"line":651},[2887,2892,2896,2901,2905,2910,2914,2919,2923,2927,2931,2935,2939,2943,2947,2951,2956],{"type":173,"tag":226,"props":2888,"children":2889},{"style":250},[2890],{"type":178,"value":2891},"    nuxt",{"type":173,"tag":226,"props":2893,"children":2894},{"style":256},[2895],{"type":178,"value":201},{"type":173,"tag":226,"props":2897,"children":2898},{"style":250},[2899],{"type":178,"value":2900},"options",{"type":173,"tag":226,"props":2902,"children":2903},{"style":256},[2904],{"type":178,"value":201},{"type":173,"tag":226,"props":2906,"children":2907},{"style":250},[2908],{"type":178,"value":2909},"nitro",{"type":173,"tag":226,"props":2911,"children":2912},{"style":256},[2913],{"type":178,"value":201},{"type":173,"tag":226,"props":2915,"children":2916},{"style":250},[2917],{"type":178,"value":2918},"externals",{"type":173,"tag":226,"props":2920,"children":2921},{"style":256},[2922],{"type":178,"value":558},{"type":173,"tag":226,"props":2924,"children":2925},{"style":250},[2926],{"type":178,"value":2875},{"type":173,"tag":226,"props":2928,"children":2929},{"style":256},[2930],{"type":178,"value":201},{"type":173,"tag":226,"props":2932,"children":2933},{"style":250},[2934],{"type":178,"value":2900},{"type":173,"tag":226,"props":2936,"children":2937},{"style":256},[2938],{"type":178,"value":201},{"type":173,"tag":226,"props":2940,"children":2941},{"style":250},[2942],{"type":178,"value":2909},{"type":173,"tag":226,"props":2944,"children":2945},{"style":256},[2946],{"type":178,"value":201},{"type":173,"tag":226,"props":2948,"children":2949},{"style":250},[2950],{"type":178,"value":2918},{"type":173,"tag":226,"props":2952,"children":2953},{"style":256},[2954],{"type":178,"value":2955}," ||",{"type":173,"tag":226,"props":2957,"children":2958},{"style":256},[2959],{"type":178,"value":2960}," {}\n",{"type":173,"tag":226,"props":2962,"children":2963},{"class":228,"line":1082},[2964,2968,2972,2976,2980,2984,2988,2992,2996,3001,3005,3009,3013,3017,3021,3025,3029,3033,3037,3041,3045],{"type":173,"tag":226,"props":2965,"children":2966},{"style":250},[2967],{"type":178,"value":2891},{"type":173,"tag":226,"props":2969,"children":2970},{"style":256},[2971],{"type":178,"value":201},{"type":173,"tag":226,"props":2973,"children":2974},{"style":250},[2975],{"type":178,"value":2900},{"type":173,"tag":226,"props":2977,"children":2978},{"style":256},[2979],{"type":178,"value":201},{"type":173,"tag":226,"props":2981,"children":2982},{"style":250},[2983],{"type":178,"value":2909},{"type":173,"tag":226,"props":2985,"children":2986},{"style":256},[2987],{"type":178,"value":201},{"type":173,"tag":226,"props":2989,"children":2990},{"style":250},[2991],{"type":178,"value":2918},{"type":173,"tag":226,"props":2993,"children":2994},{"style":256},[2995],{"type":178,"value":201},{"type":173,"tag":226,"props":2997,"children":2998},{"style":250},[2999],{"type":178,"value":3000},"inline",{"type":173,"tag":226,"props":3002,"children":3003},{"style":256},[3004],{"type":178,"value":558},{"type":173,"tag":226,"props":3006,"children":3007},{"style":250},[3008],{"type":178,"value":2875},{"type":173,"tag":226,"props":3010,"children":3011},{"style":256},[3012],{"type":178,"value":201},{"type":173,"tag":226,"props":3014,"children":3015},{"style":250},[3016],{"type":178,"value":2900},{"type":173,"tag":226,"props":3018,"children":3019},{"style":256},[3020],{"type":178,"value":201},{"type":173,"tag":226,"props":3022,"children":3023},{"style":250},[3024],{"type":178,"value":2909},{"type":173,"tag":226,"props":3026,"children":3027},{"style":256},[3028],{"type":178,"value":201},{"type":173,"tag":226,"props":3030,"children":3031},{"style":250},[3032],{"type":178,"value":2918},{"type":173,"tag":226,"props":3034,"children":3035},{"style":256},[3036],{"type":178,"value":201},{"type":173,"tag":226,"props":3038,"children":3039},{"style":250},[3040],{"type":178,"value":3000},{"type":173,"tag":226,"props":3042,"children":3043},{"style":256},[3044],{"type":178,"value":2955},{"type":173,"tag":226,"props":3046,"children":3047},{"style":431},[3048],{"type":178,"value":3049}," []\n",{"type":173,"tag":226,"props":3051,"children":3052},{"class":228,"line":1095},[3053,3057,3061,3065,3069,3073,3077,3081,3085,3089,3093,3098,3102,3107,3111,3115,3120,3124],{"type":173,"tag":226,"props":3054,"children":3055},{"style":250},[3056],{"type":178,"value":2891},{"type":173,"tag":226,"props":3058,"children":3059},{"style":256},[3060],{"type":178,"value":201},{"type":173,"tag":226,"props":3062,"children":3063},{"style":250},[3064],{"type":178,"value":2900},{"type":173,"tag":226,"props":3066,"children":3067},{"style":256},[3068],{"type":178,"value":201},{"type":173,"tag":226,"props":3070,"children":3071},{"style":250},[3072],{"type":178,"value":2909},{"type":173,"tag":226,"props":3074,"children":3075},{"style":256},[3076],{"type":178,"value":201},{"type":173,"tag":226,"props":3078,"children":3079},{"style":250},[3080],{"type":178,"value":2918},{"type":173,"tag":226,"props":3082,"children":3083},{"style":256},[3084],{"type":178,"value":201},{"type":173,"tag":226,"props":3086,"children":3087},{"style":250},[3088],{"type":178,"value":3000},{"type":173,"tag":226,"props":3090,"children":3091},{"style":256},[3092],{"type":178,"value":201},{"type":173,"tag":226,"props":3094,"children":3095},{"style":244},[3096],{"type":178,"value":3097},"push",{"type":173,"tag":226,"props":3099,"children":3100},{"style":431},[3101],{"type":178,"value":253},{"type":173,"tag":226,"props":3103,"children":3104},{"style":244},[3105],{"type":178,"value":3106},"resolve",{"type":173,"tag":226,"props":3108,"children":3109},{"style":431},[3110],{"type":178,"value":253},{"type":173,"tag":226,"props":3112,"children":3113},{"style":256},[3114],{"type":178,"value":438},{"type":173,"tag":226,"props":3116,"children":3117},{"style":441},[3118],{"type":178,"value":3119},"./my-module",{"type":173,"tag":226,"props":3121,"children":3122},{"style":256},[3123],{"type":178,"value":438},{"type":173,"tag":226,"props":3125,"children":3126},{"style":431},[3127],{"type":178,"value":3128},"))\n",{"type":173,"tag":226,"props":3130,"children":3131},{"class":228,"line":1103},[3132],{"type":173,"tag":226,"props":3133,"children":3134},{"style":287},[3135],{"type":178,"value":3136},"    // @ts-ignore\n",{"type":173,"tag":226,"props":3138,"children":3139},{"class":228,"line":1115},[3140,3144,3148,3152,3156,3160,3165,3169,3173,3177,3182,3186,3190],{"type":173,"tag":226,"props":3141,"children":3142},{"style":250},[3143],{"type":178,"value":2891},{"type":173,"tag":226,"props":3145,"children":3146},{"style":256},[3147],{"type":178,"value":201},{"type":173,"tag":226,"props":3149,"children":3150},{"style":244},[3151],{"type":178,"value":428},{"type":173,"tag":226,"props":3153,"children":3154},{"style":431},[3155],{"type":178,"value":253},{"type":173,"tag":226,"props":3157,"children":3158},{"style":256},[3159],{"type":178,"value":438},{"type":173,"tag":226,"props":3161,"children":3162},{"style":441},[3163],{"type":178,"value":3164},"content:context",{"type":173,"tag":226,"props":3166,"children":3167},{"style":256},[3168],{"type":178,"value":438},{"type":173,"tag":226,"props":3170,"children":3171},{"style":256},[3172],{"type":178,"value":452},{"type":173,"tag":226,"props":3174,"children":3175},{"style":256},[3176],{"type":178,"value":457},{"type":173,"tag":226,"props":3178,"children":3179},{"style":261},[3180],{"type":178,"value":3181},"contentContext",{"type":173,"tag":226,"props":3183,"children":3184},{"style":256},[3185],{"type":178,"value":269},{"type":173,"tag":226,"props":3187,"children":3188},{"style":272},[3189],{"type":178,"value":275},{"type":173,"tag":226,"props":3191,"children":3192},{"style":256},[3193],{"type":178,"value":280},{"type":173,"tag":226,"props":3195,"children":3196},{"class":228,"line":1326},[3197,3202,3206,3211,3215,3219,3223,3227,3231,3235,3240,3244],{"type":173,"tag":226,"props":3198,"children":3199},{"style":250},[3200],{"type":178,"value":3201},"      contentContext",{"type":173,"tag":226,"props":3203,"children":3204},{"style":256},[3205],{"type":178,"value":201},{"type":173,"tag":226,"props":3207,"children":3208},{"style":250},[3209],{"type":178,"value":3210},"transformers",{"type":173,"tag":226,"props":3212,"children":3213},{"style":256},[3214],{"type":178,"value":201},{"type":173,"tag":226,"props":3216,"children":3217},{"style":244},[3218],{"type":178,"value":3097},{"type":173,"tag":226,"props":3220,"children":3221},{"style":431},[3222],{"type":178,"value":253},{"type":173,"tag":226,"props":3224,"children":3225},{"style":244},[3226],{"type":178,"value":3106},{"type":173,"tag":226,"props":3228,"children":3229},{"style":431},[3230],{"type":178,"value":253},{"type":173,"tag":226,"props":3232,"children":3233},{"style":256},[3234],{"type":178,"value":438},{"type":173,"tag":226,"props":3236,"children":3237},{"style":441},[3238],{"type":178,"value":3239},"./my-module/my-transformer.ts",{"type":173,"tag":226,"props":3241,"children":3242},{"style":256},[3243],{"type":178,"value":438},{"type":173,"tag":226,"props":3245,"children":3246},{"style":431},[3247],{"type":178,"value":3128},{"type":173,"tag":226,"props":3249,"children":3250},{"class":228,"line":1339},[3251,3256],{"type":173,"tag":226,"props":3252,"children":3253},{"style":256},[3254],{"type":178,"value":3255},"    }",{"type":173,"tag":226,"props":3257,"children":3258},{"style":431},[3259],{"type":178,"value":304},{"type":173,"tag":226,"props":3261,"children":3262},{"class":228,"line":1348},[3263],{"type":173,"tag":226,"props":3264,"children":3265},{"style":256},[3266],{"type":178,"value":2710},{"type":173,"tag":226,"props":3268,"children":3269},{"class":228,"line":1361},[3270,3274],{"type":173,"tag":226,"props":3271,"children":3272},{"style":256},[3273],{"type":178,"value":299},{"type":173,"tag":226,"props":3275,"children":3276},{"style":250},[3277],{"type":178,"value":304},{"type":173,"tag":2325,"props":3279,"children":3280},{"start":293},[3281],{"type":173,"tag":334,"props":3282,"children":3283},{},[3284],{"type":178,"value":3285},"Register your module",{"type":173,"tag":215,"props":3287,"children":3290},{"className":217,"code":3288,"filename":3289,"language":220,"meta":167,"style":167},"// filename: my-module.mjs\nimport { resolve } from 'path'\nimport { defineNuxtConfig } from '@nuxt/kit'\nimport MyModule from './my-module'\n\nexport default defineNuxtConfig({\n  modules: [\n    // always put it before @nuxt/content because the transformers \n    // needs to be loaded before transformation occurs\n    MyModule,\n    '@nuxt/content'\n  ]\n})\n","nuxt.config.ts",[3291],{"type":173,"tag":184,"props":3292,"children":3293},{"__ignoreMap":167},[3294,3301,3336,3372,3401,3408,3431,3448,3456,3464,3476,3493,3501],{"type":173,"tag":226,"props":3295,"children":3296},{"class":228,"line":229},[3297],{"type":173,"tag":226,"props":3298,"children":3299},{"style":287},[3300],{"type":178,"value":2745},{"type":173,"tag":226,"props":3302,"children":3303},{"class":228,"line":283},[3304,3308,3312,3316,3320,3324,3328,3332],{"type":173,"tag":226,"props":3305,"children":3306},{"style":233},[3307],{"type":178,"value":723},{"type":173,"tag":226,"props":3309,"children":3310},{"style":256},[3311],{"type":178,"value":728},{"type":173,"tag":226,"props":3313,"children":3314},{"style":250},[3315],{"type":178,"value":2761},{"type":173,"tag":226,"props":3317,"children":3318},{"style":256},[3319],{"type":178,"value":738},{"type":173,"tag":226,"props":3321,"children":3322},{"style":233},[3323],{"type":178,"value":743},{"type":173,"tag":226,"props":3325,"children":3326},{"style":256},[3327],{"type":178,"value":613},{"type":173,"tag":226,"props":3329,"children":3330},{"style":441},[3331],{"type":178,"value":2778},{"type":173,"tag":226,"props":3333,"children":3334},{"style":256},[3335],{"type":178,"value":757},{"type":173,"tag":226,"props":3337,"children":3338},{"class":228,"line":293},[3339,3343,3347,3352,3356,3360,3364,3368],{"type":173,"tag":226,"props":3340,"children":3341},{"style":233},[3342],{"type":178,"value":723},{"type":173,"tag":226,"props":3344,"children":3345},{"style":256},[3346],{"type":178,"value":728},{"type":173,"tag":226,"props":3348,"children":3349},{"style":250},[3350],{"type":178,"value":3351}," defineNuxtConfig",{"type":173,"tag":226,"props":3353,"children":3354},{"style":256},[3355],{"type":178,"value":738},{"type":173,"tag":226,"props":3357,"children":3358},{"style":233},[3359],{"type":178,"value":743},{"type":173,"tag":226,"props":3361,"children":3362},{"style":256},[3363],{"type":178,"value":613},{"type":173,"tag":226,"props":3365,"children":3366},{"style":441},[3367],{"type":178,"value":2815},{"type":173,"tag":226,"props":3369,"children":3370},{"style":256},[3371],{"type":178,"value":757},{"type":173,"tag":226,"props":3373,"children":3374},{"class":228,"line":538},[3375,3379,3384,3389,3393,3397],{"type":173,"tag":226,"props":3376,"children":3377},{"style":233},[3378],{"type":178,"value":723},{"type":173,"tag":226,"props":3380,"children":3381},{"style":250},[3382],{"type":178,"value":3383}," MyModule ",{"type":173,"tag":226,"props":3385,"children":3386},{"style":233},[3387],{"type":178,"value":3388},"from",{"type":173,"tag":226,"props":3390,"children":3391},{"style":256},[3392],{"type":178,"value":613},{"type":173,"tag":226,"props":3394,"children":3395},{"style":441},[3396],{"type":178,"value":3119},{"type":173,"tag":226,"props":3398,"children":3399},{"style":256},[3400],{"type":178,"value":757},{"type":173,"tag":226,"props":3402,"children":3403},{"class":228,"line":629},[3404],{"type":173,"tag":226,"props":3405,"children":3406},{"emptyLinePlaceholder":763},[3407],{"type":178,"value":766},{"type":173,"tag":226,"props":3409,"children":3410},{"class":228,"line":638},[3411,3415,3419,3423,3427],{"type":173,"tag":226,"props":3412,"children":3413},{"style":233},[3414],{"type":178,"value":236},{"type":173,"tag":226,"props":3416,"children":3417},{"style":233},[3418],{"type":178,"value":241},{"type":173,"tag":226,"props":3420,"children":3421},{"style":244},[3422],{"type":178,"value":3351},{"type":173,"tag":226,"props":3424,"children":3425},{"style":250},[3426],{"type":178,"value":253},{"type":173,"tag":226,"props":3428,"children":3429},{"style":256},[3430],{"type":178,"value":535},{"type":173,"tag":226,"props":3432,"children":3433},{"class":228,"line":651},[3434,3439,3443],{"type":173,"tag":226,"props":3435,"children":3436},{"style":431},[3437],{"type":178,"value":3438},"  modules",{"type":173,"tag":226,"props":3440,"children":3441},{"style":256},[3442],{"type":178,"value":684},{"type":173,"tag":226,"props":3444,"children":3445},{"style":250},[3446],{"type":178,"value":3447}," [\n",{"type":173,"tag":226,"props":3449,"children":3450},{"class":228,"line":1082},[3451],{"type":173,"tag":226,"props":3452,"children":3453},{"style":287},[3454],{"type":178,"value":3455},"    // always put it before @nuxt/content because the transformers \n",{"type":173,"tag":226,"props":3457,"children":3458},{"class":228,"line":1095},[3459],{"type":173,"tag":226,"props":3460,"children":3461},{"style":287},[3462],{"type":178,"value":3463},"    // needs to be loaded before transformation occurs\n",{"type":173,"tag":226,"props":3465,"children":3466},{"class":228,"line":1103},[3467,3472],{"type":173,"tag":226,"props":3468,"children":3469},{"style":250},[3470],{"type":178,"value":3471},"    MyModule",{"type":173,"tag":226,"props":3473,"children":3474},{"style":256},[3475],{"type":178,"value":1243},{"type":173,"tag":226,"props":3477,"children":3478},{"class":228,"line":1115},[3479,3484,3489],{"type":173,"tag":226,"props":3480,"children":3481},{"style":256},[3482],{"type":178,"value":3483},"    '",{"type":173,"tag":226,"props":3485,"children":3486},{"style":441},[3487],{"type":178,"value":3488},"@nuxt/content",{"type":173,"tag":226,"props":3490,"children":3491},{"style":256},[3492],{"type":178,"value":757},{"type":173,"tag":226,"props":3494,"children":3495},{"class":228,"line":1326},[3496],{"type":173,"tag":226,"props":3497,"children":3498},{"style":250},[3499],{"type":178,"value":3500},"  ]\n",{"type":173,"tag":226,"props":3502,"children":3503},{"class":228,"line":1339},[3504,3508],{"type":173,"tag":226,"props":3505,"children":3506},{"style":256},[3507],{"type":178,"value":299},{"type":173,"tag":226,"props":3509,"children":3510},{"style":250},[3511],{"type":178,"value":304},{"type":173,"tag":174,"props":3513,"children":3514},{},[3515,3517,3521],{"type":178,"value":3516},"That's it. You can create ",{"type":173,"tag":184,"props":3518,"children":3519},{"className":167},[3520],{"type":178,"value":2513},{"type":178,"value":3522}," files in content directory. Checkout transformer example.",{"type":173,"tag":1126,"props":3524,"children":3525},{},[3526],{"type":178,"value":1130},{"title":167,"searchDepth":283,"depth":283,"links":3528},[],"content:6.recipes:2.transformers.md","6.recipes/2.transformers.md",1699441214760]