[{"data":1,"prerenderedAt":3624},["ShallowReactive",2],{"navigation":3,"docs-/recipes/hooks":164,"docs-/recipes/hooks-surround":1147},[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,"_stem":1145,"_extension":1146},"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","6.recipes/1.hooks","md",[1148,2464],{"_path":101,"_dir":1149,"_draft":166,"_partial":166,"_locale":167,"title":100,"description":1150,"body":1151,"_type":1141,"_id":2461,"_source":1143,"_file":2462,"_stem":2463,"_extension":1146},"document-driven","The useContent() composable gives access to the current page, surrounding pages and global data.",{"type":170,"children":1152,"toc":2456},[1153,1165,1415,1421,1426,1636,1642,2007,2013,2452],{"type":173,"tag":174,"props":1154,"children":1155},{},[1156,1158,1163],{"type":178,"value":1157},"When the document driven mode is enabled, ",{"type":173,"tag":184,"props":1159,"children":1161},{"className":1160},[],[1162],{"type":178,"value":100},{"type":178,"value":1164}," is available everywhere in your app and gives access to a list of refs based on your content.",{"type":173,"tag":217,"props":1166,"children":1169},{"className":1167,"code":1168,"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",[1170],{"type":173,"tag":184,"props":1171,"children":1172},{"__ignoreMap":167},[1173,1219,1231,1239,1252,1264,1276,1288,1296,1308,1320,1332,1345,1354,1367,1376,1398],{"type":173,"tag":228,"props":1174,"children":1175},{"class":230,"line":231},[1176,1181,1186,1191,1196,1201,1206,1210,1214],{"type":173,"tag":228,"props":1177,"children":1178},{"style":258},[1179],{"type":178,"value":1180},"\u003C",{"type":173,"tag":228,"props":1182,"children":1183},{"style":435},[1184],{"type":178,"value":1185},"script",{"type":173,"tag":228,"props":1187,"children":1188},{"style":274},[1189],{"type":178,"value":1190}," setup",{"type":173,"tag":228,"props":1192,"children":1193},{"style":274},[1194],{"type":178,"value":1195}," lang",{"type":173,"tag":228,"props":1197,"children":1198},{"style":258},[1199],{"type":178,"value":1200},"=",{"type":173,"tag":228,"props":1202,"children":1203},{"style":258},[1204],{"type":178,"value":1205},"\"",{"type":173,"tag":228,"props":1207,"children":1208},{"style":445},[1209],{"type":178,"value":222},{"type":173,"tag":228,"props":1211,"children":1212},{"style":258},[1213],{"type":178,"value":1205},{"type":173,"tag":228,"props":1215,"children":1216},{"style":258},[1217],{"type":178,"value":1218},">\n",{"type":173,"tag":228,"props":1220,"children":1221},{"class":230,"line":285},[1222,1227],{"type":173,"tag":228,"props":1223,"children":1224},{"style":274},[1225],{"type":178,"value":1226},"const",{"type":173,"tag":228,"props":1228,"children":1229},{"style":258},[1230],{"type":178,"value":282},{"type":173,"tag":228,"props":1232,"children":1233},{"class":230,"line":295},[1234],{"type":173,"tag":228,"props":1235,"children":1236},{"style":289},[1237],{"type":178,"value":1238},"  // Global references\n",{"type":173,"tag":228,"props":1240,"children":1241},{"class":230,"line":542},[1242,1247],{"type":173,"tag":228,"props":1243,"children":1244},{"style":252},[1245],{"type":178,"value":1246},"  globals",{"type":173,"tag":228,"props":1248,"children":1249},{"style":258},[1250],{"type":178,"value":1251},",\n",{"type":173,"tag":228,"props":1253,"children":1254},{"class":230,"line":633},[1255,1260],{"type":173,"tag":228,"props":1256,"children":1257},{"style":252},[1258],{"type":178,"value":1259},"  navigation",{"type":173,"tag":228,"props":1261,"children":1262},{"style":258},[1263],{"type":178,"value":1251},{"type":173,"tag":228,"props":1265,"children":1266},{"class":230,"line":642},[1267,1272],{"type":173,"tag":228,"props":1268,"children":1269},{"style":252},[1270],{"type":178,"value":1271},"  surround",{"type":173,"tag":228,"props":1273,"children":1274},{"style":258},[1275],{"type":178,"value":1251},{"type":173,"tag":228,"props":1277,"children":1278},{"class":230,"line":655},[1279,1284],{"type":173,"tag":228,"props":1280,"children":1281},{"style":252},[1282],{"type":178,"value":1283},"  page",{"type":173,"tag":228,"props":1285,"children":1286},{"style":258},[1287],{"type":178,"value":1251},{"type":173,"tag":228,"props":1289,"children":1290},{"class":230,"line":1088},[1291],{"type":173,"tag":228,"props":1292,"children":1293},{"style":289},[1294],{"type":178,"value":1295},"  // Computed properties from `page` key\n",{"type":173,"tag":228,"props":1297,"children":1298},{"class":230,"line":1101},[1299,1304],{"type":173,"tag":228,"props":1300,"children":1301},{"style":252},[1302],{"type":178,"value":1303},"  excerpt",{"type":173,"tag":228,"props":1305,"children":1306},{"style":258},[1307],{"type":178,"value":1251},{"type":173,"tag":228,"props":1309,"children":1310},{"class":230,"line":1109},[1311,1316],{"type":173,"tag":228,"props":1312,"children":1313},{"style":252},[1314],{"type":178,"value":1315},"  toc",{"type":173,"tag":228,"props":1317,"children":1318},{"style":258},[1319],{"type":178,"value":1251},{"type":173,"tag":228,"props":1321,"children":1322},{"class":230,"line":1121},[1323,1328],{"type":173,"tag":228,"props":1324,"children":1325},{"style":252},[1326],{"type":178,"value":1327},"  type",{"type":173,"tag":228,"props":1329,"children":1330},{"style":258},[1331],{"type":178,"value":1251},{"type":173,"tag":228,"props":1333,"children":1335},{"class":230,"line":1334},12,[1336,1341],{"type":173,"tag":228,"props":1337,"children":1338},{"style":252},[1339],{"type":178,"value":1340},"  layout",{"type":173,"tag":228,"props":1342,"children":1343},{"style":258},[1344],{"type":178,"value":1251},{"type":173,"tag":228,"props":1346,"children":1348},{"class":230,"line":1347},13,[1349],{"type":173,"tag":228,"props":1350,"children":1351},{"style":289},[1352],{"type":178,"value":1353},"  // Computed properties from `surround` key\n",{"type":173,"tag":228,"props":1355,"children":1357},{"class":230,"line":1356},14,[1358,1363],{"type":173,"tag":228,"props":1359,"children":1360},{"style":252},[1361],{"type":178,"value":1362},"  next",{"type":173,"tag":228,"props":1364,"children":1365},{"style":258},[1366],{"type":178,"value":1251},{"type":173,"tag":228,"props":1368,"children":1370},{"class":230,"line":1369},15,[1371],{"type":173,"tag":228,"props":1372,"children":1373},{"style":252},[1374],{"type":178,"value":1375},"  prev\n",{"type":173,"tag":228,"props":1377,"children":1379},{"class":230,"line":1378},16,[1380,1384,1388,1393],{"type":173,"tag":228,"props":1381,"children":1382},{"style":258},[1383],{"type":178,"value":301},{"type":173,"tag":228,"props":1385,"children":1386},{"style":258},[1387],{"type":178,"value":562},{"type":173,"tag":228,"props":1389,"children":1390},{"style":246},[1391],{"type":178,"value":1392}," useContent",{"type":173,"tag":228,"props":1394,"children":1395},{"style":252},[1396],{"type":178,"value":1397},"()\n",{"type":173,"tag":228,"props":1399,"children":1401},{"class":230,"line":1400},17,[1402,1407,1411],{"type":173,"tag":228,"props":1403,"children":1404},{"style":258},[1405],{"type":178,"value":1406},"\u003C/",{"type":173,"tag":228,"props":1408,"children":1409},{"style":435},[1410],{"type":178,"value":1185},{"type":173,"tag":228,"props":1412,"children":1413},{"style":258},[1414],{"type":178,"value":1218},{"type":173,"tag":308,"props":1416,"children":1418},{"id":1417},"rendering-the-page",[1419],{"type":178,"value":1420},"Rendering the page",{"type":173,"tag":174,"props":1422,"children":1423},{},[1424],{"type":178,"value":1425},"Rendering the current page becomes a bliss with this composable:",{"type":173,"tag":217,"props":1427,"children":1430},{"className":1167,"code":1428,"filename":1429,"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",[1431],{"type":173,"tag":184,"props":1432,"children":1433},{"__ignoreMap":167},[1434,1473,1505,1520,1527,1543,1621],{"type":173,"tag":228,"props":1435,"children":1436},{"class":230,"line":231},[1437,1441,1445,1449,1453,1457,1461,1465,1469],{"type":173,"tag":228,"props":1438,"children":1439},{"style":258},[1440],{"type":178,"value":1180},{"type":173,"tag":228,"props":1442,"children":1443},{"style":435},[1444],{"type":178,"value":1185},{"type":173,"tag":228,"props":1446,"children":1447},{"style":274},[1448],{"type":178,"value":1190},{"type":173,"tag":228,"props":1450,"children":1451},{"style":274},[1452],{"type":178,"value":1195},{"type":173,"tag":228,"props":1454,"children":1455},{"style":258},[1456],{"type":178,"value":1200},{"type":173,"tag":228,"props":1458,"children":1459},{"style":258},[1460],{"type":178,"value":1205},{"type":173,"tag":228,"props":1462,"children":1463},{"style":445},[1464],{"type":178,"value":222},{"type":173,"tag":228,"props":1466,"children":1467},{"style":258},[1468],{"type":178,"value":1205},{"type":173,"tag":228,"props":1470,"children":1471},{"style":258},[1472],{"type":178,"value":1218},{"type":173,"tag":228,"props":1474,"children":1475},{"class":230,"line":285},[1476,1480,1484,1489,1493,1497,1501],{"type":173,"tag":228,"props":1477,"children":1478},{"style":274},[1479],{"type":178,"value":1226},{"type":173,"tag":228,"props":1481,"children":1482},{"style":258},[1483],{"type":178,"value":734},{"type":173,"tag":228,"props":1485,"children":1486},{"style":252},[1487],{"type":178,"value":1488}," page ",{"type":173,"tag":228,"props":1490,"children":1491},{"style":258},[1492],{"type":178,"value":301},{"type":173,"tag":228,"props":1494,"children":1495},{"style":258},[1496],{"type":178,"value":562},{"type":173,"tag":228,"props":1498,"children":1499},{"style":246},[1500],{"type":178,"value":1392},{"type":173,"tag":228,"props":1502,"children":1503},{"style":252},[1504],{"type":178,"value":1397},{"type":173,"tag":228,"props":1506,"children":1507},{"class":230,"line":295},[1508,1512,1516],{"type":173,"tag":228,"props":1509,"children":1510},{"style":258},[1511],{"type":178,"value":1406},{"type":173,"tag":228,"props":1513,"children":1514},{"style":435},[1515],{"type":178,"value":1185},{"type":173,"tag":228,"props":1517,"children":1518},{"style":258},[1519],{"type":178,"value":1218},{"type":173,"tag":228,"props":1521,"children":1522},{"class":230,"line":542},[1523],{"type":173,"tag":228,"props":1524,"children":1525},{"emptyLinePlaceholder":769},[1526],{"type":178,"value":772},{"type":173,"tag":228,"props":1528,"children":1529},{"class":230,"line":633},[1530,1534,1539],{"type":173,"tag":228,"props":1531,"children":1532},{"style":258},[1533],{"type":178,"value":1180},{"type":173,"tag":228,"props":1535,"children":1536},{"style":435},[1537],{"type":178,"value":1538},"template",{"type":173,"tag":228,"props":1540,"children":1541},{"style":258},[1542],{"type":178,"value":1218},{"type":173,"tag":228,"props":1544,"children":1545},{"class":230,"line":642},[1546,1551,1556,1561,1566,1570,1574,1579,1583,1587,1591,1595,1600,1604,1608,1612,1616],{"type":173,"tag":228,"props":1547,"children":1548},{"style":258},[1549],{"type":178,"value":1550},"  \u003C",{"type":173,"tag":228,"props":1552,"children":1553},{"style":435},[1554],{"type":178,"value":1555},"ContentRenderer",{"type":173,"tag":228,"props":1557,"children":1558},{"style":258},[1559],{"type":178,"value":1560}," :",{"type":173,"tag":228,"props":1562,"children":1563},{"style":274},[1564],{"type":178,"value":1565},"key",{"type":173,"tag":228,"props":1567,"children":1568},{"style":258},[1569],{"type":178,"value":1200},{"type":173,"tag":228,"props":1571,"children":1572},{"style":258},[1573],{"type":178,"value":1205},{"type":173,"tag":228,"props":1575,"children":1576},{"style":252},[1577],{"type":178,"value":1578},"page",{"type":173,"tag":228,"props":1580,"children":1581},{"style":258},[1582],{"type":178,"value":202},{"type":173,"tag":228,"props":1584,"children":1585},{"style":252},[1586],{"type":178,"value":503},{"type":173,"tag":228,"props":1588,"children":1589},{"style":258},[1590],{"type":178,"value":1205},{"type":173,"tag":228,"props":1592,"children":1593},{"style":258},[1594],{"type":178,"value":1560},{"type":173,"tag":228,"props":1596,"children":1597},{"style":274},[1598],{"type":178,"value":1599},"value",{"type":173,"tag":228,"props":1601,"children":1602},{"style":258},[1603],{"type":178,"value":1200},{"type":173,"tag":228,"props":1605,"children":1606},{"style":258},[1607],{"type":178,"value":1205},{"type":173,"tag":228,"props":1609,"children":1610},{"style":252},[1611],{"type":178,"value":1578},{"type":173,"tag":228,"props":1613,"children":1614},{"style":258},[1615],{"type":178,"value":1205},{"type":173,"tag":228,"props":1617,"children":1618},{"style":258},[1619],{"type":178,"value":1620}," />\n",{"type":173,"tag":228,"props":1622,"children":1623},{"class":230,"line":655},[1624,1628,1632],{"type":173,"tag":228,"props":1625,"children":1626},{"style":258},[1627],{"type":178,"value":1406},{"type":173,"tag":228,"props":1629,"children":1630},{"style":435},[1631],{"type":178,"value":1538},{"type":173,"tag":228,"props":1633,"children":1634},{"style":258},[1635],{"type":178,"value":1218},{"type":173,"tag":308,"props":1637,"children":1639},{"id":1638},"previousnext-page-component",[1640],{"type":178,"value":1641},"Previous/next page component",{"type":173,"tag":217,"props":1643,"children":1646},{"className":1167,"code":1644,"filename":1645,"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",[1647],{"type":173,"tag":184,"props":1648,"children":1649},{"__ignoreMap":167},[1650,1689,1730,1745,1752,1767,1783,1883,1976,1992],{"type":173,"tag":228,"props":1651,"children":1652},{"class":230,"line":231},[1653,1657,1661,1665,1669,1673,1677,1681,1685],{"type":173,"tag":228,"props":1654,"children":1655},{"style":258},[1656],{"type":178,"value":1180},{"type":173,"tag":228,"props":1658,"children":1659},{"style":435},[1660],{"type":178,"value":1185},{"type":173,"tag":228,"props":1662,"children":1663},{"style":274},[1664],{"type":178,"value":1190},{"type":173,"tag":228,"props":1666,"children":1667},{"style":274},[1668],{"type":178,"value":1195},{"type":173,"tag":228,"props":1670,"children":1671},{"style":258},[1672],{"type":178,"value":1200},{"type":173,"tag":228,"props":1674,"children":1675},{"style":258},[1676],{"type":178,"value":1205},{"type":173,"tag":228,"props":1678,"children":1679},{"style":445},[1680],{"type":178,"value":222},{"type":173,"tag":228,"props":1682,"children":1683},{"style":258},[1684],{"type":178,"value":1205},{"type":173,"tag":228,"props":1686,"children":1687},{"style":258},[1688],{"type":178,"value":1218},{"type":173,"tag":228,"props":1690,"children":1691},{"class":230,"line":285},[1692,1696,1700,1705,1709,1714,1718,1722,1726],{"type":173,"tag":228,"props":1693,"children":1694},{"style":274},[1695],{"type":178,"value":1226},{"type":173,"tag":228,"props":1697,"children":1698},{"style":258},[1699],{"type":178,"value":734},{"type":173,"tag":228,"props":1701,"children":1702},{"style":252},[1703],{"type":178,"value":1704}," prev",{"type":173,"tag":228,"props":1706,"children":1707},{"style":258},[1708],{"type":178,"value":456},{"type":173,"tag":228,"props":1710,"children":1711},{"style":252},[1712],{"type":178,"value":1713}," next ",{"type":173,"tag":228,"props":1715,"children":1716},{"style":258},[1717],{"type":178,"value":301},{"type":173,"tag":228,"props":1719,"children":1720},{"style":258},[1721],{"type":178,"value":562},{"type":173,"tag":228,"props":1723,"children":1724},{"style":246},[1725],{"type":178,"value":1392},{"type":173,"tag":228,"props":1727,"children":1728},{"style":252},[1729],{"type":178,"value":1397},{"type":173,"tag":228,"props":1731,"children":1732},{"class":230,"line":295},[1733,1737,1741],{"type":173,"tag":228,"props":1734,"children":1735},{"style":258},[1736],{"type":178,"value":1406},{"type":173,"tag":228,"props":1738,"children":1739},{"style":435},[1740],{"type":178,"value":1185},{"type":173,"tag":228,"props":1742,"children":1743},{"style":258},[1744],{"type":178,"value":1218},{"type":173,"tag":228,"props":1746,"children":1747},{"class":230,"line":542},[1748],{"type":173,"tag":228,"props":1749,"children":1750},{"emptyLinePlaceholder":769},[1751],{"type":178,"value":772},{"type":173,"tag":228,"props":1753,"children":1754},{"class":230,"line":633},[1755,1759,1763],{"type":173,"tag":228,"props":1756,"children":1757},{"style":258},[1758],{"type":178,"value":1180},{"type":173,"tag":228,"props":1760,"children":1761},{"style":435},[1762],{"type":178,"value":1538},{"type":173,"tag":228,"props":1764,"children":1765},{"style":258},[1766],{"type":178,"value":1218},{"type":173,"tag":228,"props":1768,"children":1769},{"class":230,"line":642},[1770,1774,1779],{"type":173,"tag":228,"props":1771,"children":1772},{"style":258},[1773],{"type":178,"value":1550},{"type":173,"tag":228,"props":1775,"children":1776},{"style":435},[1777],{"type":178,"value":1778},"div",{"type":173,"tag":228,"props":1780,"children":1781},{"style":258},[1782],{"type":178,"value":1218},{"type":173,"tag":228,"props":1784,"children":1785},{"class":230,"line":655},[1786,1791,1796,1801,1805,1809,1814,1818,1822,1827,1831,1835,1839,1843,1848,1852,1857,1861,1865,1870,1875,1879],{"type":173,"tag":228,"props":1787,"children":1788},{"style":258},[1789],{"type":178,"value":1790},"    \u003C",{"type":173,"tag":228,"props":1792,"children":1793},{"style":435},[1794],{"type":178,"value":1795},"NuxtLink",{"type":173,"tag":228,"props":1797,"children":1798},{"style":235},[1799],{"type":178,"value":1800}," v-if",{"type":173,"tag":228,"props":1802,"children":1803},{"style":258},[1804],{"type":178,"value":1200},{"type":173,"tag":228,"props":1806,"children":1807},{"style":258},[1808],{"type":178,"value":1205},{"type":173,"tag":228,"props":1810,"children":1811},{"style":252},[1812],{"type":178,"value":1813},"prev",{"type":173,"tag":228,"props":1815,"children":1816},{"style":258},[1817],{"type":178,"value":1205},{"type":173,"tag":228,"props":1819,"children":1820},{"style":258},[1821],{"type":178,"value":1560},{"type":173,"tag":228,"props":1823,"children":1824},{"style":274},[1825],{"type":178,"value":1826},"to",{"type":173,"tag":228,"props":1828,"children":1829},{"style":258},[1830],{"type":178,"value":1200},{"type":173,"tag":228,"props":1832,"children":1833},{"style":258},[1834],{"type":178,"value":1205},{"type":173,"tag":228,"props":1836,"children":1837},{"style":252},[1838],{"type":178,"value":1813},{"type":173,"tag":228,"props":1840,"children":1841},{"style":258},[1842],{"type":178,"value":202},{"type":173,"tag":228,"props":1844,"children":1845},{"style":252},[1846],{"type":178,"value":1847},"_path",{"type":173,"tag":228,"props":1849,"children":1850},{"style":258},[1851],{"type":178,"value":1205},{"type":173,"tag":228,"props":1853,"children":1854},{"style":258},[1855],{"type":178,"value":1856},">{{",{"type":173,"tag":228,"props":1858,"children":1859},{"style":252},[1860],{"type":178,"value":1704},{"type":173,"tag":228,"props":1862,"children":1863},{"style":258},[1864],{"type":178,"value":202},{"type":173,"tag":228,"props":1866,"children":1867},{"style":252},[1868],{"type":178,"value":1869},"title ",{"type":173,"tag":228,"props":1871,"children":1872},{"style":258},[1873],{"type":178,"value":1874},"}}\u003C/",{"type":173,"tag":228,"props":1876,"children":1877},{"style":435},[1878],{"type":178,"value":1795},{"type":173,"tag":228,"props":1880,"children":1881},{"style":258},[1882],{"type":178,"value":1218},{"type":173,"tag":228,"props":1884,"children":1885},{"class":230,"line":1088},[1886,1890,1894,1898,1902,1906,1911,1915,1919,1923,1927,1931,1935,1939,1943,1947,1951,1956,1960,1964,1968,1972],{"type":173,"tag":228,"props":1887,"children":1888},{"style":258},[1889],{"type":178,"value":1790},{"type":173,"tag":228,"props":1891,"children":1892},{"style":435},[1893],{"type":178,"value":1795},{"type":173,"tag":228,"props":1895,"children":1896},{"style":235},[1897],{"type":178,"value":1800},{"type":173,"tag":228,"props":1899,"children":1900},{"style":258},[1901],{"type":178,"value":1200},{"type":173,"tag":228,"props":1903,"children":1904},{"style":258},[1905],{"type":178,"value":1205},{"type":173,"tag":228,"props":1907,"children":1908},{"style":252},[1909],{"type":178,"value":1910},"next",{"type":173,"tag":228,"props":1912,"children":1913},{"style":258},[1914],{"type":178,"value":1205},{"type":173,"tag":228,"props":1916,"children":1917},{"style":258},[1918],{"type":178,"value":1560},{"type":173,"tag":228,"props":1920,"children":1921},{"style":274},[1922],{"type":178,"value":1826},{"type":173,"tag":228,"props":1924,"children":1925},{"style":258},[1926],{"type":178,"value":1200},{"type":173,"tag":228,"props":1928,"children":1929},{"style":258},[1930],{"type":178,"value":1205},{"type":173,"tag":228,"props":1932,"children":1933},{"style":252},[1934],{"type":178,"value":1910},{"type":173,"tag":228,"props":1936,"children":1937},{"style":258},[1938],{"type":178,"value":202},{"type":173,"tag":228,"props":1940,"children":1941},{"style":252},[1942],{"type":178,"value":1847},{"type":173,"tag":228,"props":1944,"children":1945},{"style":258},[1946],{"type":178,"value":1205},{"type":173,"tag":228,"props":1948,"children":1949},{"style":258},[1950],{"type":178,"value":1856},{"type":173,"tag":228,"props":1952,"children":1953},{"style":252},[1954],{"type":178,"value":1955}," next",{"type":173,"tag":228,"props":1957,"children":1958},{"style":258},[1959],{"type":178,"value":202},{"type":173,"tag":228,"props":1961,"children":1962},{"style":252},[1963],{"type":178,"value":1869},{"type":173,"tag":228,"props":1965,"children":1966},{"style":258},[1967],{"type":178,"value":1874},{"type":173,"tag":228,"props":1969,"children":1970},{"style":435},[1971],{"type":178,"value":1795},{"type":173,"tag":228,"props":1973,"children":1974},{"style":258},[1975],{"type":178,"value":1218},{"type":173,"tag":228,"props":1977,"children":1978},{"class":230,"line":1101},[1979,1984,1988],{"type":173,"tag":228,"props":1980,"children":1981},{"style":258},[1982],{"type":178,"value":1983},"  \u003C/",{"type":173,"tag":228,"props":1985,"children":1986},{"style":435},[1987],{"type":178,"value":1778},{"type":173,"tag":228,"props":1989,"children":1990},{"style":258},[1991],{"type":178,"value":1218},{"type":173,"tag":228,"props":1993,"children":1994},{"class":230,"line":1109},[1995,1999,2003],{"type":173,"tag":228,"props":1996,"children":1997},{"style":258},[1998],{"type":178,"value":1406},{"type":173,"tag":228,"props":2000,"children":2001},{"style":435},[2002],{"type":178,"value":1538},{"type":173,"tag":228,"props":2004,"children":2005},{"style":258},[2006],{"type":178,"value":1218},{"type":173,"tag":308,"props":2008,"children":2010},{"id":2009},"table-of-contents-component",[2011],{"type":178,"value":2012},"Table of Contents component",{"type":173,"tag":217,"props":2014,"children":2017},{"className":1167,"code":2015,"filename":2016,"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",[2018],{"type":173,"tag":184,"props":2019,"children":2020},{"__ignoreMap":167},[2021,2060,2092,2107,2114,2129,2144,2198,2285,2347,2374,2390,2406,2422,2437],{"type":173,"tag":228,"props":2022,"children":2023},{"class":230,"line":231},[2024,2028,2032,2036,2040,2044,2048,2052,2056],{"type":173,"tag":228,"props":2025,"children":2026},{"style":258},[2027],{"type":178,"value":1180},{"type":173,"tag":228,"props":2029,"children":2030},{"style":435},[2031],{"type":178,"value":1185},{"type":173,"tag":228,"props":2033,"children":2034},{"style":274},[2035],{"type":178,"value":1190},{"type":173,"tag":228,"props":2037,"children":2038},{"style":274},[2039],{"type":178,"value":1195},{"type":173,"tag":228,"props":2041,"children":2042},{"style":258},[2043],{"type":178,"value":1200},{"type":173,"tag":228,"props":2045,"children":2046},{"style":258},[2047],{"type":178,"value":1205},{"type":173,"tag":228,"props":2049,"children":2050},{"style":445},[2051],{"type":178,"value":222},{"type":173,"tag":228,"props":2053,"children":2054},{"style":258},[2055],{"type":178,"value":1205},{"type":173,"tag":228,"props":2057,"children":2058},{"style":258},[2059],{"type":178,"value":1218},{"type":173,"tag":228,"props":2061,"children":2062},{"class":230,"line":285},[2063,2067,2071,2076,2080,2084,2088],{"type":173,"tag":228,"props":2064,"children":2065},{"style":274},[2066],{"type":178,"value":1226},{"type":173,"tag":228,"props":2068,"children":2069},{"style":258},[2070],{"type":178,"value":734},{"type":173,"tag":228,"props":2072,"children":2073},{"style":252},[2074],{"type":178,"value":2075}," toc ",{"type":173,"tag":228,"props":2077,"children":2078},{"style":258},[2079],{"type":178,"value":301},{"type":173,"tag":228,"props":2081,"children":2082},{"style":258},[2083],{"type":178,"value":562},{"type":173,"tag":228,"props":2085,"children":2086},{"style":246},[2087],{"type":178,"value":1392},{"type":173,"tag":228,"props":2089,"children":2090},{"style":252},[2091],{"type":178,"value":1397},{"type":173,"tag":228,"props":2093,"children":2094},{"class":230,"line":295},[2095,2099,2103],{"type":173,"tag":228,"props":2096,"children":2097},{"style":258},[2098],{"type":178,"value":1406},{"type":173,"tag":228,"props":2100,"children":2101},{"style":435},[2102],{"type":178,"value":1185},{"type":173,"tag":228,"props":2104,"children":2105},{"style":258},[2106],{"type":178,"value":1218},{"type":173,"tag":228,"props":2108,"children":2109},{"class":230,"line":542},[2110],{"type":173,"tag":228,"props":2111,"children":2112},{"emptyLinePlaceholder":769},[2113],{"type":178,"value":772},{"type":173,"tag":228,"props":2115,"children":2116},{"class":230,"line":633},[2117,2121,2125],{"type":173,"tag":228,"props":2118,"children":2119},{"style":258},[2120],{"type":178,"value":1180},{"type":173,"tag":228,"props":2122,"children":2123},{"style":435},[2124],{"type":178,"value":1538},{"type":173,"tag":228,"props":2126,"children":2127},{"style":258},[2128],{"type":178,"value":1218},{"type":173,"tag":228,"props":2130,"children":2131},{"class":230,"line":642},[2132,2136,2140],{"type":173,"tag":228,"props":2133,"children":2134},{"style":258},[2135],{"type":178,"value":1550},{"type":173,"tag":228,"props":2137,"children":2138},{"style":435},[2139],{"type":178,"value":1778},{"type":173,"tag":228,"props":2141,"children":2142},{"style":258},[2143],{"type":178,"value":1218},{"type":173,"tag":228,"props":2145,"children":2146},{"class":230,"line":655},[2147,2151,2155,2159,2163,2167,2172,2177,2181,2185,2190,2194],{"type":173,"tag":228,"props":2148,"children":2149},{"style":258},[2150],{"type":178,"value":1790},{"type":173,"tag":228,"props":2152,"children":2153},{"style":435},[2154],{"type":178,"value":333},{"type":173,"tag":228,"props":2156,"children":2157},{"style":235},[2158],{"type":178,"value":1800},{"type":173,"tag":228,"props":2160,"children":2161},{"style":258},[2162],{"type":178,"value":1200},{"type":173,"tag":228,"props":2164,"children":2165},{"style":258},[2166],{"type":178,"value":1205},{"type":173,"tag":228,"props":2168,"children":2169},{"style":252},[2170],{"type":178,"value":2171},"toc",{"type":173,"tag":228,"props":2173,"children":2174},{"style":258},[2175],{"type":178,"value":2176}," && ",{"type":173,"tag":228,"props":2178,"children":2179},{"style":252},[2180],{"type":178,"value":2171},{"type":173,"tag":228,"props":2182,"children":2183},{"style":258},[2184],{"type":178,"value":202},{"type":173,"tag":228,"props":2186,"children":2187},{"style":252},[2188],{"type":178,"value":2189},"links",{"type":173,"tag":228,"props":2191,"children":2192},{"style":258},[2193],{"type":178,"value":1205},{"type":173,"tag":228,"props":2195,"children":2196},{"style":258},[2197],{"type":178,"value":1218},{"type":173,"tag":228,"props":2199,"children":2200},{"class":230,"line":1088},[2201,2206,2210,2215,2219,2223,2228,2233,2237,2241,2245,2249,2253,2257,2261,2265,2269,2273,2277,2281],{"type":173,"tag":228,"props":2202,"children":2203},{"style":258},[2204],{"type":178,"value":2205},"      \u003C",{"type":173,"tag":228,"props":2207,"children":2208},{"style":435},[2209],{"type":178,"value":337},{"type":173,"tag":228,"props":2211,"children":2212},{"style":235},[2213],{"type":178,"value":2214}," v-for",{"type":173,"tag":228,"props":2216,"children":2217},{"style":258},[2218],{"type":178,"value":1200},{"type":173,"tag":228,"props":2220,"children":2221},{"style":258},[2222],{"type":178,"value":1205},{"type":173,"tag":228,"props":2224,"children":2225},{"style":252},[2226],{"type":178,"value":2227},"link",{"type":173,"tag":228,"props":2229,"children":2230},{"style":258},[2231],{"type":178,"value":2232}," in ",{"type":173,"tag":228,"props":2234,"children":2235},{"style":252},[2236],{"type":178,"value":2171},{"type":173,"tag":228,"props":2238,"children":2239},{"style":258},[2240],{"type":178,"value":202},{"type":173,"tag":228,"props":2242,"children":2243},{"style":252},[2244],{"type":178,"value":2189},{"type":173,"tag":228,"props":2246,"children":2247},{"style":258},[2248],{"type":178,"value":1205},{"type":173,"tag":228,"props":2250,"children":2251},{"style":258},[2252],{"type":178,"value":1560},{"type":173,"tag":228,"props":2254,"children":2255},{"style":274},[2256],{"type":178,"value":1565},{"type":173,"tag":228,"props":2258,"children":2259},{"style":258},[2260],{"type":178,"value":1200},{"type":173,"tag":228,"props":2262,"children":2263},{"style":258},[2264],{"type":178,"value":1205},{"type":173,"tag":228,"props":2266,"children":2267},{"style":252},[2268],{"type":178,"value":2227},{"type":173,"tag":228,"props":2270,"children":2271},{"style":258},[2272],{"type":178,"value":202},{"type":173,"tag":228,"props":2274,"children":2275},{"style":252},[2276],{"type":178,"value":178},{"type":173,"tag":228,"props":2278,"children":2279},{"style":258},[2280],{"type":178,"value":1205},{"type":173,"tag":228,"props":2282,"children":2283},{"style":258},[2284],{"type":178,"value":1218},{"type":173,"tag":228,"props":2286,"children":2287},{"class":230,"line":1101},[2288,2293,2297,2301,2306,2310,2315,2320,2325,2329,2333,2338,2343],{"type":173,"tag":228,"props":2289,"children":2290},{"style":258},[2291],{"type":178,"value":2292},"        \u003C",{"type":173,"tag":228,"props":2294,"children":2295},{"style":435},[2296],{"type":178,"value":193},{"type":173,"tag":228,"props":2298,"children":2299},{"style":258},[2300],{"type":178,"value":1560},{"type":173,"tag":228,"props":2302,"children":2303},{"style":274},[2304],{"type":178,"value":2305},"href",{"type":173,"tag":228,"props":2307,"children":2308},{"style":258},[2309],{"type":178,"value":1200},{"type":173,"tag":228,"props":2311,"children":2312},{"style":258},[2313],{"type":178,"value":2314},"\"`",{"type":173,"tag":228,"props":2316,"children":2317},{"style":445},[2318],{"type":178,"value":2319},"#",{"type":173,"tag":228,"props":2321,"children":2322},{"style":258},[2323],{"type":178,"value":2324},"${",{"type":173,"tag":228,"props":2326,"children":2327},{"style":252},[2328],{"type":178,"value":2227},{"type":173,"tag":228,"props":2330,"children":2331},{"style":258},[2332],{"type":178,"value":202},{"type":173,"tag":228,"props":2334,"children":2335},{"style":252},[2336],{"type":178,"value":2337},"id",{"type":173,"tag":228,"props":2339,"children":2340},{"style":258},[2341],{"type":178,"value":2342},"}`\"",{"type":173,"tag":228,"props":2344,"children":2345},{"style":258},[2346],{"type":178,"value":1218},{"type":173,"tag":228,"props":2348,"children":2349},{"class":230,"line":1109},[2350,2355,2360,2364,2369],{"type":173,"tag":228,"props":2351,"children":2352},{"style":258},[2353],{"type":178,"value":2354},"          {{",{"type":173,"tag":228,"props":2356,"children":2357},{"style":252},[2358],{"type":178,"value":2359}," link",{"type":173,"tag":228,"props":2361,"children":2362},{"style":258},[2363],{"type":178,"value":202},{"type":173,"tag":228,"props":2365,"children":2366},{"style":252},[2367],{"type":178,"value":2368},"text ",{"type":173,"tag":228,"props":2370,"children":2371},{"style":258},[2372],{"type":178,"value":2373},"}}\n",{"type":173,"tag":228,"props":2375,"children":2376},{"class":230,"line":1121},[2377,2382,2386],{"type":173,"tag":228,"props":2378,"children":2379},{"style":258},[2380],{"type":178,"value":2381},"        \u003C/",{"type":173,"tag":228,"props":2383,"children":2384},{"style":435},[2385],{"type":178,"value":193},{"type":173,"tag":228,"props":2387,"children":2388},{"style":258},[2389],{"type":178,"value":1218},{"type":173,"tag":228,"props":2391,"children":2392},{"class":230,"line":1334},[2393,2398,2402],{"type":173,"tag":228,"props":2394,"children":2395},{"style":258},[2396],{"type":178,"value":2397},"      \u003C/",{"type":173,"tag":228,"props":2399,"children":2400},{"style":435},[2401],{"type":178,"value":337},{"type":173,"tag":228,"props":2403,"children":2404},{"style":258},[2405],{"type":178,"value":1218},{"type":173,"tag":228,"props":2407,"children":2408},{"class":230,"line":1347},[2409,2414,2418],{"type":173,"tag":228,"props":2410,"children":2411},{"style":258},[2412],{"type":178,"value":2413},"    \u003C/",{"type":173,"tag":228,"props":2415,"children":2416},{"style":435},[2417],{"type":178,"value":333},{"type":173,"tag":228,"props":2419,"children":2420},{"style":258},[2421],{"type":178,"value":1218},{"type":173,"tag":228,"props":2423,"children":2424},{"class":230,"line":1356},[2425,2429,2433],{"type":173,"tag":228,"props":2426,"children":2427},{"style":258},[2428],{"type":178,"value":1983},{"type":173,"tag":228,"props":2430,"children":2431},{"style":435},[2432],{"type":178,"value":1778},{"type":173,"tag":228,"props":2434,"children":2435},{"style":258},[2436],{"type":178,"value":1218},{"type":173,"tag":228,"props":2438,"children":2439},{"class":230,"line":1369},[2440,2444,2448],{"type":173,"tag":228,"props":2441,"children":2442},{"style":258},[2443],{"type":178,"value":1406},{"type":173,"tag":228,"props":2445,"children":2446},{"style":435},[2447],{"type":178,"value":1538},{"type":173,"tag":228,"props":2449,"children":2450},{"style":258},[2451],{"type":178,"value":1218},{"type":173,"tag":1132,"props":2453,"children":2454},{},[2455],{"type":178,"value":1136},{"title":167,"searchDepth":285,"depth":285,"links":2457},[2458,2459,2460],{"id":1417,"depth":285,"text":1420},{"id":1638,"depth":285,"text":1641},{"id":2009,"depth":285,"text":2012},"content:5.document-driven:2.use-content.md","5.document-driven/2.use-content.md","5.document-driven/2.use-content",{"_path":111,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":110,"description":2465,"body":2466,"_type":1141,"_id":3621,"_source":1143,"_file":3622,"_stem":3623,"_extension":1146},"Transformers are responsible for parsing and manipulating contents in Nuxt Content.",{"type":170,"children":2467,"toc":3619},[2468,2473,2478,2534,2897,2905,3445,3453,3603,3615],{"type":173,"tag":174,"props":2469,"children":2470},{},[2471],{"type":178,"value":2472},"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":2474,"children":2475},{},[2476],{"type":178,"value":2477},"You can create custom transformers to support new content types or improve functionalities of supported content types.",{"type":173,"tag":2479,"props":2480,"children":2481},"ol",{},[2482],{"type":173,"tag":337,"props":2483,"children":2484},{},[2485,2487],{"type":178,"value":2486},"Create your transformer. A transformer consists of 4 parts:\n",{"type":173,"tag":333,"props":2488,"children":2489},{},[2490,2501,2512,2523],{"type":173,"tag":337,"props":2491,"children":2492},{},[2493,2499],{"type":173,"tag":184,"props":2494,"children":2496},{"className":2495},[],[2497],{"type":178,"value":2498},"name",{"type":178,"value":2500},": Transformer name.",{"type":173,"tag":337,"props":2502,"children":2503},{},[2504,2510],{"type":173,"tag":184,"props":2505,"children":2507},{"className":2506},[],[2508],{"type":178,"value":2509},"extensions",{"type":178,"value":2511},": List of valid file extensions.",{"type":173,"tag":337,"props":2513,"children":2514},{},[2515,2521],{"type":173,"tag":184,"props":2516,"children":2518},{"className":2517},[],[2519],{"type":178,"value":2520},"parse",{"type":178,"value":2522},": If provided, this function will be used to parse the raw content.",{"type":173,"tag":337,"props":2524,"children":2525},{},[2526,2532],{"type":173,"tag":184,"props":2527,"children":2529},{"className":2528},[],[2530],{"type":178,"value":2531},"transform",{"type":178,"value":2533},": Receives that parsed content and manipulates it.",{"type":173,"tag":217,"props":2535,"children":2538},{"className":219,"code":2536,"filename":2537,"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",[2539],{"type":173,"tag":184,"props":2540,"children":2541},{"__ignoreMap":167},[2542,2550,2587,2594,2617,2646,2685,2735,2747,2759,2871,2878,2886],{"type":173,"tag":228,"props":2543,"children":2544},{"class":230,"line":231},[2545],{"type":173,"tag":228,"props":2546,"children":2547},{"style":289},[2548],{"type":178,"value":2549},"// @ts-expect-error\n",{"type":173,"tag":228,"props":2551,"children":2552},{"class":230,"line":285},[2553,2557,2561,2566,2570,2574,2578,2583],{"type":173,"tag":228,"props":2554,"children":2555},{"style":235},[2556],{"type":178,"value":729},{"type":173,"tag":228,"props":2558,"children":2559},{"style":258},[2560],{"type":178,"value":734},{"type":173,"tag":228,"props":2562,"children":2563},{"style":252},[2564],{"type":178,"value":2565}," defineTransformer",{"type":173,"tag":228,"props":2567,"children":2568},{"style":258},[2569],{"type":178,"value":744},{"type":173,"tag":228,"props":2571,"children":2572},{"style":235},[2573],{"type":178,"value":749},{"type":173,"tag":228,"props":2575,"children":2576},{"style":258},[2577],{"type":178,"value":617},{"type":173,"tag":228,"props":2579,"children":2580},{"style":445},[2581],{"type":178,"value":2582},"@nuxt/content/transformers",{"type":173,"tag":228,"props":2584,"children":2585},{"style":258},[2586],{"type":178,"value":763},{"type":173,"tag":228,"props":2588,"children":2589},{"class":230,"line":295},[2590],{"type":173,"tag":228,"props":2591,"children":2592},{"emptyLinePlaceholder":769},[2593],{"type":178,"value":772},{"type":173,"tag":228,"props":2595,"children":2596},{"class":230,"line":542},[2597,2601,2605,2609,2613],{"type":173,"tag":228,"props":2598,"children":2599},{"style":235},[2600],{"type":178,"value":238},{"type":173,"tag":228,"props":2602,"children":2603},{"style":235},[2604],{"type":178,"value":243},{"type":173,"tag":228,"props":2606,"children":2607},{"style":246},[2608],{"type":178,"value":2565},{"type":173,"tag":228,"props":2610,"children":2611},{"style":252},[2612],{"type":178,"value":255},{"type":173,"tag":228,"props":2614,"children":2615},{"style":258},[2616],{"type":178,"value":539},{"type":173,"tag":228,"props":2618,"children":2619},{"class":230,"line":633},[2620,2625,2629,2633,2638,2642],{"type":173,"tag":228,"props":2621,"children":2622},{"style":435},[2623],{"type":178,"value":2624},"  name",{"type":173,"tag":228,"props":2626,"children":2627},{"style":258},[2628],{"type":178,"value":689},{"type":173,"tag":228,"props":2630,"children":2631},{"style":258},[2632],{"type":178,"value":617},{"type":173,"tag":228,"props":2634,"children":2635},{"style":445},[2636],{"type":178,"value":2637},"my-transformer",{"type":173,"tag":228,"props":2639,"children":2640},{"style":258},[2641],{"type":178,"value":442},{"type":173,"tag":228,"props":2643,"children":2644},{"style":258},[2645],{"type":178,"value":1251},{"type":173,"tag":228,"props":2647,"children":2648},{"class":230,"line":642},[2649,2654,2658,2663,2667,2672,2676,2681],{"type":173,"tag":228,"props":2650,"children":2651},{"style":435},[2652],{"type":178,"value":2653},"  extensions",{"type":173,"tag":228,"props":2655,"children":2656},{"style":258},[2657],{"type":178,"value":689},{"type":173,"tag":228,"props":2659,"children":2660},{"style":252},[2661],{"type":178,"value":2662}," [",{"type":173,"tag":228,"props":2664,"children":2665},{"style":258},[2666],{"type":178,"value":442},{"type":173,"tag":228,"props":2668,"children":2669},{"style":445},[2670],{"type":178,"value":2671},".names",{"type":173,"tag":228,"props":2673,"children":2674},{"style":258},[2675],{"type":178,"value":442},{"type":173,"tag":228,"props":2677,"children":2678},{"style":252},[2679],{"type":178,"value":2680},"]",{"type":173,"tag":228,"props":2682,"children":2683},{"style":258},[2684],{"type":178,"value":1251},{"type":173,"tag":228,"props":2686,"children":2687},{"class":230,"line":655},[2688,2693,2697,2701,2705,2710,2714,2719,2723,2727,2731],{"type":173,"tag":228,"props":2689,"children":2690},{"style":435},[2691],{"type":178,"value":2692},"  parse",{"type":173,"tag":228,"props":2694,"children":2695},{"style":258},[2696],{"type":178,"value":461},{"type":173,"tag":228,"props":2698,"children":2699},{"style":263},[2700],{"type":178,"value":503},{"type":173,"tag":228,"props":2702,"children":2703},{"style":258},[2704],{"type":178,"value":689},{"type":173,"tag":228,"props":2706,"children":2707},{"style":973},[2708],{"type":178,"value":2709}," string",{"type":173,"tag":228,"props":2711,"children":2712},{"style":258},[2713],{"type":178,"value":456},{"type":173,"tag":228,"props":2715,"children":2716},{"style":263},[2717],{"type":178,"value":2718}," rawContent",{"type":173,"tag":228,"props":2720,"children":2721},{"style":258},[2722],{"type":178,"value":689},{"type":173,"tag":228,"props":2724,"children":2725},{"style":973},[2726],{"type":178,"value":2709},{"type":173,"tag":228,"props":2728,"children":2729},{"style":258},[2730],{"type":178,"value":271},{"type":173,"tag":228,"props":2732,"children":2733},{"style":258},[2734],{"type":178,"value":282},{"type":173,"tag":228,"props":2736,"children":2737},{"class":230,"line":1088},[2738,2743],{"type":173,"tag":228,"props":2739,"children":2740},{"style":235},[2741],{"type":178,"value":2742},"    return",{"type":173,"tag":228,"props":2744,"children":2745},{"style":258},[2746],{"type":178,"value":282},{"type":173,"tag":228,"props":2748,"children":2749},{"class":230,"line":1101},[2750,2755],{"type":173,"tag":228,"props":2751,"children":2752},{"style":252},[2753],{"type":178,"value":2754},"      _id",{"type":173,"tag":228,"props":2756,"children":2757},{"style":258},[2758],{"type":178,"value":1251},{"type":173,"tag":228,"props":2760,"children":2761},{"class":230,"line":1109},[2762,2767,2771,2775,2779,2784,2789,2793,2798,2802,2806,2811,2815,2819,2823,2828,2832,2836,2840,2845,2849,2853,2858,2862,2867],{"type":173,"tag":228,"props":2763,"children":2764},{"style":435},[2765],{"type":178,"value":2766},"      body",{"type":173,"tag":228,"props":2768,"children":2769},{"style":258},[2770],{"type":178,"value":689},{"type":173,"tag":228,"props":2772,"children":2773},{"style":252},[2774],{"type":178,"value":2718},{"type":173,"tag":228,"props":2776,"children":2777},{"style":258},[2778],{"type":178,"value":202},{"type":173,"tag":228,"props":2780,"children":2781},{"style":246},[2782],{"type":178,"value":2783},"trim",{"type":173,"tag":228,"props":2785,"children":2786},{"style":435},[2787],{"type":178,"value":2788},"()",{"type":173,"tag":228,"props":2790,"children":2791},{"style":258},[2792],{"type":178,"value":202},{"type":173,"tag":228,"props":2794,"children":2795},{"style":246},[2796],{"type":178,"value":2797},"split",{"type":173,"tag":228,"props":2799,"children":2800},{"style":435},[2801],{"type":178,"value":255},{"type":173,"tag":228,"props":2803,"children":2804},{"style":258},[2805],{"type":178,"value":442},{"type":173,"tag":228,"props":2807,"children":2808},{"style":252},[2809],{"type":178,"value":2810},"\\n",{"type":173,"tag":228,"props":2812,"children":2813},{"style":258},[2814],{"type":178,"value":442},{"type":173,"tag":228,"props":2816,"children":2817},{"style":435},[2818],{"type":178,"value":271},{"type":173,"tag":228,"props":2820,"children":2821},{"style":258},[2822],{"type":178,"value":202},{"type":173,"tag":228,"props":2824,"children":2825},{"style":246},[2826],{"type":178,"value":2827},"map",{"type":173,"tag":228,"props":2829,"children":2830},{"style":435},[2831],{"type":178,"value":255},{"type":173,"tag":228,"props":2833,"children":2834},{"style":263},[2835],{"type":178,"value":230},{"type":173,"tag":228,"props":2837,"children":2838},{"style":274},[2839],{"type":178,"value":277},{"type":173,"tag":228,"props":2841,"children":2842},{"style":252},[2843],{"type":178,"value":2844}," line",{"type":173,"tag":228,"props":2846,"children":2847},{"style":258},[2848],{"type":178,"value":202},{"type":173,"tag":228,"props":2850,"children":2851},{"style":246},[2852],{"type":178,"value":2783},{"type":173,"tag":228,"props":2854,"children":2855},{"style":435},[2856],{"type":178,"value":2857},"())",{"type":173,"tag":228,"props":2859,"children":2860},{"style":258},[2861],{"type":178,"value":202},{"type":173,"tag":228,"props":2863,"children":2864},{"style":246},[2865],{"type":178,"value":2866},"sort",{"type":173,"tag":228,"props":2868,"children":2869},{"style":435},[2870],{"type":178,"value":1397},{"type":173,"tag":228,"props":2872,"children":2873},{"class":230,"line":1121},[2874],{"type":173,"tag":228,"props":2875,"children":2876},{"style":258},[2877],{"type":178,"value":639},{"type":173,"tag":228,"props":2879,"children":2880},{"class":230,"line":1334},[2881],{"type":173,"tag":228,"props":2882,"children":2883},{"style":258},[2884],{"type":178,"value":2885},"  }\n",{"type":173,"tag":228,"props":2887,"children":2888},{"class":230,"line":1347},[2889,2893],{"type":173,"tag":228,"props":2890,"children":2891},{"style":258},[2892],{"type":178,"value":301},{"type":173,"tag":228,"props":2894,"children":2895},{"style":252},[2896],{"type":178,"value":306},{"type":173,"tag":2479,"props":2898,"children":2899},{"start":285},[2900],{"type":173,"tag":337,"props":2901,"children":2902},{},[2903],{"type":178,"value":2904},"Define simple module to register transformer",{"type":173,"tag":217,"props":2906,"children":2909},{"className":219,"code":2907,"filename":2908,"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",[2910],{"type":173,"tag":184,"props":2911,"children":2912},{"__ignoreMap":167},[2913,2950,2987,2994,3017,3051,3128,3217,3296,3304,3361,3415,3427,3434],{"type":173,"tag":228,"props":2914,"children":2915},{"class":230,"line":231},[2916,2920,2924,2929,2933,2937,2941,2946],{"type":173,"tag":228,"props":2917,"children":2918},{"style":235},[2919],{"type":178,"value":729},{"type":173,"tag":228,"props":2921,"children":2922},{"style":258},[2923],{"type":178,"value":734},{"type":173,"tag":228,"props":2925,"children":2926},{"style":252},[2927],{"type":178,"value":2928}," resolve",{"type":173,"tag":228,"props":2930,"children":2931},{"style":258},[2932],{"type":178,"value":744},{"type":173,"tag":228,"props":2934,"children":2935},{"style":235},[2936],{"type":178,"value":749},{"type":173,"tag":228,"props":2938,"children":2939},{"style":258},[2940],{"type":178,"value":617},{"type":173,"tag":228,"props":2942,"children":2943},{"style":445},[2944],{"type":178,"value":2945},"path",{"type":173,"tag":228,"props":2947,"children":2948},{"style":258},[2949],{"type":178,"value":763},{"type":173,"tag":228,"props":2951,"children":2952},{"class":230,"line":285},[2953,2957,2961,2966,2970,2974,2978,2983],{"type":173,"tag":228,"props":2954,"children":2955},{"style":235},[2956],{"type":178,"value":729},{"type":173,"tag":228,"props":2958,"children":2959},{"style":258},[2960],{"type":178,"value":734},{"type":173,"tag":228,"props":2962,"children":2963},{"style":252},[2964],{"type":178,"value":2965}," defineNuxtModule",{"type":173,"tag":228,"props":2967,"children":2968},{"style":258},[2969],{"type":178,"value":744},{"type":173,"tag":228,"props":2971,"children":2972},{"style":235},[2973],{"type":178,"value":749},{"type":173,"tag":228,"props":2975,"children":2976},{"style":258},[2977],{"type":178,"value":617},{"type":173,"tag":228,"props":2979,"children":2980},{"style":445},[2981],{"type":178,"value":2982},"@nuxt/kit",{"type":173,"tag":228,"props":2984,"children":2985},{"style":258},[2986],{"type":178,"value":763},{"type":173,"tag":228,"props":2988,"children":2989},{"class":230,"line":295},[2990],{"type":173,"tag":228,"props":2991,"children":2992},{"emptyLinePlaceholder":769},[2993],{"type":178,"value":772},{"type":173,"tag":228,"props":2995,"children":2996},{"class":230,"line":542},[2997,3001,3005,3009,3013],{"type":173,"tag":228,"props":2998,"children":2999},{"style":235},[3000],{"type":178,"value":238},{"type":173,"tag":228,"props":3002,"children":3003},{"style":235},[3004],{"type":178,"value":243},{"type":173,"tag":228,"props":3006,"children":3007},{"style":246},[3008],{"type":178,"value":2965},{"type":173,"tag":228,"props":3010,"children":3011},{"style":252},[3012],{"type":178,"value":255},{"type":173,"tag":228,"props":3014,"children":3015},{"style":258},[3016],{"type":178,"value":539},{"type":173,"tag":228,"props":3018,"children":3019},{"class":230,"line":633},[3020,3025,3029,3034,3038,3043,3047],{"type":173,"tag":228,"props":3021,"children":3022},{"style":435},[3023],{"type":178,"value":3024},"  setup",{"type":173,"tag":228,"props":3026,"children":3027},{"style":258},[3028],{"type":178,"value":461},{"type":173,"tag":228,"props":3030,"children":3031},{"style":263},[3032],{"type":178,"value":3033},"_options",{"type":173,"tag":228,"props":3035,"children":3036},{"style":258},[3037],{"type":178,"value":456},{"type":173,"tag":228,"props":3039,"children":3040},{"style":263},[3041],{"type":178,"value":3042}," nuxt",{"type":173,"tag":228,"props":3044,"children":3045},{"style":258},[3046],{"type":178,"value":271},{"type":173,"tag":228,"props":3048,"children":3049},{"style":258},[3050],{"type":178,"value":282},{"type":173,"tag":228,"props":3052,"children":3053},{"class":230,"line":642},[3054,3059,3063,3068,3072,3077,3081,3086,3090,3094,3098,3102,3106,3110,3114,3118,3123],{"type":173,"tag":228,"props":3055,"children":3056},{"style":252},[3057],{"type":178,"value":3058},"    nuxt",{"type":173,"tag":228,"props":3060,"children":3061},{"style":258},[3062],{"type":178,"value":202},{"type":173,"tag":228,"props":3064,"children":3065},{"style":252},[3066],{"type":178,"value":3067},"options",{"type":173,"tag":228,"props":3069,"children":3070},{"style":258},[3071],{"type":178,"value":202},{"type":173,"tag":228,"props":3073,"children":3074},{"style":252},[3075],{"type":178,"value":3076},"nitro",{"type":173,"tag":228,"props":3078,"children":3079},{"style":258},[3080],{"type":178,"value":202},{"type":173,"tag":228,"props":3082,"children":3083},{"style":252},[3084],{"type":178,"value":3085},"externals",{"type":173,"tag":228,"props":3087,"children":3088},{"style":258},[3089],{"type":178,"value":562},{"type":173,"tag":228,"props":3091,"children":3092},{"style":252},[3093],{"type":178,"value":3042},{"type":173,"tag":228,"props":3095,"children":3096},{"style":258},[3097],{"type":178,"value":202},{"type":173,"tag":228,"props":3099,"children":3100},{"style":252},[3101],{"type":178,"value":3067},{"type":173,"tag":228,"props":3103,"children":3104},{"style":258},[3105],{"type":178,"value":202},{"type":173,"tag":228,"props":3107,"children":3108},{"style":252},[3109],{"type":178,"value":3076},{"type":173,"tag":228,"props":3111,"children":3112},{"style":258},[3113],{"type":178,"value":202},{"type":173,"tag":228,"props":3115,"children":3116},{"style":252},[3117],{"type":178,"value":3085},{"type":173,"tag":228,"props":3119,"children":3120},{"style":258},[3121],{"type":178,"value":3122}," ||",{"type":173,"tag":228,"props":3124,"children":3125},{"style":258},[3126],{"type":178,"value":3127}," {}\n",{"type":173,"tag":228,"props":3129,"children":3130},{"class":230,"line":655},[3131,3135,3139,3143,3147,3151,3155,3159,3163,3168,3172,3176,3180,3184,3188,3192,3196,3200,3204,3208,3212],{"type":173,"tag":228,"props":3132,"children":3133},{"style":252},[3134],{"type":178,"value":3058},{"type":173,"tag":228,"props":3136,"children":3137},{"style":258},[3138],{"type":178,"value":202},{"type":173,"tag":228,"props":3140,"children":3141},{"style":252},[3142],{"type":178,"value":3067},{"type":173,"tag":228,"props":3144,"children":3145},{"style":258},[3146],{"type":178,"value":202},{"type":173,"tag":228,"props":3148,"children":3149},{"style":252},[3150],{"type":178,"value":3076},{"type":173,"tag":228,"props":3152,"children":3153},{"style":258},[3154],{"type":178,"value":202},{"type":173,"tag":228,"props":3156,"children":3157},{"style":252},[3158],{"type":178,"value":3085},{"type":173,"tag":228,"props":3160,"children":3161},{"style":258},[3162],{"type":178,"value":202},{"type":173,"tag":228,"props":3164,"children":3165},{"style":252},[3166],{"type":178,"value":3167},"inline",{"type":173,"tag":228,"props":3169,"children":3170},{"style":258},[3171],{"type":178,"value":562},{"type":173,"tag":228,"props":3173,"children":3174},{"style":252},[3175],{"type":178,"value":3042},{"type":173,"tag":228,"props":3177,"children":3178},{"style":258},[3179],{"type":178,"value":202},{"type":173,"tag":228,"props":3181,"children":3182},{"style":252},[3183],{"type":178,"value":3067},{"type":173,"tag":228,"props":3185,"children":3186},{"style":258},[3187],{"type":178,"value":202},{"type":173,"tag":228,"props":3189,"children":3190},{"style":252},[3191],{"type":178,"value":3076},{"type":173,"tag":228,"props":3193,"children":3194},{"style":258},[3195],{"type":178,"value":202},{"type":173,"tag":228,"props":3197,"children":3198},{"style":252},[3199],{"type":178,"value":3085},{"type":173,"tag":228,"props":3201,"children":3202},{"style":258},[3203],{"type":178,"value":202},{"type":173,"tag":228,"props":3205,"children":3206},{"style":252},[3207],{"type":178,"value":3167},{"type":173,"tag":228,"props":3209,"children":3210},{"style":258},[3211],{"type":178,"value":3122},{"type":173,"tag":228,"props":3213,"children":3214},{"style":435},[3215],{"type":178,"value":3216}," []\n",{"type":173,"tag":228,"props":3218,"children":3219},{"class":230,"line":1088},[3220,3224,3228,3232,3236,3240,3244,3248,3252,3256,3260,3265,3269,3274,3278,3282,3287,3291],{"type":173,"tag":228,"props":3221,"children":3222},{"style":252},[3223],{"type":178,"value":3058},{"type":173,"tag":228,"props":3225,"children":3226},{"style":258},[3227],{"type":178,"value":202},{"type":173,"tag":228,"props":3229,"children":3230},{"style":252},[3231],{"type":178,"value":3067},{"type":173,"tag":228,"props":3233,"children":3234},{"style":258},[3235],{"type":178,"value":202},{"type":173,"tag":228,"props":3237,"children":3238},{"style":252},[3239],{"type":178,"value":3076},{"type":173,"tag":228,"props":3241,"children":3242},{"style":258},[3243],{"type":178,"value":202},{"type":173,"tag":228,"props":3245,"children":3246},{"style":252},[3247],{"type":178,"value":3085},{"type":173,"tag":228,"props":3249,"children":3250},{"style":258},[3251],{"type":178,"value":202},{"type":173,"tag":228,"props":3253,"children":3254},{"style":252},[3255],{"type":178,"value":3167},{"type":173,"tag":228,"props":3257,"children":3258},{"style":258},[3259],{"type":178,"value":202},{"type":173,"tag":228,"props":3261,"children":3262},{"style":246},[3263],{"type":178,"value":3264},"push",{"type":173,"tag":228,"props":3266,"children":3267},{"style":435},[3268],{"type":178,"value":255},{"type":173,"tag":228,"props":3270,"children":3271},{"style":246},[3272],{"type":178,"value":3273},"resolve",{"type":173,"tag":228,"props":3275,"children":3276},{"style":435},[3277],{"type":178,"value":255},{"type":173,"tag":228,"props":3279,"children":3280},{"style":258},[3281],{"type":178,"value":442},{"type":173,"tag":228,"props":3283,"children":3284},{"style":445},[3285],{"type":178,"value":3286},"./my-module",{"type":173,"tag":228,"props":3288,"children":3289},{"style":258},[3290],{"type":178,"value":442},{"type":173,"tag":228,"props":3292,"children":3293},{"style":435},[3294],{"type":178,"value":3295},"))\n",{"type":173,"tag":228,"props":3297,"children":3298},{"class":230,"line":1101},[3299],{"type":173,"tag":228,"props":3300,"children":3301},{"style":289},[3302],{"type":178,"value":3303},"    // @ts-expect-error\n",{"type":173,"tag":228,"props":3305,"children":3306},{"class":230,"line":1109},[3307,3311,3315,3319,3323,3327,3332,3336,3340,3344,3349,3353,3357],{"type":173,"tag":228,"props":3308,"children":3309},{"style":252},[3310],{"type":178,"value":3058},{"type":173,"tag":228,"props":3312,"children":3313},{"style":258},[3314],{"type":178,"value":202},{"type":173,"tag":228,"props":3316,"children":3317},{"style":246},[3318],{"type":178,"value":432},{"type":173,"tag":228,"props":3320,"children":3321},{"style":435},[3322],{"type":178,"value":255},{"type":173,"tag":228,"props":3324,"children":3325},{"style":258},[3326],{"type":178,"value":442},{"type":173,"tag":228,"props":3328,"children":3329},{"style":445},[3330],{"type":178,"value":3331},"content:context",{"type":173,"tag":228,"props":3333,"children":3334},{"style":258},[3335],{"type":178,"value":442},{"type":173,"tag":228,"props":3337,"children":3338},{"style":258},[3339],{"type":178,"value":456},{"type":173,"tag":228,"props":3341,"children":3342},{"style":258},[3343],{"type":178,"value":461},{"type":173,"tag":228,"props":3345,"children":3346},{"style":263},[3347],{"type":178,"value":3348},"contentContext",{"type":173,"tag":228,"props":3350,"children":3351},{"style":258},[3352],{"type":178,"value":271},{"type":173,"tag":228,"props":3354,"children":3355},{"style":274},[3356],{"type":178,"value":277},{"type":173,"tag":228,"props":3358,"children":3359},{"style":258},[3360],{"type":178,"value":282},{"type":173,"tag":228,"props":3362,"children":3363},{"class":230,"line":1121},[3364,3369,3373,3378,3382,3386,3390,3394,3398,3402,3407,3411],{"type":173,"tag":228,"props":3365,"children":3366},{"style":252},[3367],{"type":178,"value":3368},"      contentContext",{"type":173,"tag":228,"props":3370,"children":3371},{"style":258},[3372],{"type":178,"value":202},{"type":173,"tag":228,"props":3374,"children":3375},{"style":252},[3376],{"type":178,"value":3377},"transformers",{"type":173,"tag":228,"props":3379,"children":3380},{"style":258},[3381],{"type":178,"value":202},{"type":173,"tag":228,"props":3383,"children":3384},{"style":246},[3385],{"type":178,"value":3264},{"type":173,"tag":228,"props":3387,"children":3388},{"style":435},[3389],{"type":178,"value":255},{"type":173,"tag":228,"props":3391,"children":3392},{"style":246},[3393],{"type":178,"value":3273},{"type":173,"tag":228,"props":3395,"children":3396},{"style":435},[3397],{"type":178,"value":255},{"type":173,"tag":228,"props":3399,"children":3400},{"style":258},[3401],{"type":178,"value":442},{"type":173,"tag":228,"props":3403,"children":3404},{"style":445},[3405],{"type":178,"value":3406},"./my-module/my-transformer.ts",{"type":173,"tag":228,"props":3408,"children":3409},{"style":258},[3410],{"type":178,"value":442},{"type":173,"tag":228,"props":3412,"children":3413},{"style":435},[3414],{"type":178,"value":3295},{"type":173,"tag":228,"props":3416,"children":3417},{"class":230,"line":1334},[3418,3423],{"type":173,"tag":228,"props":3419,"children":3420},{"style":258},[3421],{"type":178,"value":3422},"    }",{"type":173,"tag":228,"props":3424,"children":3425},{"style":435},[3426],{"type":178,"value":306},{"type":173,"tag":228,"props":3428,"children":3429},{"class":230,"line":1347},[3430],{"type":173,"tag":228,"props":3431,"children":3432},{"style":258},[3433],{"type":178,"value":2885},{"type":173,"tag":228,"props":3435,"children":3436},{"class":230,"line":1356},[3437,3441],{"type":173,"tag":228,"props":3438,"children":3439},{"style":258},[3440],{"type":178,"value":301},{"type":173,"tag":228,"props":3442,"children":3443},{"style":252},[3444],{"type":178,"value":306},{"type":173,"tag":2479,"props":3446,"children":3447},{"start":295},[3448],{"type":173,"tag":337,"props":3449,"children":3450},{},[3451],{"type":178,"value":3452},"Register your module",{"type":173,"tag":217,"props":3454,"children":3457},{"className":219,"code":3455,"filename":3456,"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",[3458],{"type":173,"tag":184,"props":3459,"children":3460},{"__ignoreMap":167},[3461,3491,3498,3522,3539,3547,3555,3567,3584,3592],{"type":173,"tag":228,"props":3462,"children":3463},{"class":230,"line":231},[3464,3468,3473,3478,3482,3487],{"type":173,"tag":228,"props":3465,"children":3466},{"style":235},[3467],{"type":178,"value":729},{"type":173,"tag":228,"props":3469,"children":3470},{"style":252},[3471],{"type":178,"value":3472}," MyModule ",{"type":173,"tag":228,"props":3474,"children":3475},{"style":235},[3476],{"type":178,"value":3477},"from",{"type":173,"tag":228,"props":3479,"children":3480},{"style":258},[3481],{"type":178,"value":617},{"type":173,"tag":228,"props":3483,"children":3484},{"style":445},[3485],{"type":178,"value":3486},"./my-module/my-module",{"type":173,"tag":228,"props":3488,"children":3489},{"style":258},[3490],{"type":178,"value":763},{"type":173,"tag":228,"props":3492,"children":3493},{"class":230,"line":285},[3494],{"type":173,"tag":228,"props":3495,"children":3496},{"emptyLinePlaceholder":769},[3497],{"type":178,"value":772},{"type":173,"tag":228,"props":3499,"children":3500},{"class":230,"line":295},[3501,3505,3509,3514,3518],{"type":173,"tag":228,"props":3502,"children":3503},{"style":235},[3504],{"type":178,"value":238},{"type":173,"tag":228,"props":3506,"children":3507},{"style":235},[3508],{"type":178,"value":243},{"type":173,"tag":228,"props":3510,"children":3511},{"style":246},[3512],{"type":178,"value":3513}," defineNuxtConfig",{"type":173,"tag":228,"props":3515,"children":3516},{"style":252},[3517],{"type":178,"value":255},{"type":173,"tag":228,"props":3519,"children":3520},{"style":258},[3521],{"type":178,"value":539},{"type":173,"tag":228,"props":3523,"children":3524},{"class":230,"line":542},[3525,3530,3534],{"type":173,"tag":228,"props":3526,"children":3527},{"style":435},[3528],{"type":178,"value":3529},"  modules",{"type":173,"tag":228,"props":3531,"children":3532},{"style":258},[3533],{"type":178,"value":689},{"type":173,"tag":228,"props":3535,"children":3536},{"style":252},[3537],{"type":178,"value":3538}," [\n",{"type":173,"tag":228,"props":3540,"children":3541},{"class":230,"line":633},[3542],{"type":173,"tag":228,"props":3543,"children":3544},{"style":289},[3545],{"type":178,"value":3546},"    // always put it before @nuxt/content because the transformers \n",{"type":173,"tag":228,"props":3548,"children":3549},{"class":230,"line":642},[3550],{"type":173,"tag":228,"props":3551,"children":3552},{"style":289},[3553],{"type":178,"value":3554},"    // needs to be loaded before transformation occurs\n",{"type":173,"tag":228,"props":3556,"children":3557},{"class":230,"line":655},[3558,3563],{"type":173,"tag":228,"props":3559,"children":3560},{"style":252},[3561],{"type":178,"value":3562},"    MyModule",{"type":173,"tag":228,"props":3564,"children":3565},{"style":258},[3566],{"type":178,"value":1251},{"type":173,"tag":228,"props":3568,"children":3569},{"class":230,"line":1088},[3570,3575,3580],{"type":173,"tag":228,"props":3571,"children":3572},{"style":258},[3573],{"type":178,"value":3574},"    '",{"type":173,"tag":228,"props":3576,"children":3577},{"style":445},[3578],{"type":178,"value":3579},"@nuxt/content",{"type":173,"tag":228,"props":3581,"children":3582},{"style":258},[3583],{"type":178,"value":763},{"type":173,"tag":228,"props":3585,"children":3586},{"class":230,"line":1101},[3587],{"type":173,"tag":228,"props":3588,"children":3589},{"style":252},[3590],{"type":178,"value":3591},"  ]\n",{"type":173,"tag":228,"props":3593,"children":3594},{"class":230,"line":1109},[3595,3599],{"type":173,"tag":228,"props":3596,"children":3597},{"style":258},[3598],{"type":178,"value":301},{"type":173,"tag":228,"props":3600,"children":3601},{"style":252},[3602],{"type":178,"value":306},{"type":173,"tag":174,"props":3604,"children":3605},{},[3606,3608,3613],{"type":178,"value":3607},"That's it. You can create ",{"type":173,"tag":184,"props":3609,"children":3611},{"className":3610},[],[3612],{"type":178,"value":2671},{"type":178,"value":3614}," files in content directory. Checkout transformer example.",{"type":173,"tag":1132,"props":3616,"children":3617},{},[3618],{"type":178,"value":1136},{"title":167,"searchDepth":285,"depth":285,"links":3620},[],"content:6.recipes:2.transformers.md","6.recipes/2.transformers.md","6.recipes/2.transformers",1725981874607]