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