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