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