[{"data":1,"prerenderedAt":10691},["Reactive",2],{"navigation":3,"docs-/v1/getting-started/displaying":164,"docs-/v1/getting-started/displaying-surround":1298},[4,20,45,67,92,102,115],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Edge Channel","/get-started/edge-channel",{"title":18,"_path":19},"Migration","/get-started/from-v1",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30,33,36,39,42],{"title":25,"_path":26},"Content Directory","/usage/content-directory",{"title":28,"_path":29},"Markdown","/usage/markdown",{"title":31,"_path":32},"JSON, YAML, CSV","/usage/files",{"title":34,"_path":35},"Render Content","/usage/render",{"title":37,"_path":38},"Search","/usage/search",{"title":40,"_path":41},"Fetch Navigation","/usage/navigation",{"title":43,"_path":44},"TypeScript Support","/usage/typescript",{"title":46,"_path":47,"children":48},"Composables","/composables",[49,52,55,58,61,64],{"title":50,"_path":51},"queryContent()","/composables/query-content",{"title":53,"_path":54},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":56,"_path":57},"useContentHead()","/composables/use-content-head",{"title":59,"_path":60},"useContentHelpers()","/composables/use-content-helpers",{"title":62,"_path":63},"useUnwrap()","/composables/use-unwrap",{"title":65,"_path":66},"searchContent()","/composables/search-content",{"title":68,"_path":69,"children":70},"Components","/components",[71,74,77,80,83,86,89],{"title":72,"_path":73},"\u003CContentDoc>","/components/content-doc",{"title":75,"_path":76},"\u003CContentRenderer>","/components/content-renderer",{"title":78,"_path":79},"\u003CContentList>","/components/content-list",{"title":81,"_path":82},"\u003CContentNavigation>","/components/content-navigation",{"title":84,"_path":85},"\u003CContentQuery>","/components/content-query",{"title":87,"_path":88},"\u003CContentSlot>","/components/content-slot",{"title":90,"_path":91},"Prose Components","/components/prose",{"title":93,"_path":94,"children":95},"Document Driven","/document-driven",[96,99],{"title":97,"_path":98},"Introduction","/document-driven/introduction",{"title":100,"_path":101},"useContent()","/document-driven/use-content",{"title":103,"_path":104,"children":105},"Recipes","/recipes",[106,109,112],{"title":107,"_path":108},"Hooks","/recipes/hooks",{"title":110,"_path":111},"Transformers","/recipes/transformers",{"title":113,"_path":114},"Sitemap","/recipes/sitemap",{"title":116,"_path":117,"children":118},"V1","/v1",[119,141,154],{"title":120,"_path":121,"children":122},"Getting Started","/v1/getting-started",[123,125,127,130,133,136,138],{"title":97,"_path":124},"/v1/getting-started/introduction",{"title":9,"_path":126},"/v1/getting-started/installation",{"title":128,"_path":129},"Writing content","/v1/getting-started/writing",{"title":131,"_path":132},"Fetching content","/v1/getting-started/fetching",{"title":134,"_path":135},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":137},"/v1/getting-started/configuration",{"title":139,"_path":140},"Advanced","/v1/getting-started/advanced",{"title":142,"_path":143,"children":144},"Examples","/v1/examples",[145,148,151],{"title":146,"_path":147},"Basic Usage","/v1/examples/basic",{"title":149,"_path":150},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":152,"_path":153},"Docs Theme","/v1/examples/docs-theme",{"title":155,"_path":156,"children":157},"Community","/v1/community",[158,161],{"title":159,"_path":160},"Snippets","/v1/community/snippets",{"title":162,"_path":163},"Integrations","/v1/community/integrations",{"_path":135,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":134,"description":168,"body":169,"_type":1293,"_id":1294,"_source":1295,"_file":1296,"_extension":1297},"getting-started",false,"","You can use `\u003Cnuxt-content>` component directly in your template to display your Markdown.",{"type":170,"children":171,"toc":1284},"root",[172,181,188,195,209,597,606,654,668,674,686,1000,1006,1035,1105,1111,1116,1132,1178,1212,1218,1231,1254,1279],{"type":173,"tag":174,"props":175,"children":177},"element","alert",{"type":176},"info",[178],{"type":179,"value":180},"text","\nThis section is only for Markdown files.\n",{"type":173,"tag":182,"props":183,"children":185},"h2",{"id":184},"component",[186],{"type":179,"value":187},"Component",{"type":173,"tag":189,"props":190,"children":192},"h3",{"id":191},"page-body",[193],{"type":179,"value":194},"Page Body",{"type":173,"tag":196,"props":197,"children":198},"p",{},[199,201,207],{"type":179,"value":200},"You can use ",{"type":173,"tag":202,"props":203,"children":204},"code",{"className":167},[205],{"type":179,"value":206},"\u003Cnuxt-content>",{"type":179,"value":208}," component directly in your template to display the page body:",{"type":173,"tag":210,"props":211,"children":215},"pre",{"className":212,"code":213,"language":214,"meta":167,"style":167},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003Carticle>\n    \u003Ch1>{{ page.title }}\u003C/h1>\n    \u003Cnuxt-content :document=\"page\" />\n  \u003C/article>\n\u003C/template>\n\n\u003Cscript>\nexport default {\n  async asyncData ({ $content }) {\n    const page = await $content('home').fetch()\n\n    return {\n      page\n    }\n  }\n}\n\u003C/script>\n","vue",[216],{"type":173,"tag":202,"props":217,"children":218},{"__ignoreMap":167},[219,242,260,298,342,359,375,385,402,422,456,524,532,545,554,563,572,581],{"type":173,"tag":220,"props":221,"children":224},"span",{"class":222,"line":223},"line",1,[225,231,237],{"type":173,"tag":220,"props":226,"children":228},{"style":227},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[229],{"type":179,"value":230},"\u003C",{"type":173,"tag":220,"props":232,"children":234},{"style":233},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[235],{"type":179,"value":236},"template",{"type":173,"tag":220,"props":238,"children":239},{"style":227},[240],{"type":179,"value":241},">\n",{"type":173,"tag":220,"props":243,"children":245},{"class":222,"line":244},2,[246,251,256],{"type":173,"tag":220,"props":247,"children":248},{"style":227},[249],{"type":179,"value":250},"  \u003C",{"type":173,"tag":220,"props":252,"children":253},{"style":233},[254],{"type":179,"value":255},"article",{"type":173,"tag":220,"props":257,"children":258},{"style":227},[259],{"type":179,"value":241},{"type":173,"tag":220,"props":261,"children":263},{"class":222,"line":262},3,[264,269,274,279,285,290,294],{"type":173,"tag":220,"props":265,"children":266},{"style":227},[267],{"type":179,"value":268},"    \u003C",{"type":173,"tag":220,"props":270,"children":271},{"style":233},[272],{"type":179,"value":273},"h1",{"type":173,"tag":220,"props":275,"children":276},{"style":227},[277],{"type":179,"value":278},">",{"type":173,"tag":220,"props":280,"children":282},{"style":281},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[283],{"type":179,"value":284},"{{ page.title }}",{"type":173,"tag":220,"props":286,"children":287},{"style":227},[288],{"type":179,"value":289},"\u003C/",{"type":173,"tag":220,"props":291,"children":292},{"style":233},[293],{"type":179,"value":273},{"type":173,"tag":220,"props":295,"children":296},{"style":227},[297],{"type":179,"value":241},{"type":173,"tag":220,"props":299,"children":301},{"class":222,"line":300},4,[302,306,311,317,322,327,333,337],{"type":173,"tag":220,"props":303,"children":304},{"style":227},[305],{"type":179,"value":268},{"type":173,"tag":220,"props":307,"children":308},{"style":233},[309],{"type":179,"value":310},"nuxt-content",{"type":173,"tag":220,"props":312,"children":314},{"style":313},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[315],{"type":179,"value":316}," :document",{"type":173,"tag":220,"props":318,"children":319},{"style":227},[320],{"type":179,"value":321},"=",{"type":173,"tag":220,"props":323,"children":324},{"style":227},[325],{"type":179,"value":326},"\"",{"type":173,"tag":220,"props":328,"children":330},{"style":329},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[331],{"type":179,"value":332},"page",{"type":173,"tag":220,"props":334,"children":335},{"style":227},[336],{"type":179,"value":326},{"type":173,"tag":220,"props":338,"children":339},{"style":227},[340],{"type":179,"value":341}," />\n",{"type":173,"tag":220,"props":343,"children":345},{"class":222,"line":344},5,[346,351,355],{"type":173,"tag":220,"props":347,"children":348},{"style":227},[349],{"type":179,"value":350},"  \u003C/",{"type":173,"tag":220,"props":352,"children":353},{"style":233},[354],{"type":179,"value":255},{"type":173,"tag":220,"props":356,"children":357},{"style":227},[358],{"type":179,"value":241},{"type":173,"tag":220,"props":360,"children":362},{"class":222,"line":361},6,[363,367,371],{"type":173,"tag":220,"props":364,"children":365},{"style":227},[366],{"type":179,"value":289},{"type":173,"tag":220,"props":368,"children":369},{"style":233},[370],{"type":179,"value":236},{"type":173,"tag":220,"props":372,"children":373},{"style":227},[374],{"type":179,"value":241},{"type":173,"tag":220,"props":376,"children":378},{"class":222,"line":377},7,[379],{"type":173,"tag":220,"props":380,"children":382},{"emptyLinePlaceholder":381},true,[383],{"type":179,"value":384},"\n",{"type":173,"tag":220,"props":386,"children":388},{"class":222,"line":387},8,[389,393,398],{"type":173,"tag":220,"props":390,"children":391},{"style":227},[392],{"type":179,"value":230},{"type":173,"tag":220,"props":394,"children":395},{"style":233},[396],{"type":179,"value":397},"script",{"type":173,"tag":220,"props":399,"children":400},{"style":227},[401],{"type":179,"value":241},{"type":173,"tag":220,"props":403,"children":405},{"class":222,"line":404},9,[406,412,417],{"type":173,"tag":220,"props":407,"children":409},{"style":408},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[410],{"type":179,"value":411},"export",{"type":173,"tag":220,"props":413,"children":414},{"style":408},[415],{"type":179,"value":416}," default",{"type":173,"tag":220,"props":418,"children":419},{"style":227},[420],{"type":179,"value":421}," {\n",{"type":173,"tag":220,"props":423,"children":425},{"class":222,"line":424},10,[426,431,436,441,447,452],{"type":173,"tag":220,"props":427,"children":428},{"style":313},[429],{"type":179,"value":430},"  async",{"type":173,"tag":220,"props":432,"children":433},{"style":233},[434],{"type":179,"value":435}," asyncData",{"type":173,"tag":220,"props":437,"children":438},{"style":227},[439],{"type":179,"value":440}," ({",{"type":173,"tag":220,"props":442,"children":444},{"style":443},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[445],{"type":179,"value":446}," $content",{"type":173,"tag":220,"props":448,"children":449},{"style":227},[450],{"type":179,"value":451}," })",{"type":173,"tag":220,"props":453,"children":454},{"style":227},[455],{"type":179,"value":421},{"type":173,"tag":220,"props":457,"children":459},{"class":222,"line":458},11,[460,465,470,475,480,485,490,495,500,504,509,514,519],{"type":173,"tag":220,"props":461,"children":462},{"style":313},[463],{"type":179,"value":464},"    const",{"type":173,"tag":220,"props":466,"children":467},{"style":281},[468],{"type":179,"value":469}," page",{"type":173,"tag":220,"props":471,"children":472},{"style":227},[473],{"type":179,"value":474}," =",{"type":173,"tag":220,"props":476,"children":477},{"style":408},[478],{"type":179,"value":479}," await",{"type":173,"tag":220,"props":481,"children":483},{"style":482},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[484],{"type":179,"value":446},{"type":173,"tag":220,"props":486,"children":487},{"style":233},[488],{"type":179,"value":489},"(",{"type":173,"tag":220,"props":491,"children":492},{"style":227},[493],{"type":179,"value":494},"'",{"type":173,"tag":220,"props":496,"children":497},{"style":329},[498],{"type":179,"value":499},"home",{"type":173,"tag":220,"props":501,"children":502},{"style":227},[503],{"type":179,"value":494},{"type":173,"tag":220,"props":505,"children":506},{"style":233},[507],{"type":179,"value":508},")",{"type":173,"tag":220,"props":510,"children":511},{"style":227},[512],{"type":179,"value":513},".",{"type":173,"tag":220,"props":515,"children":516},{"style":482},[517],{"type":179,"value":518},"fetch",{"type":173,"tag":220,"props":520,"children":521},{"style":233},[522],{"type":179,"value":523},"()\n",{"type":173,"tag":220,"props":525,"children":527},{"class":222,"line":526},12,[528],{"type":173,"tag":220,"props":529,"children":530},{"emptyLinePlaceholder":381},[531],{"type":179,"value":384},{"type":173,"tag":220,"props":533,"children":535},{"class":222,"line":534},13,[536,541],{"type":173,"tag":220,"props":537,"children":538},{"style":408},[539],{"type":179,"value":540},"    return",{"type":173,"tag":220,"props":542,"children":543},{"style":227},[544],{"type":179,"value":421},{"type":173,"tag":220,"props":546,"children":548},{"class":222,"line":547},14,[549],{"type":173,"tag":220,"props":550,"children":551},{"style":281},[552],{"type":179,"value":553},"      page\n",{"type":173,"tag":220,"props":555,"children":557},{"class":222,"line":556},15,[558],{"type":173,"tag":220,"props":559,"children":560},{"style":227},[561],{"type":179,"value":562},"    }\n",{"type":173,"tag":220,"props":564,"children":566},{"class":222,"line":565},16,[567],{"type":173,"tag":220,"props":568,"children":569},{"style":227},[570],{"type":179,"value":571},"  }\n",{"type":173,"tag":220,"props":573,"children":575},{"class":222,"line":574},17,[576],{"type":173,"tag":220,"props":577,"children":578},{"style":227},[579],{"type":179,"value":580},"}\n",{"type":173,"tag":220,"props":582,"children":584},{"class":222,"line":583},18,[585,589,593],{"type":173,"tag":220,"props":586,"children":587},{"style":227},[588],{"type":179,"value":289},{"type":173,"tag":220,"props":590,"children":591},{"style":233},[592],{"type":179,"value":397},{"type":173,"tag":220,"props":594,"children":595},{"style":227},[596],{"type":179,"value":241},{"type":173,"tag":196,"props":598,"children":599},{},[600],{"type":173,"tag":601,"props":602,"children":603},"strong",{},[604],{"type":179,"value":605},"Props:",{"type":173,"tag":607,"props":608,"children":609},"ul",{},[610,637],{"type":173,"tag":611,"props":612,"children":613},"li",{},[614,616],{"type":179,"value":615},"document:\n",{"type":173,"tag":607,"props":617,"children":618},{},[619,629],{"type":173,"tag":611,"props":620,"children":621},{},[622,624],{"type":179,"value":623},"Type: ",{"type":173,"tag":202,"props":625,"children":626},{"className":167},[627],{"type":179,"value":628},"object",{"type":173,"tag":611,"props":630,"children":631},{},[632],{"type":173,"tag":202,"props":633,"children":634},{"className":167},[635],{"type":179,"value":636},"required",{"type":173,"tag":611,"props":638,"children":639},{},[640,642],{"type":179,"value":641},"tag:\n",{"type":173,"tag":607,"props":643,"children":644},{},[645],{"type":173,"tag":611,"props":646,"children":647},{},[648,649],{"type":179,"value":623},{"type":173,"tag":202,"props":650,"children":651},{"className":167},[652],{"type":179,"value":653},"string",{"type":173,"tag":196,"props":655,"children":656},{},[657,659,666],{"type":179,"value":658},"Learn more about what you can write in your markdown file in the ",{"type":173,"tag":660,"props":661,"children":663},"a",{"href":662},"/v1/getting-started/writing#markdown",[664],{"type":179,"value":665},"writing content",{"type":179,"value":667}," section.",{"type":173,"tag":189,"props":669,"children":671},{"id":670},"excerpt",[672],{"type":179,"value":673},"Excerpt",{"type":173,"tag":196,"props":675,"children":676},{},[677,679,684],{"type":179,"value":678},"If you are utilizing the ",{"type":173,"tag":660,"props":680,"children":682},{"href":681},"/v1/getting-started/writing#excerpt",[683],{"type":179,"value":670},{"type":179,"value":685}," feature, you can display the content of your excerpt using the following model:",{"type":173,"tag":210,"props":687,"children":689},{"className":212,"code":688,"language":214,"meta":167,"style":167},"\u003Ctemplate>\n  \u003Carticle>\n    \u003Ch1>{{ page.title }}\u003C/h1>\n    \u003Cnuxt-content :document=\"{ body: page.excerpt }\" />\n  \u003C/article>\n\u003C/template>\n\n\u003Cscript>\nexport default {\n  async asyncData ({ $content }) {\n    const page = await $content('home').fetch()\n\n    return {\n      page\n    }\n  }\n}\n\u003C/script>\n",[690],{"type":173,"tag":202,"props":691,"children":692},{"__ignoreMap":167},[693,708,723,754,790,805,820,827,842,857,884,939,946,957,964,971,978,985],{"type":173,"tag":220,"props":694,"children":695},{"class":222,"line":223},[696,700,704],{"type":173,"tag":220,"props":697,"children":698},{"style":227},[699],{"type":179,"value":230},{"type":173,"tag":220,"props":701,"children":702},{"style":233},[703],{"type":179,"value":236},{"type":173,"tag":220,"props":705,"children":706},{"style":227},[707],{"type":179,"value":241},{"type":173,"tag":220,"props":709,"children":710},{"class":222,"line":244},[711,715,719],{"type":173,"tag":220,"props":712,"children":713},{"style":227},[714],{"type":179,"value":250},{"type":173,"tag":220,"props":716,"children":717},{"style":233},[718],{"type":179,"value":255},{"type":173,"tag":220,"props":720,"children":721},{"style":227},[722],{"type":179,"value":241},{"type":173,"tag":220,"props":724,"children":725},{"class":222,"line":262},[726,730,734,738,742,746,750],{"type":173,"tag":220,"props":727,"children":728},{"style":227},[729],{"type":179,"value":268},{"type":173,"tag":220,"props":731,"children":732},{"style":233},[733],{"type":179,"value":273},{"type":173,"tag":220,"props":735,"children":736},{"style":227},[737],{"type":179,"value":278},{"type":173,"tag":220,"props":739,"children":740},{"style":281},[741],{"type":179,"value":284},{"type":173,"tag":220,"props":743,"children":744},{"style":227},[745],{"type":179,"value":289},{"type":173,"tag":220,"props":747,"children":748},{"style":233},[749],{"type":179,"value":273},{"type":173,"tag":220,"props":751,"children":752},{"style":227},[753],{"type":179,"value":241},{"type":173,"tag":220,"props":755,"children":756},{"class":222,"line":300},[757,761,765,769,773,777,782,786],{"type":173,"tag":220,"props":758,"children":759},{"style":227},[760],{"type":179,"value":268},{"type":173,"tag":220,"props":762,"children":763},{"style":233},[764],{"type":179,"value":310},{"type":173,"tag":220,"props":766,"children":767},{"style":313},[768],{"type":179,"value":316},{"type":173,"tag":220,"props":770,"children":771},{"style":227},[772],{"type":179,"value":321},{"type":173,"tag":220,"props":774,"children":775},{"style":227},[776],{"type":179,"value":326},{"type":173,"tag":220,"props":778,"children":779},{"style":329},[780],{"type":179,"value":781},"{ body: page.excerpt }",{"type":173,"tag":220,"props":783,"children":784},{"style":227},[785],{"type":179,"value":326},{"type":173,"tag":220,"props":787,"children":788},{"style":227},[789],{"type":179,"value":341},{"type":173,"tag":220,"props":791,"children":792},{"class":222,"line":344},[793,797,801],{"type":173,"tag":220,"props":794,"children":795},{"style":227},[796],{"type":179,"value":350},{"type":173,"tag":220,"props":798,"children":799},{"style":233},[800],{"type":179,"value":255},{"type":173,"tag":220,"props":802,"children":803},{"style":227},[804],{"type":179,"value":241},{"type":173,"tag":220,"props":806,"children":807},{"class":222,"line":361},[808,812,816],{"type":173,"tag":220,"props":809,"children":810},{"style":227},[811],{"type":179,"value":289},{"type":173,"tag":220,"props":813,"children":814},{"style":233},[815],{"type":179,"value":236},{"type":173,"tag":220,"props":817,"children":818},{"style":227},[819],{"type":179,"value":241},{"type":173,"tag":220,"props":821,"children":822},{"class":222,"line":377},[823],{"type":173,"tag":220,"props":824,"children":825},{"emptyLinePlaceholder":381},[826],{"type":179,"value":384},{"type":173,"tag":220,"props":828,"children":829},{"class":222,"line":387},[830,834,838],{"type":173,"tag":220,"props":831,"children":832},{"style":227},[833],{"type":179,"value":230},{"type":173,"tag":220,"props":835,"children":836},{"style":233},[837],{"type":179,"value":397},{"type":173,"tag":220,"props":839,"children":840},{"style":227},[841],{"type":179,"value":241},{"type":173,"tag":220,"props":843,"children":844},{"class":222,"line":404},[845,849,853],{"type":173,"tag":220,"props":846,"children":847},{"style":408},[848],{"type":179,"value":411},{"type":173,"tag":220,"props":850,"children":851},{"style":408},[852],{"type":179,"value":416},{"type":173,"tag":220,"props":854,"children":855},{"style":227},[856],{"type":179,"value":421},{"type":173,"tag":220,"props":858,"children":859},{"class":222,"line":424},[860,864,868,872,876,880],{"type":173,"tag":220,"props":861,"children":862},{"style":313},[863],{"type":179,"value":430},{"type":173,"tag":220,"props":865,"children":866},{"style":233},[867],{"type":179,"value":435},{"type":173,"tag":220,"props":869,"children":870},{"style":227},[871],{"type":179,"value":440},{"type":173,"tag":220,"props":873,"children":874},{"style":443},[875],{"type":179,"value":446},{"type":173,"tag":220,"props":877,"children":878},{"style":227},[879],{"type":179,"value":451},{"type":173,"tag":220,"props":881,"children":882},{"style":227},[883],{"type":179,"value":421},{"type":173,"tag":220,"props":885,"children":886},{"class":222,"line":458},[887,891,895,899,903,907,911,915,919,923,927,931,935],{"type":173,"tag":220,"props":888,"children":889},{"style":313},[890],{"type":179,"value":464},{"type":173,"tag":220,"props":892,"children":893},{"style":281},[894],{"type":179,"value":469},{"type":173,"tag":220,"props":896,"children":897},{"style":227},[898],{"type":179,"value":474},{"type":173,"tag":220,"props":900,"children":901},{"style":408},[902],{"type":179,"value":479},{"type":173,"tag":220,"props":904,"children":905},{"style":482},[906],{"type":179,"value":446},{"type":173,"tag":220,"props":908,"children":909},{"style":233},[910],{"type":179,"value":489},{"type":173,"tag":220,"props":912,"children":913},{"style":227},[914],{"type":179,"value":494},{"type":173,"tag":220,"props":916,"children":917},{"style":329},[918],{"type":179,"value":499},{"type":173,"tag":220,"props":920,"children":921},{"style":227},[922],{"type":179,"value":494},{"type":173,"tag":220,"props":924,"children":925},{"style":233},[926],{"type":179,"value":508},{"type":173,"tag":220,"props":928,"children":929},{"style":227},[930],{"type":179,"value":513},{"type":173,"tag":220,"props":932,"children":933},{"style":482},[934],{"type":179,"value":518},{"type":173,"tag":220,"props":936,"children":937},{"style":233},[938],{"type":179,"value":523},{"type":173,"tag":220,"props":940,"children":941},{"class":222,"line":526},[942],{"type":173,"tag":220,"props":943,"children":944},{"emptyLinePlaceholder":381},[945],{"type":179,"value":384},{"type":173,"tag":220,"props":947,"children":948},{"class":222,"line":534},[949,953],{"type":173,"tag":220,"props":950,"children":951},{"style":408},[952],{"type":179,"value":540},{"type":173,"tag":220,"props":954,"children":955},{"style":227},[956],{"type":179,"value":421},{"type":173,"tag":220,"props":958,"children":959},{"class":222,"line":547},[960],{"type":173,"tag":220,"props":961,"children":962},{"style":281},[963],{"type":179,"value":553},{"type":173,"tag":220,"props":965,"children":966},{"class":222,"line":556},[967],{"type":173,"tag":220,"props":968,"children":969},{"style":227},[970],{"type":179,"value":562},{"type":173,"tag":220,"props":972,"children":973},{"class":222,"line":565},[974],{"type":173,"tag":220,"props":975,"children":976},{"style":227},[977],{"type":179,"value":571},{"type":173,"tag":220,"props":979,"children":980},{"class":222,"line":574},[981],{"type":173,"tag":220,"props":982,"children":983},{"style":227},[984],{"type":179,"value":580},{"type":173,"tag":220,"props":986,"children":987},{"class":222,"line":583},[988,992,996],{"type":173,"tag":220,"props":989,"children":990},{"style":227},[991],{"type":179,"value":289},{"type":173,"tag":220,"props":993,"children":994},{"style":233},[995],{"type":179,"value":397},{"type":173,"tag":220,"props":997,"children":998},{"style":227},[999],{"type":179,"value":241},{"type":173,"tag":182,"props":1001,"children":1003},{"id":1002},"root-element",[1004],{"type":179,"value":1005},"Root Element",{"type":173,"tag":196,"props":1007,"children":1008},{},[1009,1013,1015,1020,1022,1027,1029,1033],{"type":173,"tag":202,"props":1010,"children":1011},{"className":167},[1012],{"type":179,"value":206},{"type":179,"value":1014}," component will add a ",{"type":173,"tag":202,"props":1016,"children":1017},{"className":167},[1018],{"type":179,"value":1019},"div",{"type":179,"value":1021}," element as the root of the content by default. You can change this by setting the ",{"type":173,"tag":202,"props":1023,"children":1024},{"className":167},[1025],{"type":179,"value":1026},"tag",{"type":179,"value":1028}," prop. Below example will use ",{"type":173,"tag":202,"props":1030,"children":1031},{"className":167},[1032],{"type":179,"value":255},{"type":179,"value":1034}," as the root element.",{"type":173,"tag":210,"props":1036,"children":1038},{"className":212,"code":1037,"language":214,"meta":167,"style":167},"\u003Cnuxt-content :document=\"doc\" tag=\"article\">\n",[1039],{"type":173,"tag":202,"props":1040,"children":1041},{"__ignoreMap":167},[1042],{"type":173,"tag":220,"props":1043,"children":1044},{"class":222,"line":223},[1045,1049,1053,1058,1063,1067,1071,1076,1080,1085,1089,1093,1097,1101],{"type":173,"tag":220,"props":1046,"children":1047},{"style":227},[1048],{"type":179,"value":230},{"type":173,"tag":220,"props":1050,"children":1051},{"style":233},[1052],{"type":179,"value":310},{"type":173,"tag":220,"props":1054,"children":1055},{"style":227},[1056],{"type":179,"value":1057}," :",{"type":173,"tag":220,"props":1059,"children":1060},{"style":313},[1061],{"type":179,"value":1062},"document",{"type":173,"tag":220,"props":1064,"children":1065},{"style":227},[1066],{"type":179,"value":321},{"type":173,"tag":220,"props":1068,"children":1069},{"style":227},[1070],{"type":179,"value":326},{"type":173,"tag":220,"props":1072,"children":1073},{"style":281},[1074],{"type":179,"value":1075},"doc",{"type":173,"tag":220,"props":1077,"children":1078},{"style":227},[1079],{"type":179,"value":326},{"type":173,"tag":220,"props":1081,"children":1082},{"style":313},[1083],{"type":179,"value":1084}," tag",{"type":173,"tag":220,"props":1086,"children":1087},{"style":227},[1088],{"type":179,"value":321},{"type":173,"tag":220,"props":1090,"children":1091},{"style":227},[1092],{"type":179,"value":326},{"type":173,"tag":220,"props":1094,"children":1095},{"style":329},[1096],{"type":179,"value":255},{"type":173,"tag":220,"props":1098,"children":1099},{"style":227},[1100],{"type":179,"value":326},{"type":173,"tag":220,"props":1102,"children":1103},{"style":227},[1104],{"type":179,"value":241},{"type":173,"tag":182,"props":1106,"children":1108},{"id":1107},"style",[1109],{"type":179,"value":1110},"Style",{"type":173,"tag":196,"props":1112,"children":1113},{},[1114],{"type":179,"value":1115},"Depending on what you're using to design your app, you may need to write some style to properly display the markdown.",{"type":173,"tag":196,"props":1117,"children":1118},{},[1119,1123,1125,1130],{"type":173,"tag":202,"props":1120,"children":1121},{"className":167},[1122],{"type":179,"value":206},{"type":179,"value":1124}," component will automatically add a ",{"type":173,"tag":202,"props":1126,"children":1127},{"className":167},[1128],{"type":179,"value":1129},".nuxt-content",{"type":179,"value":1131}," class. You can use it to customize your styles:",{"type":173,"tag":210,"props":1133,"children":1137},{"className":1134,"code":1135,"language":1136,"meta":167,"style":167},"language-css shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",".nuxt-content h1 {\n  /* my custom h1 style */\n}\n","css",[1138],{"type":173,"tag":202,"props":1139,"children":1140},{"__ignoreMap":167},[1141,1162,1171],{"type":173,"tag":220,"props":1142,"children":1143},{"class":222,"line":223},[1144,1148,1153,1158],{"type":173,"tag":220,"props":1145,"children":1146},{"style":227},[1147],{"type":179,"value":513},{"type":173,"tag":220,"props":1149,"children":1151},{"style":1150},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1152],{"type":179,"value":310},{"type":173,"tag":220,"props":1154,"children":1155},{"style":1150},[1156],{"type":179,"value":1157}," h1",{"type":173,"tag":220,"props":1159,"children":1160},{"style":227},[1161],{"type":179,"value":421},{"type":173,"tag":220,"props":1163,"children":1164},{"class":222,"line":244},[1165],{"type":173,"tag":220,"props":1166,"children":1168},{"style":1167},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[1169],{"type":179,"value":1170},"  /* my custom h1 style */\n",{"type":173,"tag":220,"props":1172,"children":1173},{"class":222,"line":262},[1174],{"type":173,"tag":220,"props":1175,"children":1176},{"style":227},[1177],{"type":179,"value":580},{"type":173,"tag":1179,"props":1180,"children":1181},"blockquote",{},[1182],{"type":173,"tag":196,"props":1183,"children":1184},{},[1185,1187,1195,1197,1204,1206,1211],{"type":179,"value":1186},"You can find an example in the theme-docs ",{"type":173,"tag":660,"props":1188,"children":1192},{"href":1189,"rel":1190},"https://github.com/nuxt/content/blob/v1/packages/theme-docs/src/assets/css/main.css",[1191],"nofollow",[1193],{"type":179,"value":1194},"main.css",{"type":179,"value":1196}," file. You can also take a look at the ",{"type":173,"tag":660,"props":1198,"children":1201},{"href":1199,"rel":1200},"https://tailwindcss.com/docs/typography-plugin",[1191],[1202],{"type":179,"value":1203},"TailwindCSS Typography plugin",{"type":179,"value":1205}," to style your markdown content like we do in the ",{"type":173,"tag":202,"props":1207,"children":1208},{"className":167},[1209],{"type":179,"value":1210},"@nuxt/content-theme-docs",{"type":179,"value":513},{"type":173,"tag":182,"props":1213,"children":1215},{"id":1214},"live-editing",[1216],{"type":179,"value":1217},"Live Editing",{"type":173,"tag":1179,"props":1219,"children":1220},{},[1221],{"type":173,"tag":196,"props":1222,"children":1223},{},[1224,1226],{"type":179,"value":1225},"Available in version ",{"type":173,"tag":601,"props":1227,"children":1228},{},[1229],{"type":179,"value":1230},">= v1.4.0",{"type":173,"tag":196,"props":1232,"children":1233},{},[1234,1239,1241,1246,1248,1252],{"type":173,"tag":601,"props":1235,"children":1236},{},[1237],{"type":179,"value":1238},"In development",{"type":179,"value":1240},", you can edit your content by ",{"type":173,"tag":601,"props":1242,"children":1243},{},[1244],{"type":179,"value":1245},"double-clicking",{"type":179,"value":1247}," on the ",{"type":173,"tag":202,"props":1249,"children":1250},{"className":167},[1251],{"type":179,"value":206},{"type":179,"value":1253}," component. A textarea will allow you to edit the content of the current file and will save it on the file-system.",{"type":173,"tag":1255,"props":1256,"children":1258},"video",{"poster":1257,"loop":381,"playsInline":381,"controls":381},"https://res.cloudinary.com/nuxt/video/upload/v1588091670/nuxt-content-ui_otfj5y.jpg",[1259,1261,1267,1268,1273,1274],{"type":179,"value":1260},"\n  ",{"type":173,"tag":1262,"props":1263,"children":1266},"source",{"src":1264,"type":1265},"https://res.cloudinary.com/nuxt/video/upload/v1588091670/nuxt-content-ui_otfj5y.webm","video/webm",[],{"type":179,"value":1260},{"type":173,"tag":1262,"props":1269,"children":1272},{"src":1270,"type":1271},"https://res.cloudinary.com/nuxt/video/upload/v1592314331/nuxt-content-ui_otfj5y.mp4","video/mp4",[],{"type":179,"value":1260},{"type":173,"tag":1262,"props":1275,"children":1278},{"src":1276,"type":1277},"https://res.cloudinary.com/nuxt/video/upload/v1588091670/nuxt-content-ui_otfj5y.ogv","video/ogg",[],{"type":173,"tag":1107,"props":1280,"children":1281},{},[1282],{"type":179,"value":1283},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":167,"searchDepth":244,"depth":244,"links":1285},[1286,1290,1291,1292],{"id":184,"depth":244,"text":187,"children":1287},[1288,1289],{"id":191,"depth":262,"text":194},{"id":670,"depth":262,"text":673},{"id":1002,"depth":244,"text":1005},{"id":1107,"depth":244,"text":1110},{"id":1214,"depth":244,"text":1217},"markdown","content:7.v1:1.getting-started:5.displaying.md","content","7.v1/1.getting-started/5.displaying.md","md",[1299,4930],{"_path":132,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":131,"description":1300,"body":1301,"_type":1293,"_id":4928,"_source":1295,"_file":4929,"_extension":1297},"Learn how to fetch your static content with $content in your Nuxt.js project.",{"type":170,"children":1302,"toc":4912},[1303,1328,1334,1340,1510,1530,1564,1581,1587,1622,1627,1741,1747,1780,1785,1905,1911,1940,1945,1994,2535,2547,2845,2861,2867,2940,2945,3040,3048,3081,3087,3122,3127,3223,3229,3262,3267,3382,3388,3436,3459,3470,3475,3778,3793,3799,3855,3860,3871,4231,4254,4268,4282,4286,4305,4310,4316,4328,4338,4344,4892,4908],{"type":173,"tag":196,"props":1304,"children":1305},{},[1306,1308,1313,1315,1320,1322,1327],{"type":179,"value":1307},"This module globally injects ",{"type":173,"tag":202,"props":1309,"children":1310},{"className":167},[1311],{"type":179,"value":1312},"$content",{"type":179,"value":1314}," instance, meaning that you can access it anywhere using ",{"type":173,"tag":202,"props":1316,"children":1317},{"className":167},[1318],{"type":179,"value":1319},"this.$content",{"type":179,"value":1321},". For plugins, asyncData, nuxtServerInit and Middleware, you can access it from ",{"type":173,"tag":202,"props":1323,"children":1324},{"className":167},[1325],{"type":179,"value":1326},"context.$content",{"type":179,"value":513},{"type":173,"tag":182,"props":1329,"children":1331},{"id":1330},"methods",[1332],{"type":179,"value":1333},"Methods",{"type":173,"tag":189,"props":1335,"children":1337},{"id":1336},"contentpath-options",[1338],{"type":179,"value":1339},"$content(path, options?)",{"type":173,"tag":607,"props":1341,"children":1342},{},[1343,1372,1410,1456,1505],{"type":173,"tag":611,"props":1344,"children":1345},{},[1346,1351],{"type":173,"tag":202,"props":1347,"children":1348},{"className":167},[1349],{"type":179,"value":1350},"path",{"type":173,"tag":607,"props":1352,"children":1353},{},[1354,1362],{"type":173,"tag":611,"props":1355,"children":1356},{},[1357,1358],{"type":179,"value":623},{"type":173,"tag":202,"props":1359,"children":1360},{"className":167},[1361],{"type":179,"value":653},{"type":173,"tag":611,"props":1363,"children":1364},{},[1365,1367],{"type":179,"value":1366},"Default: ",{"type":173,"tag":202,"props":1368,"children":1369},{"className":167},[1370],{"type":179,"value":1371},"/",{"type":173,"tag":611,"props":1373,"children":1374},{},[1375,1380],{"type":173,"tag":202,"props":1376,"children":1377},{"className":167},[1378],{"type":179,"value":1379},"options",{"type":173,"tag":607,"props":1381,"children":1382},{},[1383,1391,1400],{"type":173,"tag":611,"props":1384,"children":1385},{},[1386,1387],{"type":179,"value":623},{"type":173,"tag":202,"props":1388,"children":1389},{"className":167},[1390],{"type":179,"value":628},{"type":173,"tag":611,"props":1392,"children":1393},{},[1394,1395],{"type":179,"value":1366},{"type":173,"tag":202,"props":1396,"children":1397},{"className":167},[1398],{"type":179,"value":1399},"{}",{"type":173,"tag":611,"props":1401,"children":1402},{},[1403,1405],{"type":179,"value":1404},"Version: ",{"type":173,"tag":601,"props":1406,"children":1407},{},[1408],{"type":179,"value":1409},">= v1.3.0",{"type":173,"tag":611,"props":1411,"children":1412},{},[1413,1418],{"type":173,"tag":202,"props":1414,"children":1415},{"className":167},[1416],{"type":179,"value":1417},"options.deep",{"type":173,"tag":607,"props":1419,"children":1420},{},[1421,1430,1439,1447],{"type":173,"tag":611,"props":1422,"children":1423},{},[1424,1425],{"type":179,"value":623},{"type":173,"tag":202,"props":1426,"children":1427},{"className":167},[1428],{"type":179,"value":1429},"boolean",{"type":173,"tag":611,"props":1431,"children":1432},{},[1433,1434],{"type":179,"value":1366},{"type":173,"tag":202,"props":1435,"children":1436},{"className":167},[1437],{"type":179,"value":1438},"false",{"type":173,"tag":611,"props":1440,"children":1441},{},[1442,1443],{"type":179,"value":1404},{"type":173,"tag":601,"props":1444,"children":1445},{},[1446],{"type":179,"value":1409},{"type":173,"tag":611,"props":1448,"children":1449},{},[1450],{"type":173,"tag":1451,"props":1452,"children":1453},"em",{},[1454],{"type":179,"value":1455},"Fetch files from subdirectories",{"type":173,"tag":611,"props":1457,"children":1458},{},[1459,1464],{"type":173,"tag":202,"props":1460,"children":1461},{"className":167},[1462],{"type":179,"value":1463},"options.text",{"type":173,"tag":607,"props":1465,"children":1466},{},[1467,1475,1483,1491],{"type":173,"tag":611,"props":1468,"children":1469},{},[1470,1471],{"type":179,"value":623},{"type":173,"tag":202,"props":1472,"children":1473},{"className":167},[1474],{"type":179,"value":1429},{"type":173,"tag":611,"props":1476,"children":1477},{},[1478,1479],{"type":179,"value":1366},{"type":173,"tag":202,"props":1480,"children":1481},{"className":167},[1482],{"type":179,"value":1438},{"type":173,"tag":611,"props":1484,"children":1485},{},[1486,1487],{"type":179,"value":1404},{"type":173,"tag":601,"props":1488,"children":1489},{},[1490],{"type":179,"value":1230},{"type":173,"tag":611,"props":1492,"children":1493},{},[1494],{"type":173,"tag":1451,"props":1495,"children":1496},{},[1497,1499,1503],{"type":179,"value":1498},"Returns the original markdown content in a ",{"type":173,"tag":202,"props":1500,"children":1501},{"className":167},[1502],{"type":179,"value":179},{"type":179,"value":1504}," variable",{"type":173,"tag":611,"props":1506,"children":1507},{},[1508],{"type":179,"value":1509},"Returns a chain sequence",{"type":173,"tag":1179,"props":1511,"children":1512},{},[1513],{"type":173,"tag":196,"props":1514,"children":1515},{},[1516,1518,1523,1525],{"type":179,"value":1517},"You can also give multiple arguments: ",{"type":173,"tag":202,"props":1519,"children":1520},{"className":167},[1521],{"type":179,"value":1522},"$content('articles', params.slug)",{"type":179,"value":1524}," will be translated to ",{"type":173,"tag":202,"props":1526,"children":1527},{"className":167},[1528],{"type":179,"value":1529},"/articles/${params.slug}",{"type":173,"tag":196,"props":1531,"children":1532},{},[1533,1537,1539,1543,1545,1550,1552,1556,1558,1563],{"type":173,"tag":202,"props":1534,"children":1535},{"className":167},[1536],{"type":179,"value":1350},{"type":179,"value":1538}," can be a file or a directory. If ",{"type":173,"tag":202,"props":1540,"children":1541},{"className":167},[1542],{"type":179,"value":1350},{"type":179,"value":1544}," is a file, ",{"type":173,"tag":202,"props":1546,"children":1547},{"className":167},[1548],{"type":179,"value":1549},"fetch()",{"type":179,"value":1551}," will return an ",{"type":173,"tag":202,"props":1553,"children":1554},{"className":167},[1555],{"type":179,"value":628},{"type":179,"value":1557},", if it's a directory it will return an ",{"type":173,"tag":202,"props":1559,"children":1560},{"className":167},[1561],{"type":179,"value":1562},"Array",{"type":179,"value":513},{"type":173,"tag":196,"props":1565,"children":1566},{},[1567,1569,1573,1575,1580],{"type":179,"value":1568},"All the methods below can be chained and return a chain sequence, except ",{"type":173,"tag":202,"props":1570,"children":1571},{"className":167},[1572],{"type":179,"value":518},{"type":179,"value":1574}," which returns a ",{"type":173,"tag":202,"props":1576,"children":1577},{"className":167},[1578],{"type":179,"value":1579},"Promise",{"type":179,"value":513},{"type":173,"tag":189,"props":1582,"children":1584},{"id":1583},"onlykeys",[1585],{"type":179,"value":1586},"only(keys)",{"type":173,"tag":607,"props":1588,"children":1589},{},[1590],{"type":173,"tag":611,"props":1591,"children":1592},{},[1593,1598],{"type":173,"tag":202,"props":1594,"children":1595},{"className":167},[1596],{"type":179,"value":1597},"keys",{"type":173,"tag":607,"props":1599,"children":1600},{},[1601,1615],{"type":173,"tag":611,"props":1602,"children":1603},{},[1604,1605,1609,1611],{"type":179,"value":623},{"type":173,"tag":202,"props":1606,"children":1607},{"className":167},[1608],{"type":179,"value":1562},{"type":179,"value":1610}," | ",{"type":173,"tag":202,"props":1612,"children":1613},{"className":167},[1614],{"type":179,"value":653},{"type":173,"tag":611,"props":1616,"children":1617},{},[1618],{"type":173,"tag":202,"props":1619,"children":1620},{"className":167},[1621],{"type":179,"value":636},{"type":173,"tag":196,"props":1623,"children":1624},{},[1625],{"type":179,"value":1626},"Select a subset of fields.",{"type":173,"tag":210,"props":1628,"children":1632},{"className":1629,"code":1630,"language":1631,"meta":167,"style":167},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const { title } = await this.$content('article-1').only(['title']).fetch()\n","js",[1633],{"type":173,"tag":202,"props":1634,"children":1635},{"__ignoreMap":167},[1636],{"type":173,"tag":220,"props":1637,"children":1638},{"class":222,"line":223},[1639,1644,1649,1654,1659,1663,1667,1672,1676,1680,1684,1689,1693,1697,1701,1706,1711,1715,1720,1724,1729,1733,1737],{"type":173,"tag":220,"props":1640,"children":1641},{"style":313},[1642],{"type":179,"value":1643},"const",{"type":173,"tag":220,"props":1645,"children":1646},{"style":227},[1647],{"type":179,"value":1648}," {",{"type":173,"tag":220,"props":1650,"children":1651},{"style":281},[1652],{"type":179,"value":1653}," title ",{"type":173,"tag":220,"props":1655,"children":1656},{"style":227},[1657],{"type":179,"value":1658},"}",{"type":173,"tag":220,"props":1660,"children":1661},{"style":227},[1662],{"type":179,"value":474},{"type":173,"tag":220,"props":1664,"children":1665},{"style":408},[1666],{"type":179,"value":479},{"type":173,"tag":220,"props":1668,"children":1669},{"style":227},[1670],{"type":179,"value":1671}," this.",{"type":173,"tag":220,"props":1673,"children":1674},{"style":482},[1675],{"type":179,"value":1312},{"type":173,"tag":220,"props":1677,"children":1678},{"style":281},[1679],{"type":179,"value":489},{"type":173,"tag":220,"props":1681,"children":1682},{"style":227},[1683],{"type":179,"value":494},{"type":173,"tag":220,"props":1685,"children":1686},{"style":329},[1687],{"type":179,"value":1688},"article-1",{"type":173,"tag":220,"props":1690,"children":1691},{"style":227},[1692],{"type":179,"value":494},{"type":173,"tag":220,"props":1694,"children":1695},{"style":281},[1696],{"type":179,"value":508},{"type":173,"tag":220,"props":1698,"children":1699},{"style":227},[1700],{"type":179,"value":513},{"type":173,"tag":220,"props":1702,"children":1703},{"style":482},[1704],{"type":179,"value":1705},"only",{"type":173,"tag":220,"props":1707,"children":1708},{"style":281},[1709],{"type":179,"value":1710},"([",{"type":173,"tag":220,"props":1712,"children":1713},{"style":227},[1714],{"type":179,"value":494},{"type":173,"tag":220,"props":1716,"children":1717},{"style":329},[1718],{"type":179,"value":1719},"title",{"type":173,"tag":220,"props":1721,"children":1722},{"style":227},[1723],{"type":179,"value":494},{"type":173,"tag":220,"props":1725,"children":1726},{"style":281},[1727],{"type":179,"value":1728},"])",{"type":173,"tag":220,"props":1730,"children":1731},{"style":227},[1732],{"type":179,"value":513},{"type":173,"tag":220,"props":1734,"children":1735},{"style":482},[1736],{"type":179,"value":518},{"type":173,"tag":220,"props":1738,"children":1739},{"style":281},[1740],{"type":179,"value":523},{"type":173,"tag":189,"props":1742,"children":1744},{"id":1743},"withoutkeys",[1745],{"type":179,"value":1746},"without(keys)",{"type":173,"tag":607,"props":1748,"children":1749},{},[1750],{"type":173,"tag":611,"props":1751,"children":1752},{},[1753,1757],{"type":173,"tag":202,"props":1754,"children":1755},{"className":167},[1756],{"type":179,"value":1597},{"type":173,"tag":607,"props":1758,"children":1759},{},[1760,1773],{"type":173,"tag":611,"props":1761,"children":1762},{},[1763,1764,1768,1769],{"type":179,"value":623},{"type":173,"tag":202,"props":1765,"children":1766},{"className":167},[1767],{"type":179,"value":1562},{"type":179,"value":1610},{"type":173,"tag":202,"props":1770,"children":1771},{"className":167},[1772],{"type":179,"value":653},{"type":173,"tag":611,"props":1774,"children":1775},{},[1776],{"type":173,"tag":202,"props":1777,"children":1778},{"className":167},[1779],{"type":179,"value":636},{"type":173,"tag":196,"props":1781,"children":1782},{},[1783],{"type":179,"value":1784},"Remove a subset of fields.",{"type":173,"tag":210,"props":1786,"children":1788},{"className":1629,"code":1787,"language":1631,"meta":167,"style":167},"const { title, ...propsWithoutBody } = await this.$content('article-1').without(['body']).fetch()\n",[1789],{"type":173,"tag":202,"props":1790,"children":1791},{"__ignoreMap":167},[1792],{"type":173,"tag":220,"props":1793,"children":1794},{"class":222,"line":223},[1795,1799,1803,1808,1813,1818,1823,1827,1831,1835,1839,1843,1847,1851,1855,1859,1863,1867,1872,1876,1880,1885,1889,1893,1897,1901],{"type":173,"tag":220,"props":1796,"children":1797},{"style":313},[1798],{"type":179,"value":1643},{"type":173,"tag":220,"props":1800,"children":1801},{"style":227},[1802],{"type":179,"value":1648},{"type":173,"tag":220,"props":1804,"children":1805},{"style":281},[1806],{"type":179,"value":1807}," title",{"type":173,"tag":220,"props":1809,"children":1810},{"style":227},[1811],{"type":179,"value":1812},",",{"type":173,"tag":220,"props":1814,"children":1815},{"style":227},[1816],{"type":179,"value":1817}," ...",{"type":173,"tag":220,"props":1819,"children":1820},{"style":281},[1821],{"type":179,"value":1822},"propsWithoutBody ",{"type":173,"tag":220,"props":1824,"children":1825},{"style":227},[1826],{"type":179,"value":1658},{"type":173,"tag":220,"props":1828,"children":1829},{"style":227},[1830],{"type":179,"value":474},{"type":173,"tag":220,"props":1832,"children":1833},{"style":408},[1834],{"type":179,"value":479},{"type":173,"tag":220,"props":1836,"children":1837},{"style":227},[1838],{"type":179,"value":1671},{"type":173,"tag":220,"props":1840,"children":1841},{"style":482},[1842],{"type":179,"value":1312},{"type":173,"tag":220,"props":1844,"children":1845},{"style":281},[1846],{"type":179,"value":489},{"type":173,"tag":220,"props":1848,"children":1849},{"style":227},[1850],{"type":179,"value":494},{"type":173,"tag":220,"props":1852,"children":1853},{"style":329},[1854],{"type":179,"value":1688},{"type":173,"tag":220,"props":1856,"children":1857},{"style":227},[1858],{"type":179,"value":494},{"type":173,"tag":220,"props":1860,"children":1861},{"style":281},[1862],{"type":179,"value":508},{"type":173,"tag":220,"props":1864,"children":1865},{"style":227},[1866],{"type":179,"value":513},{"type":173,"tag":220,"props":1868,"children":1869},{"style":482},[1870],{"type":179,"value":1871},"without",{"type":173,"tag":220,"props":1873,"children":1874},{"style":281},[1875],{"type":179,"value":1710},{"type":173,"tag":220,"props":1877,"children":1878},{"style":227},[1879],{"type":179,"value":494},{"type":173,"tag":220,"props":1881,"children":1882},{"style":329},[1883],{"type":179,"value":1884},"body",{"type":173,"tag":220,"props":1886,"children":1887},{"style":227},[1888],{"type":179,"value":494},{"type":173,"tag":220,"props":1890,"children":1891},{"style":281},[1892],{"type":179,"value":1728},{"type":173,"tag":220,"props":1894,"children":1895},{"style":227},[1896],{"type":179,"value":513},{"type":173,"tag":220,"props":1898,"children":1899},{"style":482},[1900],{"type":179,"value":518},{"type":173,"tag":220,"props":1902,"children":1903},{"style":281},[1904],{"type":179,"value":523},{"type":173,"tag":189,"props":1906,"children":1908},{"id":1907},"wherequery",[1909],{"type":179,"value":1910},"where(query)",{"type":173,"tag":607,"props":1912,"children":1913},{},[1914],{"type":173,"tag":611,"props":1915,"children":1916},{},[1917,1922],{"type":173,"tag":202,"props":1918,"children":1919},{"className":167},[1920],{"type":179,"value":1921},"query",{"type":173,"tag":607,"props":1923,"children":1924},{},[1925,1933],{"type":173,"tag":611,"props":1926,"children":1927},{},[1928,1929],{"type":179,"value":623},{"type":173,"tag":202,"props":1930,"children":1931},{"className":167},[1932],{"type":179,"value":628},{"type":173,"tag":611,"props":1934,"children":1935},{},[1936],{"type":173,"tag":202,"props":1937,"children":1938},{"className":167},[1939],{"type":179,"value":636},{"type":173,"tag":196,"props":1941,"children":1942},{},[1943],{"type":179,"value":1944},"Filter results by query.",{"type":173,"tag":196,"props":1946,"children":1947},{},[1948,1950,1955,1957,1962,1963,1968,1969,1974,1975,1980,1981,1986,1987,1992],{"type":179,"value":1949},"Where queries are based on subset of mongo query syntax, it handles for example: ",{"type":173,"tag":202,"props":1951,"children":1952},{"className":167},[1953],{"type":179,"value":1954},"$eq",{"type":179,"value":1956},", ",{"type":173,"tag":202,"props":1958,"children":1959},{"className":167},[1960],{"type":179,"value":1961},"$ne",{"type":179,"value":1956},{"type":173,"tag":202,"props":1964,"children":1965},{"className":167},[1966],{"type":179,"value":1967},"$gt",{"type":179,"value":1956},{"type":173,"tag":202,"props":1970,"children":1971},{"className":167},[1972],{"type":179,"value":1973},"$gte",{"type":179,"value":1956},{"type":173,"tag":202,"props":1976,"children":1977},{"className":167},[1978],{"type":179,"value":1979},"$lt",{"type":179,"value":1956},{"type":173,"tag":202,"props":1982,"children":1983},{"className":167},[1984],{"type":179,"value":1985},"$lte",{"type":179,"value":1956},{"type":173,"tag":202,"props":1988,"children":1989},{"className":167},[1990],{"type":179,"value":1991},"$in",{"type":179,"value":1993},", ...",{"type":173,"tag":210,"props":1995,"children":1997},{"className":1629,"code":1996,"language":1631,"meta":167,"style":167},"// implicit (assumes $eq operator)\nconst articles = await this.$content('articles').where({ title: 'Home' }).fetch()\n// explicit $eq\nconst articles = await this.$content('articles').where({ title: { $eq: 'Home' } }).fetch()\n\n// $gt\nconst articles = await this.$content('articles').where({ age: { $gt: 18 } }).fetch()\n// $in\nconst articles = await this.$content('articles').where({ name: { $in: ['odin', 'thor'] } }).fetch()\n",[1998],{"type":173,"tag":202,"props":1999,"children":2000},{"__ignoreMap":167},[2001,2009,2120,2128,2248,2255,2263,2378,2386],{"type":173,"tag":220,"props":2002,"children":2003},{"class":222,"line":223},[2004],{"type":173,"tag":220,"props":2005,"children":2006},{"style":1167},[2007],{"type":179,"value":2008},"// implicit (assumes $eq operator)\n",{"type":173,"tag":220,"props":2010,"children":2011},{"class":222,"line":244},[2012,2016,2021,2025,2029,2033,2037,2041,2045,2050,2054,2058,2062,2067,2071,2076,2080,2085,2090,2095,2099,2104,2108,2112,2116],{"type":173,"tag":220,"props":2013,"children":2014},{"style":313},[2015],{"type":179,"value":1643},{"type":173,"tag":220,"props":2017,"children":2018},{"style":281},[2019],{"type":179,"value":2020}," articles ",{"type":173,"tag":220,"props":2022,"children":2023},{"style":227},[2024],{"type":179,"value":321},{"type":173,"tag":220,"props":2026,"children":2027},{"style":408},[2028],{"type":179,"value":479},{"type":173,"tag":220,"props":2030,"children":2031},{"style":227},[2032],{"type":179,"value":1671},{"type":173,"tag":220,"props":2034,"children":2035},{"style":482},[2036],{"type":179,"value":1312},{"type":173,"tag":220,"props":2038,"children":2039},{"style":281},[2040],{"type":179,"value":489},{"type":173,"tag":220,"props":2042,"children":2043},{"style":227},[2044],{"type":179,"value":494},{"type":173,"tag":220,"props":2046,"children":2047},{"style":329},[2048],{"type":179,"value":2049},"articles",{"type":173,"tag":220,"props":2051,"children":2052},{"style":227},[2053],{"type":179,"value":494},{"type":173,"tag":220,"props":2055,"children":2056},{"style":281},[2057],{"type":179,"value":508},{"type":173,"tag":220,"props":2059,"children":2060},{"style":227},[2061],{"type":179,"value":513},{"type":173,"tag":220,"props":2063,"children":2064},{"style":482},[2065],{"type":179,"value":2066},"where",{"type":173,"tag":220,"props":2068,"children":2069},{"style":281},[2070],{"type":179,"value":489},{"type":173,"tag":220,"props":2072,"children":2073},{"style":227},[2074],{"type":179,"value":2075},"{",{"type":173,"tag":220,"props":2077,"children":2078},{"style":233},[2079],{"type":179,"value":1807},{"type":173,"tag":220,"props":2081,"children":2082},{"style":227},[2083],{"type":179,"value":2084},":",{"type":173,"tag":220,"props":2086,"children":2087},{"style":227},[2088],{"type":179,"value":2089}," '",{"type":173,"tag":220,"props":2091,"children":2092},{"style":329},[2093],{"type":179,"value":2094},"Home",{"type":173,"tag":220,"props":2096,"children":2097},{"style":227},[2098],{"type":179,"value":494},{"type":173,"tag":220,"props":2100,"children":2101},{"style":227},[2102],{"type":179,"value":2103}," }",{"type":173,"tag":220,"props":2105,"children":2106},{"style":281},[2107],{"type":179,"value":508},{"type":173,"tag":220,"props":2109,"children":2110},{"style":227},[2111],{"type":179,"value":513},{"type":173,"tag":220,"props":2113,"children":2114},{"style":482},[2115],{"type":179,"value":518},{"type":173,"tag":220,"props":2117,"children":2118},{"style":281},[2119],{"type":179,"value":523},{"type":173,"tag":220,"props":2121,"children":2122},{"class":222,"line":262},[2123],{"type":173,"tag":220,"props":2124,"children":2125},{"style":1167},[2126],{"type":179,"value":2127},"// explicit $eq\n",{"type":173,"tag":220,"props":2129,"children":2130},{"class":222,"line":300},[2131,2135,2139,2143,2147,2151,2155,2159,2163,2167,2171,2175,2179,2183,2187,2191,2195,2199,2203,2208,2212,2216,2220,2224,2228,2232,2236,2240,2244],{"type":173,"tag":220,"props":2132,"children":2133},{"style":313},[2134],{"type":179,"value":1643},{"type":173,"tag":220,"props":2136,"children":2137},{"style":281},[2138],{"type":179,"value":2020},{"type":173,"tag":220,"props":2140,"children":2141},{"style":227},[2142],{"type":179,"value":321},{"type":173,"tag":220,"props":2144,"children":2145},{"style":408},[2146],{"type":179,"value":479},{"type":173,"tag":220,"props":2148,"children":2149},{"style":227},[2150],{"type":179,"value":1671},{"type":173,"tag":220,"props":2152,"children":2153},{"style":482},[2154],{"type":179,"value":1312},{"type":173,"tag":220,"props":2156,"children":2157},{"style":281},[2158],{"type":179,"value":489},{"type":173,"tag":220,"props":2160,"children":2161},{"style":227},[2162],{"type":179,"value":494},{"type":173,"tag":220,"props":2164,"children":2165},{"style":329},[2166],{"type":179,"value":2049},{"type":173,"tag":220,"props":2168,"children":2169},{"style":227},[2170],{"type":179,"value":494},{"type":173,"tag":220,"props":2172,"children":2173},{"style":281},[2174],{"type":179,"value":508},{"type":173,"tag":220,"props":2176,"children":2177},{"style":227},[2178],{"type":179,"value":513},{"type":173,"tag":220,"props":2180,"children":2181},{"style":482},[2182],{"type":179,"value":2066},{"type":173,"tag":220,"props":2184,"children":2185},{"style":281},[2186],{"type":179,"value":489},{"type":173,"tag":220,"props":2188,"children":2189},{"style":227},[2190],{"type":179,"value":2075},{"type":173,"tag":220,"props":2192,"children":2193},{"style":233},[2194],{"type":179,"value":1807},{"type":173,"tag":220,"props":2196,"children":2197},{"style":227},[2198],{"type":179,"value":2084},{"type":173,"tag":220,"props":2200,"children":2201},{"style":227},[2202],{"type":179,"value":1648},{"type":173,"tag":220,"props":2204,"children":2205},{"style":233},[2206],{"type":179,"value":2207}," $eq",{"type":173,"tag":220,"props":2209,"children":2210},{"style":227},[2211],{"type":179,"value":2084},{"type":173,"tag":220,"props":2213,"children":2214},{"style":227},[2215],{"type":179,"value":2089},{"type":173,"tag":220,"props":2217,"children":2218},{"style":329},[2219],{"type":179,"value":2094},{"type":173,"tag":220,"props":2221,"children":2222},{"style":227},[2223],{"type":179,"value":494},{"type":173,"tag":220,"props":2225,"children":2226},{"style":227},[2227],{"type":179,"value":2103},{"type":173,"tag":220,"props":2229,"children":2230},{"style":227},[2231],{"type":179,"value":2103},{"type":173,"tag":220,"props":2233,"children":2234},{"style":281},[2235],{"type":179,"value":508},{"type":173,"tag":220,"props":2237,"children":2238},{"style":227},[2239],{"type":179,"value":513},{"type":173,"tag":220,"props":2241,"children":2242},{"style":482},[2243],{"type":179,"value":518},{"type":173,"tag":220,"props":2245,"children":2246},{"style":281},[2247],{"type":179,"value":523},{"type":173,"tag":220,"props":2249,"children":2250},{"class":222,"line":344},[2251],{"type":173,"tag":220,"props":2252,"children":2253},{"emptyLinePlaceholder":381},[2254],{"type":179,"value":384},{"type":173,"tag":220,"props":2256,"children":2257},{"class":222,"line":361},[2258],{"type":173,"tag":220,"props":2259,"children":2260},{"style":1167},[2261],{"type":179,"value":2262},"// $gt\n",{"type":173,"tag":220,"props":2264,"children":2265},{"class":222,"line":377},[2266,2270,2274,2278,2282,2286,2290,2294,2298,2302,2306,2310,2314,2318,2322,2326,2331,2335,2339,2344,2348,2354,2358,2362,2366,2370,2374],{"type":173,"tag":220,"props":2267,"children":2268},{"style":313},[2269],{"type":179,"value":1643},{"type":173,"tag":220,"props":2271,"children":2272},{"style":281},[2273],{"type":179,"value":2020},{"type":173,"tag":220,"props":2275,"children":2276},{"style":227},[2277],{"type":179,"value":321},{"type":173,"tag":220,"props":2279,"children":2280},{"style":408},[2281],{"type":179,"value":479},{"type":173,"tag":220,"props":2283,"children":2284},{"style":227},[2285],{"type":179,"value":1671},{"type":173,"tag":220,"props":2287,"children":2288},{"style":482},[2289],{"type":179,"value":1312},{"type":173,"tag":220,"props":2291,"children":2292},{"style":281},[2293],{"type":179,"value":489},{"type":173,"tag":220,"props":2295,"children":2296},{"style":227},[2297],{"type":179,"value":494},{"type":173,"tag":220,"props":2299,"children":2300},{"style":329},[2301],{"type":179,"value":2049},{"type":173,"tag":220,"props":2303,"children":2304},{"style":227},[2305],{"type":179,"value":494},{"type":173,"tag":220,"props":2307,"children":2308},{"style":281},[2309],{"type":179,"value":508},{"type":173,"tag":220,"props":2311,"children":2312},{"style":227},[2313],{"type":179,"value":513},{"type":173,"tag":220,"props":2315,"children":2316},{"style":482},[2317],{"type":179,"value":2066},{"type":173,"tag":220,"props":2319,"children":2320},{"style":281},[2321],{"type":179,"value":489},{"type":173,"tag":220,"props":2323,"children":2324},{"style":227},[2325],{"type":179,"value":2075},{"type":173,"tag":220,"props":2327,"children":2328},{"style":233},[2329],{"type":179,"value":2330}," age",{"type":173,"tag":220,"props":2332,"children":2333},{"style":227},[2334],{"type":179,"value":2084},{"type":173,"tag":220,"props":2336,"children":2337},{"style":227},[2338],{"type":179,"value":1648},{"type":173,"tag":220,"props":2340,"children":2341},{"style":233},[2342],{"type":179,"value":2343}," $gt",{"type":173,"tag":220,"props":2345,"children":2346},{"style":227},[2347],{"type":179,"value":2084},{"type":173,"tag":220,"props":2349,"children":2351},{"style":2350},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[2352],{"type":179,"value":2353}," 18",{"type":173,"tag":220,"props":2355,"children":2356},{"style":227},[2357],{"type":179,"value":2103},{"type":173,"tag":220,"props":2359,"children":2360},{"style":227},[2361],{"type":179,"value":2103},{"type":173,"tag":220,"props":2363,"children":2364},{"style":281},[2365],{"type":179,"value":508},{"type":173,"tag":220,"props":2367,"children":2368},{"style":227},[2369],{"type":179,"value":513},{"type":173,"tag":220,"props":2371,"children":2372},{"style":482},[2373],{"type":179,"value":518},{"type":173,"tag":220,"props":2375,"children":2376},{"style":281},[2377],{"type":179,"value":523},{"type":173,"tag":220,"props":2379,"children":2380},{"class":222,"line":387},[2381],{"type":173,"tag":220,"props":2382,"children":2383},{"style":1167},[2384],{"type":179,"value":2385},"// $in\n",{"type":173,"tag":220,"props":2387,"children":2388},{"class":222,"line":404},[2389,2393,2397,2401,2405,2409,2413,2417,2421,2425,2429,2433,2437,2441,2445,2449,2454,2458,2462,2467,2471,2476,2480,2485,2489,2493,2497,2502,2506,2511,2515,2519,2523,2527,2531],{"type":173,"tag":220,"props":2390,"children":2391},{"style":313},[2392],{"type":179,"value":1643},{"type":173,"tag":220,"props":2394,"children":2395},{"style":281},[2396],{"type":179,"value":2020},{"type":173,"tag":220,"props":2398,"children":2399},{"style":227},[2400],{"type":179,"value":321},{"type":173,"tag":220,"props":2402,"children":2403},{"style":408},[2404],{"type":179,"value":479},{"type":173,"tag":220,"props":2406,"children":2407},{"style":227},[2408],{"type":179,"value":1671},{"type":173,"tag":220,"props":2410,"children":2411},{"style":482},[2412],{"type":179,"value":1312},{"type":173,"tag":220,"props":2414,"children":2415},{"style":281},[2416],{"type":179,"value":489},{"type":173,"tag":220,"props":2418,"children":2419},{"style":227},[2420],{"type":179,"value":494},{"type":173,"tag":220,"props":2422,"children":2423},{"style":329},[2424],{"type":179,"value":2049},{"type":173,"tag":220,"props":2426,"children":2427},{"style":227},[2428],{"type":179,"value":494},{"type":173,"tag":220,"props":2430,"children":2431},{"style":281},[2432],{"type":179,"value":508},{"type":173,"tag":220,"props":2434,"children":2435},{"style":227},[2436],{"type":179,"value":513},{"type":173,"tag":220,"props":2438,"children":2439},{"style":482},[2440],{"type":179,"value":2066},{"type":173,"tag":220,"props":2442,"children":2443},{"style":281},[2444],{"type":179,"value":489},{"type":173,"tag":220,"props":2446,"children":2447},{"style":227},[2448],{"type":179,"value":2075},{"type":173,"tag":220,"props":2450,"children":2451},{"style":233},[2452],{"type":179,"value":2453}," name",{"type":173,"tag":220,"props":2455,"children":2456},{"style":227},[2457],{"type":179,"value":2084},{"type":173,"tag":220,"props":2459,"children":2460},{"style":227},[2461],{"type":179,"value":1648},{"type":173,"tag":220,"props":2463,"children":2464},{"style":233},[2465],{"type":179,"value":2466}," $in",{"type":173,"tag":220,"props":2468,"children":2469},{"style":227},[2470],{"type":179,"value":2084},{"type":173,"tag":220,"props":2472,"children":2473},{"style":281},[2474],{"type":179,"value":2475}," [",{"type":173,"tag":220,"props":2477,"children":2478},{"style":227},[2479],{"type":179,"value":494},{"type":173,"tag":220,"props":2481,"children":2482},{"style":329},[2483],{"type":179,"value":2484},"odin",{"type":173,"tag":220,"props":2486,"children":2487},{"style":227},[2488],{"type":179,"value":494},{"type":173,"tag":220,"props":2490,"children":2491},{"style":227},[2492],{"type":179,"value":1812},{"type":173,"tag":220,"props":2494,"children":2495},{"style":227},[2496],{"type":179,"value":2089},{"type":173,"tag":220,"props":2498,"children":2499},{"style":329},[2500],{"type":179,"value":2501},"thor",{"type":173,"tag":220,"props":2503,"children":2504},{"style":227},[2505],{"type":179,"value":494},{"type":173,"tag":220,"props":2507,"children":2508},{"style":281},[2509],{"type":179,"value":2510},"] ",{"type":173,"tag":220,"props":2512,"children":2513},{"style":227},[2514],{"type":179,"value":1658},{"type":173,"tag":220,"props":2516,"children":2517},{"style":227},[2518],{"type":179,"value":2103},{"type":173,"tag":220,"props":2520,"children":2521},{"style":281},[2522],{"type":179,"value":508},{"type":173,"tag":220,"props":2524,"children":2525},{"style":227},[2526],{"type":179,"value":513},{"type":173,"tag":220,"props":2528,"children":2529},{"style":482},[2530],{"type":179,"value":518},{"type":173,"tag":220,"props":2532,"children":2533},{"style":281},[2534],{"type":179,"value":523},{"type":173,"tag":196,"props":2536,"children":2537},{},[2538,2540,2546],{"type":179,"value":2539},"In order to filter in objects and array you need to enable nestedProperties, see ",{"type":173,"tag":660,"props":2541,"children":2543},{"href":2542},"/v1/getting-started/configuration#nestedproperties",[2544],{"type":179,"value":2545},"configuration",{"type":179,"value":513},{"type":173,"tag":210,"props":2548,"children":2550},{"className":1629,"code":2549,"language":1631,"meta":167,"style":167},"const products = await this.$content('products').where({ 'categories.slug': { $contains: 'top' } }).fetch()\n\nconst products = await this.$content('products').where({ 'categories.slug': { $contains: ['top', 'woman'] } }).fetch()\n",[2551],{"type":173,"tag":202,"props":2552,"children":2553},{"__ignoreMap":167},[2554,2686,2693],{"type":173,"tag":220,"props":2555,"children":2556},{"class":222,"line":223},[2557,2561,2566,2570,2574,2578,2582,2586,2590,2595,2599,2603,2607,2611,2615,2619,2623,2628,2632,2636,2640,2645,2649,2653,2658,2662,2666,2670,2674,2678,2682],{"type":173,"tag":220,"props":2558,"children":2559},{"style":313},[2560],{"type":179,"value":1643},{"type":173,"tag":220,"props":2562,"children":2563},{"style":281},[2564],{"type":179,"value":2565}," products ",{"type":173,"tag":220,"props":2567,"children":2568},{"style":227},[2569],{"type":179,"value":321},{"type":173,"tag":220,"props":2571,"children":2572},{"style":408},[2573],{"type":179,"value":479},{"type":173,"tag":220,"props":2575,"children":2576},{"style":227},[2577],{"type":179,"value":1671},{"type":173,"tag":220,"props":2579,"children":2580},{"style":482},[2581],{"type":179,"value":1312},{"type":173,"tag":220,"props":2583,"children":2584},{"style":281},[2585],{"type":179,"value":489},{"type":173,"tag":220,"props":2587,"children":2588},{"style":227},[2589],{"type":179,"value":494},{"type":173,"tag":220,"props":2591,"children":2592},{"style":329},[2593],{"type":179,"value":2594},"products",{"type":173,"tag":220,"props":2596,"children":2597},{"style":227},[2598],{"type":179,"value":494},{"type":173,"tag":220,"props":2600,"children":2601},{"style":281},[2602],{"type":179,"value":508},{"type":173,"tag":220,"props":2604,"children":2605},{"style":227},[2606],{"type":179,"value":513},{"type":173,"tag":220,"props":2608,"children":2609},{"style":482},[2610],{"type":179,"value":2066},{"type":173,"tag":220,"props":2612,"children":2613},{"style":281},[2614],{"type":179,"value":489},{"type":173,"tag":220,"props":2616,"children":2617},{"style":227},[2618],{"type":179,"value":2075},{"type":173,"tag":220,"props":2620,"children":2621},{"style":227},[2622],{"type":179,"value":2089},{"type":173,"tag":220,"props":2624,"children":2625},{"style":233},[2626],{"type":179,"value":2627},"categories.slug",{"type":173,"tag":220,"props":2629,"children":2630},{"style":227},[2631],{"type":179,"value":494},{"type":173,"tag":220,"props":2633,"children":2634},{"style":227},[2635],{"type":179,"value":2084},{"type":173,"tag":220,"props":2637,"children":2638},{"style":227},[2639],{"type":179,"value":1648},{"type":173,"tag":220,"props":2641,"children":2642},{"style":233},[2643],{"type":179,"value":2644}," $contains",{"type":173,"tag":220,"props":2646,"children":2647},{"style":227},[2648],{"type":179,"value":2084},{"type":173,"tag":220,"props":2650,"children":2651},{"style":227},[2652],{"type":179,"value":2089},{"type":173,"tag":220,"props":2654,"children":2655},{"style":329},[2656],{"type":179,"value":2657},"top",{"type":173,"tag":220,"props":2659,"children":2660},{"style":227},[2661],{"type":179,"value":494},{"type":173,"tag":220,"props":2663,"children":2664},{"style":227},[2665],{"type":179,"value":2103},{"type":173,"tag":220,"props":2667,"children":2668},{"style":227},[2669],{"type":179,"value":2103},{"type":173,"tag":220,"props":2671,"children":2672},{"style":281},[2673],{"type":179,"value":508},{"type":173,"tag":220,"props":2675,"children":2676},{"style":227},[2677],{"type":179,"value":513},{"type":173,"tag":220,"props":2679,"children":2680},{"style":482},[2681],{"type":179,"value":518},{"type":173,"tag":220,"props":2683,"children":2684},{"style":281},[2685],{"type":179,"value":523},{"type":173,"tag":220,"props":2687,"children":2688},{"class":222,"line":244},[2689],{"type":173,"tag":220,"props":2690,"children":2691},{"emptyLinePlaceholder":381},[2692],{"type":179,"value":384},{"type":173,"tag":220,"props":2694,"children":2695},{"class":222,"line":262},[2696,2700,2704,2708,2712,2716,2720,2724,2728,2732,2736,2740,2744,2748,2752,2756,2760,2764,2768,2772,2776,2780,2784,2788,2792,2796,2800,2804,2808,2813,2817,2821,2825,2829,2833,2837,2841],{"type":173,"tag":220,"props":2697,"children":2698},{"style":313},[2699],{"type":179,"value":1643},{"type":173,"tag":220,"props":2701,"children":2702},{"style":281},[2703],{"type":179,"value":2565},{"type":173,"tag":220,"props":2705,"children":2706},{"style":227},[2707],{"type":179,"value":321},{"type":173,"tag":220,"props":2709,"children":2710},{"style":408},[2711],{"type":179,"value":479},{"type":173,"tag":220,"props":2713,"children":2714},{"style":227},[2715],{"type":179,"value":1671},{"type":173,"tag":220,"props":2717,"children":2718},{"style":482},[2719],{"type":179,"value":1312},{"type":173,"tag":220,"props":2721,"children":2722},{"style":281},[2723],{"type":179,"value":489},{"type":173,"tag":220,"props":2725,"children":2726},{"style":227},[2727],{"type":179,"value":494},{"type":173,"tag":220,"props":2729,"children":2730},{"style":329},[2731],{"type":179,"value":2594},{"type":173,"tag":220,"props":2733,"children":2734},{"style":227},[2735],{"type":179,"value":494},{"type":173,"tag":220,"props":2737,"children":2738},{"style":281},[2739],{"type":179,"value":508},{"type":173,"tag":220,"props":2741,"children":2742},{"style":227},[2743],{"type":179,"value":513},{"type":173,"tag":220,"props":2745,"children":2746},{"style":482},[2747],{"type":179,"value":2066},{"type":173,"tag":220,"props":2749,"children":2750},{"style":281},[2751],{"type":179,"value":489},{"type":173,"tag":220,"props":2753,"children":2754},{"style":227},[2755],{"type":179,"value":2075},{"type":173,"tag":220,"props":2757,"children":2758},{"style":227},[2759],{"type":179,"value":2089},{"type":173,"tag":220,"props":2761,"children":2762},{"style":233},[2763],{"type":179,"value":2627},{"type":173,"tag":220,"props":2765,"children":2766},{"style":227},[2767],{"type":179,"value":494},{"type":173,"tag":220,"props":2769,"children":2770},{"style":227},[2771],{"type":179,"value":2084},{"type":173,"tag":220,"props":2773,"children":2774},{"style":227},[2775],{"type":179,"value":1648},{"type":173,"tag":220,"props":2777,"children":2778},{"style":233},[2779],{"type":179,"value":2644},{"type":173,"tag":220,"props":2781,"children":2782},{"style":227},[2783],{"type":179,"value":2084},{"type":173,"tag":220,"props":2785,"children":2786},{"style":281},[2787],{"type":179,"value":2475},{"type":173,"tag":220,"props":2789,"children":2790},{"style":227},[2791],{"type":179,"value":494},{"type":173,"tag":220,"props":2793,"children":2794},{"style":329},[2795],{"type":179,"value":2657},{"type":173,"tag":220,"props":2797,"children":2798},{"style":227},[2799],{"type":179,"value":494},{"type":173,"tag":220,"props":2801,"children":2802},{"style":227},[2803],{"type":179,"value":1812},{"type":173,"tag":220,"props":2805,"children":2806},{"style":227},[2807],{"type":179,"value":2089},{"type":173,"tag":220,"props":2809,"children":2810},{"style":329},[2811],{"type":179,"value":2812},"woman",{"type":173,"tag":220,"props":2814,"children":2815},{"style":227},[2816],{"type":179,"value":494},{"type":173,"tag":220,"props":2818,"children":2819},{"style":281},[2820],{"type":179,"value":2510},{"type":173,"tag":220,"props":2822,"children":2823},{"style":227},[2824],{"type":179,"value":1658},{"type":173,"tag":220,"props":2826,"children":2827},{"style":227},[2828],{"type":179,"value":2103},{"type":173,"tag":220,"props":2830,"children":2831},{"style":281},[2832],{"type":179,"value":508},{"type":173,"tag":220,"props":2834,"children":2835},{"style":227},[2836],{"type":179,"value":513},{"type":173,"tag":220,"props":2838,"children":2839},{"style":482},[2840],{"type":179,"value":518},{"type":173,"tag":220,"props":2842,"children":2843},{"style":281},[2844],{"type":179,"value":523},{"type":173,"tag":1179,"props":2846,"children":2847},{},[2848],{"type":173,"tag":196,"props":2849,"children":2850},{},[2851,2853,2860],{"type":179,"value":2852},"This module uses LokiJS under the hood, you can check for ",{"type":173,"tag":660,"props":2854,"children":2857},{"href":2855,"rel":2856},"https://github.com/techfort/LokiJS/wiki/Query-Examples#find-queries",[1191],[2858],{"type":179,"value":2859},"query examples",{"type":179,"value":513},{"type":173,"tag":189,"props":2862,"children":2864},{"id":2863},"sortbykey-direction",[2865],{"type":179,"value":2866},"sortBy(key, direction)",{"type":173,"tag":607,"props":2868,"children":2869},{},[2870,2896],{"type":173,"tag":611,"props":2871,"children":2872},{},[2873,2878],{"type":173,"tag":202,"props":2874,"children":2875},{"className":167},[2876],{"type":179,"value":2877},"key",{"type":173,"tag":607,"props":2879,"children":2880},{},[2881,2889],{"type":173,"tag":611,"props":2882,"children":2883},{},[2884,2885],{"type":179,"value":623},{"type":173,"tag":202,"props":2886,"children":2887},{"className":167},[2888],{"type":179,"value":653},{"type":173,"tag":611,"props":2890,"children":2891},{},[2892],{"type":173,"tag":202,"props":2893,"children":2894},{"className":167},[2895],{"type":179,"value":636},{"type":173,"tag":611,"props":2897,"children":2898},{},[2899,2904],{"type":173,"tag":202,"props":2900,"children":2901},{"className":167},[2902],{"type":179,"value":2903},"direction",{"type":173,"tag":607,"props":2905,"children":2906},{},[2907,2915,2932],{"type":173,"tag":611,"props":2908,"children":2909},{},[2910,2911],{"type":179,"value":623},{"type":173,"tag":202,"props":2912,"children":2913},{"className":167},[2914],{"type":179,"value":653},{"type":173,"tag":611,"props":2916,"children":2917},{},[2918,2920,2925,2927],{"type":179,"value":2919},"Value: ",{"type":173,"tag":202,"props":2921,"children":2922},{"className":167},[2923],{"type":179,"value":2924},"'asc'",{"type":179,"value":2926}," or ",{"type":173,"tag":202,"props":2928,"children":2929},{"className":167},[2930],{"type":179,"value":2931},"'desc'",{"type":173,"tag":611,"props":2933,"children":2934},{},[2935,2936],{"type":179,"value":1366},{"type":173,"tag":202,"props":2937,"children":2938},{"className":167},[2939],{"type":179,"value":2924},{"type":173,"tag":196,"props":2941,"children":2942},{},[2943],{"type":179,"value":2944},"Sort results by key.",{"type":173,"tag":210,"props":2946,"children":2948},{"className":1629,"code":2947,"language":1631,"meta":167,"style":167},"const articles = await this.$content('articles').sortBy('title').fetch()\n",[2949],{"type":173,"tag":202,"props":2950,"children":2951},{"__ignoreMap":167},[2952],{"type":173,"tag":220,"props":2953,"children":2954},{"class":222,"line":223},[2955,2959,2963,2967,2971,2975,2979,2983,2987,2991,2995,2999,3003,3008,3012,3016,3020,3024,3028,3032,3036],{"type":173,"tag":220,"props":2956,"children":2957},{"style":313},[2958],{"type":179,"value":1643},{"type":173,"tag":220,"props":2960,"children":2961},{"style":281},[2962],{"type":179,"value":2020},{"type":173,"tag":220,"props":2964,"children":2965},{"style":227},[2966],{"type":179,"value":321},{"type":173,"tag":220,"props":2968,"children":2969},{"style":408},[2970],{"type":179,"value":479},{"type":173,"tag":220,"props":2972,"children":2973},{"style":227},[2974],{"type":179,"value":1671},{"type":173,"tag":220,"props":2976,"children":2977},{"style":482},[2978],{"type":179,"value":1312},{"type":173,"tag":220,"props":2980,"children":2981},{"style":281},[2982],{"type":179,"value":489},{"type":173,"tag":220,"props":2984,"children":2985},{"style":227},[2986],{"type":179,"value":494},{"type":173,"tag":220,"props":2988,"children":2989},{"style":329},[2990],{"type":179,"value":2049},{"type":173,"tag":220,"props":2992,"children":2993},{"style":227},[2994],{"type":179,"value":494},{"type":173,"tag":220,"props":2996,"children":2997},{"style":281},[2998],{"type":179,"value":508},{"type":173,"tag":220,"props":3000,"children":3001},{"style":227},[3002],{"type":179,"value":513},{"type":173,"tag":220,"props":3004,"children":3005},{"style":482},[3006],{"type":179,"value":3007},"sortBy",{"type":173,"tag":220,"props":3009,"children":3010},{"style":281},[3011],{"type":179,"value":489},{"type":173,"tag":220,"props":3013,"children":3014},{"style":227},[3015],{"type":179,"value":494},{"type":173,"tag":220,"props":3017,"children":3018},{"style":329},[3019],{"type":179,"value":1719},{"type":173,"tag":220,"props":3021,"children":3022},{"style":227},[3023],{"type":179,"value":494},{"type":173,"tag":220,"props":3025,"children":3026},{"style":281},[3027],{"type":179,"value":508},{"type":173,"tag":220,"props":3029,"children":3030},{"style":227},[3031],{"type":179,"value":513},{"type":173,"tag":220,"props":3033,"children":3034},{"style":482},[3035],{"type":179,"value":518},{"type":173,"tag":220,"props":3037,"children":3038},{"style":281},[3039],{"type":179,"value":523},{"type":173,"tag":1179,"props":3041,"children":3042},{},[3043],{"type":173,"tag":196,"props":3044,"children":3045},{},[3046],{"type":179,"value":3047},"Can be chained multiple times to sort on multiple fields.",{"type":173,"tag":174,"props":3049,"children":3051},{"type":3050},"warning",[3052,3068],{"type":173,"tag":196,"props":3053,"children":3054},{},[3055,3059,3061,3066],{"type":173,"tag":202,"props":3056,"children":3057},{"className":167},[3058],{"type":179,"value":3007},{"type":179,"value":3060}," method does ",{"type":173,"tag":601,"props":3062,"children":3063},{},[3064],{"type":179,"value":3065},"case-sensitive",{"type":179,"value":3067}," sort, which is currently not configurable.",{"type":173,"tag":196,"props":3069,"children":3070},{},[3071,3073,3079],{"type":179,"value":3072},"If you need case-insensitive sorting, check out ",{"type":173,"tag":660,"props":3074,"children":3076},{"href":3075},"/v1/community/snippets#case-insensitive-sorting",[3077],{"type":179,"value":3078},"this snippet",{"type":179,"value":3080}," on how to work around it.",{"type":173,"tag":189,"props":3082,"children":3084},{"id":3083},"limitn",[3085],{"type":179,"value":3086},"limit(n)",{"type":173,"tag":607,"props":3088,"children":3089},{},[3090],{"type":173,"tag":611,"props":3091,"children":3092},{},[3093,3098],{"type":173,"tag":202,"props":3094,"children":3095},{"className":167},[3096],{"type":179,"value":3097},"n",{"type":173,"tag":607,"props":3099,"children":3100},{},[3101,3115],{"type":173,"tag":611,"props":3102,"children":3103},{},[3104,3105,3109,3110],{"type":179,"value":623},{"type":173,"tag":202,"props":3106,"children":3107},{"className":167},[3108],{"type":179,"value":653},{"type":179,"value":1610},{"type":173,"tag":202,"props":3111,"children":3112},{"className":167},[3113],{"type":179,"value":3114},"number",{"type":173,"tag":611,"props":3116,"children":3117},{},[3118],{"type":173,"tag":202,"props":3119,"children":3120},{"className":167},[3121],{"type":179,"value":636},{"type":173,"tag":196,"props":3123,"children":3124},{},[3125],{"type":179,"value":3126},"Limit number of results.",{"type":173,"tag":210,"props":3128,"children":3130},{"className":1629,"code":3129,"language":1631,"meta":167,"style":167},"// fetch only 5 articles\nconst articles = await this.$content('articles').limit(5).fetch()\n",[3131],{"type":173,"tag":202,"props":3132,"children":3133},{"__ignoreMap":167},[3134,3142],{"type":173,"tag":220,"props":3135,"children":3136},{"class":222,"line":223},[3137],{"type":173,"tag":220,"props":3138,"children":3139},{"style":1167},[3140],{"type":179,"value":3141},"// fetch only 5 articles\n",{"type":173,"tag":220,"props":3143,"children":3144},{"class":222,"line":244},[3145,3149,3153,3157,3161,3165,3169,3173,3177,3181,3185,3189,3193,3198,3202,3207,3211,3215,3219],{"type":173,"tag":220,"props":3146,"children":3147},{"style":313},[3148],{"type":179,"value":1643},{"type":173,"tag":220,"props":3150,"children":3151},{"style":281},[3152],{"type":179,"value":2020},{"type":173,"tag":220,"props":3154,"children":3155},{"style":227},[3156],{"type":179,"value":321},{"type":173,"tag":220,"props":3158,"children":3159},{"style":408},[3160],{"type":179,"value":479},{"type":173,"tag":220,"props":3162,"children":3163},{"style":227},[3164],{"type":179,"value":1671},{"type":173,"tag":220,"props":3166,"children":3167},{"style":482},[3168],{"type":179,"value":1312},{"type":173,"tag":220,"props":3170,"children":3171},{"style":281},[3172],{"type":179,"value":489},{"type":173,"tag":220,"props":3174,"children":3175},{"style":227},[3176],{"type":179,"value":494},{"type":173,"tag":220,"props":3178,"children":3179},{"style":329},[3180],{"type":179,"value":2049},{"type":173,"tag":220,"props":3182,"children":3183},{"style":227},[3184],{"type":179,"value":494},{"type":173,"tag":220,"props":3186,"children":3187},{"style":281},[3188],{"type":179,"value":508},{"type":173,"tag":220,"props":3190,"children":3191},{"style":227},[3192],{"type":179,"value":513},{"type":173,"tag":220,"props":3194,"children":3195},{"style":482},[3196],{"type":179,"value":3197},"limit",{"type":173,"tag":220,"props":3199,"children":3200},{"style":281},[3201],{"type":179,"value":489},{"type":173,"tag":220,"props":3203,"children":3204},{"style":2350},[3205],{"type":179,"value":3206},"5",{"type":173,"tag":220,"props":3208,"children":3209},{"style":281},[3210],{"type":179,"value":508},{"type":173,"tag":220,"props":3212,"children":3213},{"style":227},[3214],{"type":179,"value":513},{"type":173,"tag":220,"props":3216,"children":3217},{"style":482},[3218],{"type":179,"value":518},{"type":173,"tag":220,"props":3220,"children":3221},{"style":281},[3222],{"type":179,"value":523},{"type":173,"tag":189,"props":3224,"children":3226},{"id":3225},"skipn",[3227],{"type":179,"value":3228},"skip(n)",{"type":173,"tag":607,"props":3230,"children":3231},{},[3232],{"type":173,"tag":611,"props":3233,"children":3234},{},[3235,3239],{"type":173,"tag":202,"props":3236,"children":3237},{"className":167},[3238],{"type":179,"value":3097},{"type":173,"tag":607,"props":3240,"children":3241},{},[3242,3255],{"type":173,"tag":611,"props":3243,"children":3244},{},[3245,3246,3250,3251],{"type":179,"value":623},{"type":173,"tag":202,"props":3247,"children":3248},{"className":167},[3249],{"type":179,"value":653},{"type":179,"value":1610},{"type":173,"tag":202,"props":3252,"children":3253},{"className":167},[3254],{"type":179,"value":3114},{"type":173,"tag":611,"props":3256,"children":3257},{},[3258],{"type":173,"tag":202,"props":3259,"children":3260},{"className":167},[3261],{"type":179,"value":636},{"type":173,"tag":196,"props":3263,"children":3264},{},[3265],{"type":179,"value":3266},"Skip results.",{"type":173,"tag":210,"props":3268,"children":3270},{"className":1629,"code":3269,"language":1631,"meta":167,"style":167},"// fetch the next 5 articles\nconst articles = await this.$content('articles').skip(5).limit(5).fetch()\n",[3271],{"type":173,"tag":202,"props":3272,"children":3273},{"__ignoreMap":167},[3274,3282],{"type":173,"tag":220,"props":3275,"children":3276},{"class":222,"line":223},[3277],{"type":173,"tag":220,"props":3278,"children":3279},{"style":1167},[3280],{"type":179,"value":3281},"// fetch the next 5 articles\n",{"type":173,"tag":220,"props":3283,"children":3284},{"class":222,"line":244},[3285,3289,3293,3297,3301,3305,3309,3313,3317,3321,3325,3329,3333,3338,3342,3346,3350,3354,3358,3362,3366,3370,3374,3378],{"type":173,"tag":220,"props":3286,"children":3287},{"style":313},[3288],{"type":179,"value":1643},{"type":173,"tag":220,"props":3290,"children":3291},{"style":281},[3292],{"type":179,"value":2020},{"type":173,"tag":220,"props":3294,"children":3295},{"style":227},[3296],{"type":179,"value":321},{"type":173,"tag":220,"props":3298,"children":3299},{"style":408},[3300],{"type":179,"value":479},{"type":173,"tag":220,"props":3302,"children":3303},{"style":227},[3304],{"type":179,"value":1671},{"type":173,"tag":220,"props":3306,"children":3307},{"style":482},[3308],{"type":179,"value":1312},{"type":173,"tag":220,"props":3310,"children":3311},{"style":281},[3312],{"type":179,"value":489},{"type":173,"tag":220,"props":3314,"children":3315},{"style":227},[3316],{"type":179,"value":494},{"type":173,"tag":220,"props":3318,"children":3319},{"style":329},[3320],{"type":179,"value":2049},{"type":173,"tag":220,"props":3322,"children":3323},{"style":227},[3324],{"type":179,"value":494},{"type":173,"tag":220,"props":3326,"children":3327},{"style":281},[3328],{"type":179,"value":508},{"type":173,"tag":220,"props":3330,"children":3331},{"style":227},[3332],{"type":179,"value":513},{"type":173,"tag":220,"props":3334,"children":3335},{"style":482},[3336],{"type":179,"value":3337},"skip",{"type":173,"tag":220,"props":3339,"children":3340},{"style":281},[3341],{"type":179,"value":489},{"type":173,"tag":220,"props":3343,"children":3344},{"style":2350},[3345],{"type":179,"value":3206},{"type":173,"tag":220,"props":3347,"children":3348},{"style":281},[3349],{"type":179,"value":508},{"type":173,"tag":220,"props":3351,"children":3352},{"style":227},[3353],{"type":179,"value":513},{"type":173,"tag":220,"props":3355,"children":3356},{"style":482},[3357],{"type":179,"value":3197},{"type":173,"tag":220,"props":3359,"children":3360},{"style":281},[3361],{"type":179,"value":489},{"type":173,"tag":220,"props":3363,"children":3364},{"style":2350},[3365],{"type":179,"value":3206},{"type":173,"tag":220,"props":3367,"children":3368},{"style":281},[3369],{"type":179,"value":508},{"type":173,"tag":220,"props":3371,"children":3372},{"style":227},[3373],{"type":179,"value":513},{"type":173,"tag":220,"props":3375,"children":3376},{"style":482},[3377],{"type":179,"value":518},{"type":173,"tag":220,"props":3379,"children":3380},{"style":281},[3381],{"type":179,"value":523},{"type":173,"tag":189,"props":3383,"children":3385},{"id":3384},"searchfield-value",[3386],{"type":179,"value":3387},"search(field, value)",{"type":173,"tag":607,"props":3389,"children":3390},{},[3391,3417],{"type":173,"tag":611,"props":3392,"children":3393},{},[3394,3399],{"type":173,"tag":202,"props":3395,"children":3396},{"className":167},[3397],{"type":179,"value":3398},"field",{"type":173,"tag":607,"props":3400,"children":3401},{},[3402,3410],{"type":173,"tag":611,"props":3403,"children":3404},{},[3405,3406],{"type":179,"value":623},{"type":173,"tag":202,"props":3407,"children":3408},{"className":167},[3409],{"type":179,"value":653},{"type":173,"tag":611,"props":3411,"children":3412},{},[3413],{"type":173,"tag":202,"props":3414,"children":3415},{"className":167},[3416],{"type":179,"value":636},{"type":173,"tag":611,"props":3418,"children":3419},{},[3420,3425],{"type":173,"tag":202,"props":3421,"children":3422},{"className":167},[3423],{"type":179,"value":3424},"value",{"type":173,"tag":607,"props":3426,"children":3427},{},[3428],{"type":173,"tag":611,"props":3429,"children":3430},{},[3431,3432],{"type":179,"value":623},{"type":173,"tag":202,"props":3433,"children":3434},{"className":167},[3435],{"type":179,"value":653},{"type":173,"tag":196,"props":3437,"children":3438},{},[3439,3441,3445,3447,3451,3453,3457],{"type":179,"value":3440},"Performs a full-text search on a field. ",{"type":173,"tag":202,"props":3442,"children":3443},{"className":167},[3444],{"type":179,"value":3424},{"type":179,"value":3446}," is optional, in this case ",{"type":173,"tag":202,"props":3448,"children":3449},{"className":167},[3450],{"type":179,"value":3398},{"type":179,"value":3452}," is the ",{"type":173,"tag":202,"props":3454,"children":3455},{"className":167},[3456],{"type":179,"value":3424},{"type":179,"value":3458}," and search will be performed on all defined full-text search fields.",{"type":173,"tag":196,"props":3460,"children":3461},{},[3462,3464,3469],{"type":179,"value":3463},"The fields you want to search on must be defined in options in order to be indexed, see ",{"type":173,"tag":660,"props":3465,"children":3467},{"href":3466},"/v1/getting-started/configuration#fulltextsearchfields",[3468],{"type":179,"value":2545},{"type":179,"value":513},{"type":173,"tag":196,"props":3471,"children":3472},{},[3473],{"type":179,"value":3474},"Using an empty string as parameter will skip the search.",{"type":173,"tag":210,"props":3476,"children":3478},{"className":1629,"code":3477,"language":1631,"meta":167,"style":167},"// Search on field title\nconst articles = await this.$content('articles').search('title', 'welcome').fetch()\n// Search on all pre-defined fields\nconst articles = await this.$content('articles').search('welcome').fetch()\n// Search will be skipped if the search string is empty\nconst articles = await this.$content('articles').search('').fetch()\n",[3479],{"type":173,"tag":202,"props":3480,"children":3481},{"__ignoreMap":167},[3482,3490,3595,3603,3690,3698],{"type":173,"tag":220,"props":3483,"children":3484},{"class":222,"line":223},[3485],{"type":173,"tag":220,"props":3486,"children":3487},{"style":1167},[3488],{"type":179,"value":3489},"// Search on field title\n",{"type":173,"tag":220,"props":3491,"children":3492},{"class":222,"line":244},[3493,3497,3501,3505,3509,3513,3517,3521,3525,3529,3533,3537,3541,3546,3550,3554,3558,3562,3566,3570,3575,3579,3583,3587,3591],{"type":173,"tag":220,"props":3494,"children":3495},{"style":313},[3496],{"type":179,"value":1643},{"type":173,"tag":220,"props":3498,"children":3499},{"style":281},[3500],{"type":179,"value":2020},{"type":173,"tag":220,"props":3502,"children":3503},{"style":227},[3504],{"type":179,"value":321},{"type":173,"tag":220,"props":3506,"children":3507},{"style":408},[3508],{"type":179,"value":479},{"type":173,"tag":220,"props":3510,"children":3511},{"style":227},[3512],{"type":179,"value":1671},{"type":173,"tag":220,"props":3514,"children":3515},{"style":482},[3516],{"type":179,"value":1312},{"type":173,"tag":220,"props":3518,"children":3519},{"style":281},[3520],{"type":179,"value":489},{"type":173,"tag":220,"props":3522,"children":3523},{"style":227},[3524],{"type":179,"value":494},{"type":173,"tag":220,"props":3526,"children":3527},{"style":329},[3528],{"type":179,"value":2049},{"type":173,"tag":220,"props":3530,"children":3531},{"style":227},[3532],{"type":179,"value":494},{"type":173,"tag":220,"props":3534,"children":3535},{"style":281},[3536],{"type":179,"value":508},{"type":173,"tag":220,"props":3538,"children":3539},{"style":227},[3540],{"type":179,"value":513},{"type":173,"tag":220,"props":3542,"children":3543},{"style":482},[3544],{"type":179,"value":3545},"search",{"type":173,"tag":220,"props":3547,"children":3548},{"style":281},[3549],{"type":179,"value":489},{"type":173,"tag":220,"props":3551,"children":3552},{"style":227},[3553],{"type":179,"value":494},{"type":173,"tag":220,"props":3555,"children":3556},{"style":329},[3557],{"type":179,"value":1719},{"type":173,"tag":220,"props":3559,"children":3560},{"style":227},[3561],{"type":179,"value":494},{"type":173,"tag":220,"props":3563,"children":3564},{"style":227},[3565],{"type":179,"value":1812},{"type":173,"tag":220,"props":3567,"children":3568},{"style":227},[3569],{"type":179,"value":2089},{"type":173,"tag":220,"props":3571,"children":3572},{"style":329},[3573],{"type":179,"value":3574},"welcome",{"type":173,"tag":220,"props":3576,"children":3577},{"style":227},[3578],{"type":179,"value":494},{"type":173,"tag":220,"props":3580,"children":3581},{"style":281},[3582],{"type":179,"value":508},{"type":173,"tag":220,"props":3584,"children":3585},{"style":227},[3586],{"type":179,"value":513},{"type":173,"tag":220,"props":3588,"children":3589},{"style":482},[3590],{"type":179,"value":518},{"type":173,"tag":220,"props":3592,"children":3593},{"style":281},[3594],{"type":179,"value":523},{"type":173,"tag":220,"props":3596,"children":3597},{"class":222,"line":262},[3598],{"type":173,"tag":220,"props":3599,"children":3600},{"style":1167},[3601],{"type":179,"value":3602},"// Search on all pre-defined fields\n",{"type":173,"tag":220,"props":3604,"children":3605},{"class":222,"line":300},[3606,3610,3614,3618,3622,3626,3630,3634,3638,3642,3646,3650,3654,3658,3662,3666,3670,3674,3678,3682,3686],{"type":173,"tag":220,"props":3607,"children":3608},{"style":313},[3609],{"type":179,"value":1643},{"type":173,"tag":220,"props":3611,"children":3612},{"style":281},[3613],{"type":179,"value":2020},{"type":173,"tag":220,"props":3615,"children":3616},{"style":227},[3617],{"type":179,"value":321},{"type":173,"tag":220,"props":3619,"children":3620},{"style":408},[3621],{"type":179,"value":479},{"type":173,"tag":220,"props":3623,"children":3624},{"style":227},[3625],{"type":179,"value":1671},{"type":173,"tag":220,"props":3627,"children":3628},{"style":482},[3629],{"type":179,"value":1312},{"type":173,"tag":220,"props":3631,"children":3632},{"style":281},[3633],{"type":179,"value":489},{"type":173,"tag":220,"props":3635,"children":3636},{"style":227},[3637],{"type":179,"value":494},{"type":173,"tag":220,"props":3639,"children":3640},{"style":329},[3641],{"type":179,"value":2049},{"type":173,"tag":220,"props":3643,"children":3644},{"style":227},[3645],{"type":179,"value":494},{"type":173,"tag":220,"props":3647,"children":3648},{"style":281},[3649],{"type":179,"value":508},{"type":173,"tag":220,"props":3651,"children":3652},{"style":227},[3653],{"type":179,"value":513},{"type":173,"tag":220,"props":3655,"children":3656},{"style":482},[3657],{"type":179,"value":3545},{"type":173,"tag":220,"props":3659,"children":3660},{"style":281},[3661],{"type":179,"value":489},{"type":173,"tag":220,"props":3663,"children":3664},{"style":227},[3665],{"type":179,"value":494},{"type":173,"tag":220,"props":3667,"children":3668},{"style":329},[3669],{"type":179,"value":3574},{"type":173,"tag":220,"props":3671,"children":3672},{"style":227},[3673],{"type":179,"value":494},{"type":173,"tag":220,"props":3675,"children":3676},{"style":281},[3677],{"type":179,"value":508},{"type":173,"tag":220,"props":3679,"children":3680},{"style":227},[3681],{"type":179,"value":513},{"type":173,"tag":220,"props":3683,"children":3684},{"style":482},[3685],{"type":179,"value":518},{"type":173,"tag":220,"props":3687,"children":3688},{"style":281},[3689],{"type":179,"value":523},{"type":173,"tag":220,"props":3691,"children":3692},{"class":222,"line":344},[3693],{"type":173,"tag":220,"props":3694,"children":3695},{"style":1167},[3696],{"type":179,"value":3697},"// Search will be skipped if the search string is empty\n",{"type":173,"tag":220,"props":3699,"children":3700},{"class":222,"line":361},[3701,3705,3709,3713,3717,3721,3725,3729,3733,3737,3741,3745,3749,3753,3757,3762,3766,3770,3774],{"type":173,"tag":220,"props":3702,"children":3703},{"style":313},[3704],{"type":179,"value":1643},{"type":173,"tag":220,"props":3706,"children":3707},{"style":281},[3708],{"type":179,"value":2020},{"type":173,"tag":220,"props":3710,"children":3711},{"style":227},[3712],{"type":179,"value":321},{"type":173,"tag":220,"props":3714,"children":3715},{"style":408},[3716],{"type":179,"value":479},{"type":173,"tag":220,"props":3718,"children":3719},{"style":227},[3720],{"type":179,"value":1671},{"type":173,"tag":220,"props":3722,"children":3723},{"style":482},[3724],{"type":179,"value":1312},{"type":173,"tag":220,"props":3726,"children":3727},{"style":281},[3728],{"type":179,"value":489},{"type":173,"tag":220,"props":3730,"children":3731},{"style":227},[3732],{"type":179,"value":494},{"type":173,"tag":220,"props":3734,"children":3735},{"style":329},[3736],{"type":179,"value":2049},{"type":173,"tag":220,"props":3738,"children":3739},{"style":227},[3740],{"type":179,"value":494},{"type":173,"tag":220,"props":3742,"children":3743},{"style":281},[3744],{"type":179,"value":508},{"type":173,"tag":220,"props":3746,"children":3747},{"style":227},[3748],{"type":179,"value":513},{"type":173,"tag":220,"props":3750,"children":3751},{"style":482},[3752],{"type":179,"value":3545},{"type":173,"tag":220,"props":3754,"children":3755},{"style":281},[3756],{"type":179,"value":489},{"type":173,"tag":220,"props":3758,"children":3759},{"style":227},[3760],{"type":179,"value":3761},"''",{"type":173,"tag":220,"props":3763,"children":3764},{"style":281},[3765],{"type":179,"value":508},{"type":173,"tag":220,"props":3767,"children":3768},{"style":227},[3769],{"type":179,"value":513},{"type":173,"tag":220,"props":3771,"children":3772},{"style":482},[3773],{"type":179,"value":518},{"type":173,"tag":220,"props":3775,"children":3776},{"style":281},[3777],{"type":179,"value":523},{"type":173,"tag":174,"props":3779,"children":3780},{"type":176},[3781],{"type":173,"tag":196,"props":3782,"children":3783},{},[3784,3786,3791],{"type":179,"value":3785},"Check out ",{"type":173,"tag":660,"props":3787,"children":3789},{"href":3788},"/v1/community/snippets#search",[3790],{"type":179,"value":3078},{"type":179,"value":3792}," on how to implement search into your app",{"type":173,"tag":189,"props":3794,"children":3796},{"id":3795},"surroundslugorpath-options",[3797],{"type":179,"value":3798},"surround(slugOrPath, options)",{"type":173,"tag":607,"props":3800,"children":3801},{},[3802,3828],{"type":173,"tag":611,"props":3803,"children":3804},{},[3805,3810],{"type":173,"tag":202,"props":3806,"children":3807},{"className":167},[3808],{"type":179,"value":3809},"slugOrPath",{"type":173,"tag":607,"props":3811,"children":3812},{},[3813,3821],{"type":173,"tag":611,"props":3814,"children":3815},{},[3816,3817],{"type":179,"value":623},{"type":173,"tag":202,"props":3818,"children":3819},{"className":167},[3820],{"type":179,"value":653},{"type":173,"tag":611,"props":3822,"children":3823},{},[3824],{"type":173,"tag":202,"props":3825,"children":3826},{"className":167},[3827],{"type":179,"value":636},{"type":173,"tag":611,"props":3829,"children":3830},{},[3831,3835],{"type":173,"tag":202,"props":3832,"children":3833},{"className":167},[3834],{"type":179,"value":1379},{"type":173,"tag":607,"props":3836,"children":3837},{},[3838,3846],{"type":173,"tag":611,"props":3839,"children":3840},{},[3841,3842],{"type":179,"value":623},{"type":173,"tag":202,"props":3843,"children":3844},{"className":167},[3845],{"type":179,"value":628},{"type":173,"tag":611,"props":3847,"children":3848},{},[3849,3850],{"type":179,"value":1366},{"type":173,"tag":202,"props":3851,"children":3852},{"className":167},[3853],{"type":179,"value":3854},"{ before: 1, after: 1}",{"type":173,"tag":196,"props":3856,"children":3857},{},[3858],{"type":179,"value":3859},"Get prev and next results around a specific slug or path.",{"type":173,"tag":196,"props":3861,"children":3862},{},[3863,3865,3870],{"type":179,"value":3864},"You will always obtain an array of fixed length filled with the maching document or ",{"type":173,"tag":202,"props":3866,"children":3867},{"className":167},[3868],{"type":179,"value":3869},"null",{"type":179,"value":513},{"type":173,"tag":210,"props":3872,"children":3874},{"className":1629,"code":3873,"language":1631,"meta":167,"style":167},"const [prev, next] = await this.$content('articles')\n  .only(['title', 'path'])\n  .sortBy('date')\n  .where({ isArchived: false })\n  .surround('article-2')\n  .fetch()\n\n// Returns\n[\n  {\n    title: 'Article 1',\n    path: 'article-1'\n  },\n  null // no article-3 here\n]\n",[3875],{"type":173,"tag":202,"props":3876,"children":3877},{"__ignoreMap":167},[3878,3945,3994,4026,4068,4101,4116,4123,4131,4139,4147,4177,4202,4210,4223],{"type":173,"tag":220,"props":3879,"children":3880},{"class":222,"line":223},[3881,3885,3889,3894,3898,3903,3908,3912,3916,3920,3924,3928,3932,3936,3940],{"type":173,"tag":220,"props":3882,"children":3883},{"style":313},[3884],{"type":179,"value":1643},{"type":173,"tag":220,"props":3886,"children":3887},{"style":227},[3888],{"type":179,"value":2475},{"type":173,"tag":220,"props":3890,"children":3891},{"style":281},[3892],{"type":179,"value":3893},"prev",{"type":173,"tag":220,"props":3895,"children":3896},{"style":227},[3897],{"type":179,"value":1812},{"type":173,"tag":220,"props":3899,"children":3900},{"style":281},[3901],{"type":179,"value":3902}," next",{"type":173,"tag":220,"props":3904,"children":3905},{"style":227},[3906],{"type":179,"value":3907},"]",{"type":173,"tag":220,"props":3909,"children":3910},{"style":227},[3911],{"type":179,"value":474},{"type":173,"tag":220,"props":3913,"children":3914},{"style":408},[3915],{"type":179,"value":479},{"type":173,"tag":220,"props":3917,"children":3918},{"style":227},[3919],{"type":179,"value":1671},{"type":173,"tag":220,"props":3921,"children":3922},{"style":482},[3923],{"type":179,"value":1312},{"type":173,"tag":220,"props":3925,"children":3926},{"style":281},[3927],{"type":179,"value":489},{"type":173,"tag":220,"props":3929,"children":3930},{"style":227},[3931],{"type":179,"value":494},{"type":173,"tag":220,"props":3933,"children":3934},{"style":329},[3935],{"type":179,"value":2049},{"type":173,"tag":220,"props":3937,"children":3938},{"style":227},[3939],{"type":179,"value":494},{"type":173,"tag":220,"props":3941,"children":3942},{"style":281},[3943],{"type":179,"value":3944},")\n",{"type":173,"tag":220,"props":3946,"children":3947},{"class":222,"line":244},[3948,3953,3957,3961,3965,3969,3973,3977,3981,3985,3989],{"type":173,"tag":220,"props":3949,"children":3950},{"style":227},[3951],{"type":179,"value":3952},"  .",{"type":173,"tag":220,"props":3954,"children":3955},{"style":482},[3956],{"type":179,"value":1705},{"type":173,"tag":220,"props":3958,"children":3959},{"style":281},[3960],{"type":179,"value":1710},{"type":173,"tag":220,"props":3962,"children":3963},{"style":227},[3964],{"type":179,"value":494},{"type":173,"tag":220,"props":3966,"children":3967},{"style":329},[3968],{"type":179,"value":1719},{"type":173,"tag":220,"props":3970,"children":3971},{"style":227},[3972],{"type":179,"value":494},{"type":173,"tag":220,"props":3974,"children":3975},{"style":227},[3976],{"type":179,"value":1812},{"type":173,"tag":220,"props":3978,"children":3979},{"style":227},[3980],{"type":179,"value":2089},{"type":173,"tag":220,"props":3982,"children":3983},{"style":329},[3984],{"type":179,"value":1350},{"type":173,"tag":220,"props":3986,"children":3987},{"style":227},[3988],{"type":179,"value":494},{"type":173,"tag":220,"props":3990,"children":3991},{"style":281},[3992],{"type":179,"value":3993},"])\n",{"type":173,"tag":220,"props":3995,"children":3996},{"class":222,"line":262},[3997,4001,4005,4009,4013,4018,4022],{"type":173,"tag":220,"props":3998,"children":3999},{"style":227},[4000],{"type":179,"value":3952},{"type":173,"tag":220,"props":4002,"children":4003},{"style":482},[4004],{"type":179,"value":3007},{"type":173,"tag":220,"props":4006,"children":4007},{"style":281},[4008],{"type":179,"value":489},{"type":173,"tag":220,"props":4010,"children":4011},{"style":227},[4012],{"type":179,"value":494},{"type":173,"tag":220,"props":4014,"children":4015},{"style":329},[4016],{"type":179,"value":4017},"date",{"type":173,"tag":220,"props":4019,"children":4020},{"style":227},[4021],{"type":179,"value":494},{"type":173,"tag":220,"props":4023,"children":4024},{"style":281},[4025],{"type":179,"value":3944},{"type":173,"tag":220,"props":4027,"children":4028},{"class":222,"line":300},[4029,4033,4037,4041,4045,4050,4054,4060,4064],{"type":173,"tag":220,"props":4030,"children":4031},{"style":227},[4032],{"type":179,"value":3952},{"type":173,"tag":220,"props":4034,"children":4035},{"style":482},[4036],{"type":179,"value":2066},{"type":173,"tag":220,"props":4038,"children":4039},{"style":281},[4040],{"type":179,"value":489},{"type":173,"tag":220,"props":4042,"children":4043},{"style":227},[4044],{"type":179,"value":2075},{"type":173,"tag":220,"props":4046,"children":4047},{"style":233},[4048],{"type":179,"value":4049}," isArchived",{"type":173,"tag":220,"props":4051,"children":4052},{"style":227},[4053],{"type":179,"value":2084},{"type":173,"tag":220,"props":4055,"children":4057},{"style":4056},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[4058],{"type":179,"value":4059}," false",{"type":173,"tag":220,"props":4061,"children":4062},{"style":227},[4063],{"type":179,"value":2103},{"type":173,"tag":220,"props":4065,"children":4066},{"style":281},[4067],{"type":179,"value":3944},{"type":173,"tag":220,"props":4069,"children":4070},{"class":222,"line":344},[4071,4075,4080,4084,4088,4093,4097],{"type":173,"tag":220,"props":4072,"children":4073},{"style":227},[4074],{"type":179,"value":3952},{"type":173,"tag":220,"props":4076,"children":4077},{"style":482},[4078],{"type":179,"value":4079},"surround",{"type":173,"tag":220,"props":4081,"children":4082},{"style":281},[4083],{"type":179,"value":489},{"type":173,"tag":220,"props":4085,"children":4086},{"style":227},[4087],{"type":179,"value":494},{"type":173,"tag":220,"props":4089,"children":4090},{"style":329},[4091],{"type":179,"value":4092},"article-2",{"type":173,"tag":220,"props":4094,"children":4095},{"style":227},[4096],{"type":179,"value":494},{"type":173,"tag":220,"props":4098,"children":4099},{"style":281},[4100],{"type":179,"value":3944},{"type":173,"tag":220,"props":4102,"children":4103},{"class":222,"line":361},[4104,4108,4112],{"type":173,"tag":220,"props":4105,"children":4106},{"style":227},[4107],{"type":179,"value":3952},{"type":173,"tag":220,"props":4109,"children":4110},{"style":482},[4111],{"type":179,"value":518},{"type":173,"tag":220,"props":4113,"children":4114},{"style":281},[4115],{"type":179,"value":523},{"type":173,"tag":220,"props":4117,"children":4118},{"class":222,"line":377},[4119],{"type":173,"tag":220,"props":4120,"children":4121},{"emptyLinePlaceholder":381},[4122],{"type":179,"value":384},{"type":173,"tag":220,"props":4124,"children":4125},{"class":222,"line":387},[4126],{"type":173,"tag":220,"props":4127,"children":4128},{"style":1167},[4129],{"type":179,"value":4130},"// Returns\n",{"type":173,"tag":220,"props":4132,"children":4133},{"class":222,"line":404},[4134],{"type":173,"tag":220,"props":4135,"children":4136},{"style":281},[4137],{"type":179,"value":4138},"[\n",{"type":173,"tag":220,"props":4140,"children":4141},{"class":222,"line":424},[4142],{"type":173,"tag":220,"props":4143,"children":4144},{"style":227},[4145],{"type":179,"value":4146},"  {\n",{"type":173,"tag":220,"props":4148,"children":4149},{"class":222,"line":458},[4150,4155,4159,4163,4168,4172],{"type":173,"tag":220,"props":4151,"children":4152},{"style":233},[4153],{"type":179,"value":4154},"    title",{"type":173,"tag":220,"props":4156,"children":4157},{"style":227},[4158],{"type":179,"value":2084},{"type":173,"tag":220,"props":4160,"children":4161},{"style":227},[4162],{"type":179,"value":2089},{"type":173,"tag":220,"props":4164,"children":4165},{"style":329},[4166],{"type":179,"value":4167},"Article 1",{"type":173,"tag":220,"props":4169,"children":4170},{"style":227},[4171],{"type":179,"value":494},{"type":173,"tag":220,"props":4173,"children":4174},{"style":227},[4175],{"type":179,"value":4176},",\n",{"type":173,"tag":220,"props":4178,"children":4179},{"class":222,"line":526},[4180,4185,4189,4193,4197],{"type":173,"tag":220,"props":4181,"children":4182},{"style":233},[4183],{"type":179,"value":4184},"    path",{"type":173,"tag":220,"props":4186,"children":4187},{"style":227},[4188],{"type":179,"value":2084},{"type":173,"tag":220,"props":4190,"children":4191},{"style":227},[4192],{"type":179,"value":2089},{"type":173,"tag":220,"props":4194,"children":4195},{"style":329},[4196],{"type":179,"value":1688},{"type":173,"tag":220,"props":4198,"children":4199},{"style":227},[4200],{"type":179,"value":4201},"'\n",{"type":173,"tag":220,"props":4203,"children":4204},{"class":222,"line":534},[4205],{"type":173,"tag":220,"props":4206,"children":4207},{"style":227},[4208],{"type":179,"value":4209},"  },\n",{"type":173,"tag":220,"props":4211,"children":4212},{"class":222,"line":547},[4213,4218],{"type":173,"tag":220,"props":4214,"children":4215},{"style":227},[4216],{"type":179,"value":4217},"  null",{"type":173,"tag":220,"props":4219,"children":4220},{"style":1167},[4221],{"type":179,"value":4222}," // no article-3 here\n",{"type":173,"tag":220,"props":4224,"children":4225},{"class":222,"line":556},[4226],{"type":173,"tag":220,"props":4227,"children":4228},{"style":281},[4229],{"type":179,"value":4230},"]\n",{"type":173,"tag":1179,"props":4232,"children":4233},{},[4234],{"type":173,"tag":196,"props":4235,"children":4236},{},[4237,4241,4242,4246,4248,4252],{"type":173,"tag":202,"props":4238,"children":4239},{"className":167},[4240],{"type":179,"value":3545},{"type":179,"value":1956},{"type":173,"tag":202,"props":4243,"children":4244},{"className":167},[4245],{"type":179,"value":3197},{"type":179,"value":4247}," and ",{"type":173,"tag":202,"props":4249,"children":4250},{"className":167},[4251],{"type":179,"value":3337},{"type":179,"value":4253}," are ineffective when using this method.",{"type":173,"tag":174,"props":4255,"children":4256},{"type":3050},[4257],{"type":173,"tag":196,"props":4258,"children":4259},{},[4260,4262,4266],{"type":179,"value":4261},"Getting results based on ",{"type":173,"tag":202,"props":4263,"children":4264},{"className":167},[4265],{"type":179,"value":1350},{"type":179,"value":4267}," is only supported since v1.12.0",{"type":173,"tag":174,"props":4269,"children":4270},{"type":176},[4271],{"type":173,"tag":196,"props":4272,"children":4273},{},[4274,4275,4280],{"type":179,"value":3785},{"type":173,"tag":660,"props":4276,"children":4278},{"href":4277},"/v1/community/snippets#prev-and-next",[4279],{"type":179,"value":3078},{"type":179,"value":4281}," on how to implement prev and next links into your app",{"type":173,"tag":189,"props":4283,"children":4284},{"id":518},[4285],{"type":179,"value":1549},{"type":173,"tag":607,"props":4287,"children":4288},{},[4289],{"type":173,"tag":611,"props":4290,"children":4291},{},[4292,4294,4299,4300],{"type":179,"value":4293},"Returns: ",{"type":173,"tag":202,"props":4295,"children":4296},{"className":167},[4297],{"type":179,"value":4298},"Promise\u003Cobject>",{"type":179,"value":1610},{"type":173,"tag":202,"props":4301,"children":4302},{"className":167},[4303],{"type":179,"value":4304},"Promise\u003CArray>",{"type":173,"tag":196,"props":4306,"children":4307},{},[4308],{"type":179,"value":4309},"Ends the chain sequence and collects data.",{"type":173,"tag":189,"props":4311,"children":4313},{"id":4312},"catch",[4314],{"type":179,"value":4315},"catch()",{"type":173,"tag":196,"props":4317,"children":4318},{},[4319,4321,4326],{"type":179,"value":4320},"Checks if the ",{"type":173,"tag":202,"props":4322,"children":4323},{"className":167},[4324],{"type":179,"value":4325},".md",{"type":179,"value":4327}," file exists in content directory or not.",{"type":173,"tag":196,"props":4329,"children":4330},{},[4331,4333,4337],{"type":179,"value":4332},"It should be inserted after the ",{"type":173,"tag":202,"props":4334,"children":4335},{"className":167},[4336],{"type":179,"value":1549},{"type":179,"value":513},{"type":173,"tag":182,"props":4339,"children":4341},{"id":4340},"example",[4342],{"type":179,"value":4343},"Example",{"type":173,"tag":210,"props":4345,"children":4347},{"className":1629,"code":4346,"language":1631,"meta":167,"style":167},"const articles = await this.$content('articles')\n  .only(['title', 'date', 'authors'])\n  .sortBy('date', 'asc')\n  .limit(5)\n  .skip(10)\n  .where({\n    tags: 'testing',\n    isArchived: false,\n    date: { $gt: new Date('2020-03-31') },\n    rating: { $gte: 3 }\n  })\n  .search('welcome')\n  .fetch()\n  .catch((err) => {\n     error({ statusCode: 404, message: 'Page not found' })\n  })\n",[4348],{"type":173,"tag":202,"props":4349,"children":4350},{"__ignoreMap":167},[4351,4398,4462,4510,4533,4557,4577,4606,4626,4687,4722,4734,4765,4780,4817,4881],{"type":173,"tag":220,"props":4352,"children":4353},{"class":222,"line":223},[4354,4358,4362,4366,4370,4374,4378,4382,4386,4390,4394],{"type":173,"tag":220,"props":4355,"children":4356},{"style":313},[4357],{"type":179,"value":1643},{"type":173,"tag":220,"props":4359,"children":4360},{"style":281},[4361],{"type":179,"value":2020},{"type":173,"tag":220,"props":4363,"children":4364},{"style":227},[4365],{"type":179,"value":321},{"type":173,"tag":220,"props":4367,"children":4368},{"style":408},[4369],{"type":179,"value":479},{"type":173,"tag":220,"props":4371,"children":4372},{"style":227},[4373],{"type":179,"value":1671},{"type":173,"tag":220,"props":4375,"children":4376},{"style":482},[4377],{"type":179,"value":1312},{"type":173,"tag":220,"props":4379,"children":4380},{"style":281},[4381],{"type":179,"value":489},{"type":173,"tag":220,"props":4383,"children":4384},{"style":227},[4385],{"type":179,"value":494},{"type":173,"tag":220,"props":4387,"children":4388},{"style":329},[4389],{"type":179,"value":2049},{"type":173,"tag":220,"props":4391,"children":4392},{"style":227},[4393],{"type":179,"value":494},{"type":173,"tag":220,"props":4395,"children":4396},{"style":281},[4397],{"type":179,"value":3944},{"type":173,"tag":220,"props":4399,"children":4400},{"class":222,"line":244},[4401,4405,4409,4413,4417,4421,4425,4429,4433,4437,4441,4445,4449,4454,4458],{"type":173,"tag":220,"props":4402,"children":4403},{"style":227},[4404],{"type":179,"value":3952},{"type":173,"tag":220,"props":4406,"children":4407},{"style":482},[4408],{"type":179,"value":1705},{"type":173,"tag":220,"props":4410,"children":4411},{"style":281},[4412],{"type":179,"value":1710},{"type":173,"tag":220,"props":4414,"children":4415},{"style":227},[4416],{"type":179,"value":494},{"type":173,"tag":220,"props":4418,"children":4419},{"style":329},[4420],{"type":179,"value":1719},{"type":173,"tag":220,"props":4422,"children":4423},{"style":227},[4424],{"type":179,"value":494},{"type":173,"tag":220,"props":4426,"children":4427},{"style":227},[4428],{"type":179,"value":1812},{"type":173,"tag":220,"props":4430,"children":4431},{"style":227},[4432],{"type":179,"value":2089},{"type":173,"tag":220,"props":4434,"children":4435},{"style":329},[4436],{"type":179,"value":4017},{"type":173,"tag":220,"props":4438,"children":4439},{"style":227},[4440],{"type":179,"value":494},{"type":173,"tag":220,"props":4442,"children":4443},{"style":227},[4444],{"type":179,"value":1812},{"type":173,"tag":220,"props":4446,"children":4447},{"style":227},[4448],{"type":179,"value":2089},{"type":173,"tag":220,"props":4450,"children":4451},{"style":329},[4452],{"type":179,"value":4453},"authors",{"type":173,"tag":220,"props":4455,"children":4456},{"style":227},[4457],{"type":179,"value":494},{"type":173,"tag":220,"props":4459,"children":4460},{"style":281},[4461],{"type":179,"value":3993},{"type":173,"tag":220,"props":4463,"children":4464},{"class":222,"line":262},[4465,4469,4473,4477,4481,4485,4489,4493,4497,4502,4506],{"type":173,"tag":220,"props":4466,"children":4467},{"style":227},[4468],{"type":179,"value":3952},{"type":173,"tag":220,"props":4470,"children":4471},{"style":482},[4472],{"type":179,"value":3007},{"type":173,"tag":220,"props":4474,"children":4475},{"style":281},[4476],{"type":179,"value":489},{"type":173,"tag":220,"props":4478,"children":4479},{"style":227},[4480],{"type":179,"value":494},{"type":173,"tag":220,"props":4482,"children":4483},{"style":329},[4484],{"type":179,"value":4017},{"type":173,"tag":220,"props":4486,"children":4487},{"style":227},[4488],{"type":179,"value":494},{"type":173,"tag":220,"props":4490,"children":4491},{"style":227},[4492],{"type":179,"value":1812},{"type":173,"tag":220,"props":4494,"children":4495},{"style":227},[4496],{"type":179,"value":2089},{"type":173,"tag":220,"props":4498,"children":4499},{"style":329},[4500],{"type":179,"value":4501},"asc",{"type":173,"tag":220,"props":4503,"children":4504},{"style":227},[4505],{"type":179,"value":494},{"type":173,"tag":220,"props":4507,"children":4508},{"style":281},[4509],{"type":179,"value":3944},{"type":173,"tag":220,"props":4511,"children":4512},{"class":222,"line":300},[4513,4517,4521,4525,4529],{"type":173,"tag":220,"props":4514,"children":4515},{"style":227},[4516],{"type":179,"value":3952},{"type":173,"tag":220,"props":4518,"children":4519},{"style":482},[4520],{"type":179,"value":3197},{"type":173,"tag":220,"props":4522,"children":4523},{"style":281},[4524],{"type":179,"value":489},{"type":173,"tag":220,"props":4526,"children":4527},{"style":2350},[4528],{"type":179,"value":3206},{"type":173,"tag":220,"props":4530,"children":4531},{"style":281},[4532],{"type":179,"value":3944},{"type":173,"tag":220,"props":4534,"children":4535},{"class":222,"line":344},[4536,4540,4544,4548,4553],{"type":173,"tag":220,"props":4537,"children":4538},{"style":227},[4539],{"type":179,"value":3952},{"type":173,"tag":220,"props":4541,"children":4542},{"style":482},[4543],{"type":179,"value":3337},{"type":173,"tag":220,"props":4545,"children":4546},{"style":281},[4547],{"type":179,"value":489},{"type":173,"tag":220,"props":4549,"children":4550},{"style":2350},[4551],{"type":179,"value":4552},"10",{"type":173,"tag":220,"props":4554,"children":4555},{"style":281},[4556],{"type":179,"value":3944},{"type":173,"tag":220,"props":4558,"children":4559},{"class":222,"line":361},[4560,4564,4568,4572],{"type":173,"tag":220,"props":4561,"children":4562},{"style":227},[4563],{"type":179,"value":3952},{"type":173,"tag":220,"props":4565,"children":4566},{"style":482},[4567],{"type":179,"value":2066},{"type":173,"tag":220,"props":4569,"children":4570},{"style":281},[4571],{"type":179,"value":489},{"type":173,"tag":220,"props":4573,"children":4574},{"style":227},[4575],{"type":179,"value":4576},"{\n",{"type":173,"tag":220,"props":4578,"children":4579},{"class":222,"line":377},[4580,4585,4589,4593,4598,4602],{"type":173,"tag":220,"props":4581,"children":4582},{"style":233},[4583],{"type":179,"value":4584},"    tags",{"type":173,"tag":220,"props":4586,"children":4587},{"style":227},[4588],{"type":179,"value":2084},{"type":173,"tag":220,"props":4590,"children":4591},{"style":227},[4592],{"type":179,"value":2089},{"type":173,"tag":220,"props":4594,"children":4595},{"style":329},[4596],{"type":179,"value":4597},"testing",{"type":173,"tag":220,"props":4599,"children":4600},{"style":227},[4601],{"type":179,"value":494},{"type":173,"tag":220,"props":4603,"children":4604},{"style":227},[4605],{"type":179,"value":4176},{"type":173,"tag":220,"props":4607,"children":4608},{"class":222,"line":387},[4609,4614,4618,4622],{"type":173,"tag":220,"props":4610,"children":4611},{"style":233},[4612],{"type":179,"value":4613},"    isArchived",{"type":173,"tag":220,"props":4615,"children":4616},{"style":227},[4617],{"type":179,"value":2084},{"type":173,"tag":220,"props":4619,"children":4620},{"style":4056},[4621],{"type":179,"value":4059},{"type":173,"tag":220,"props":4623,"children":4624},{"style":227},[4625],{"type":179,"value":4176},{"type":173,"tag":220,"props":4627,"children":4628},{"class":222,"line":404},[4629,4634,4638,4642,4646,4650,4655,4660,4664,4668,4673,4677,4682],{"type":173,"tag":220,"props":4630,"children":4631},{"style":233},[4632],{"type":179,"value":4633},"    date",{"type":173,"tag":220,"props":4635,"children":4636},{"style":227},[4637],{"type":179,"value":2084},{"type":173,"tag":220,"props":4639,"children":4640},{"style":227},[4641],{"type":179,"value":1648},{"type":173,"tag":220,"props":4643,"children":4644},{"style":233},[4645],{"type":179,"value":2343},{"type":173,"tag":220,"props":4647,"children":4648},{"style":227},[4649],{"type":179,"value":2084},{"type":173,"tag":220,"props":4651,"children":4652},{"style":227},[4653],{"type":179,"value":4654}," new",{"type":173,"tag":220,"props":4656,"children":4657},{"style":482},[4658],{"type":179,"value":4659}," Date",{"type":173,"tag":220,"props":4661,"children":4662},{"style":281},[4663],{"type":179,"value":489},{"type":173,"tag":220,"props":4665,"children":4666},{"style":227},[4667],{"type":179,"value":494},{"type":173,"tag":220,"props":4669,"children":4670},{"style":329},[4671],{"type":179,"value":4672},"2020-03-31",{"type":173,"tag":220,"props":4674,"children":4675},{"style":227},[4676],{"type":179,"value":494},{"type":173,"tag":220,"props":4678,"children":4679},{"style":281},[4680],{"type":179,"value":4681},") ",{"type":173,"tag":220,"props":4683,"children":4684},{"style":227},[4685],{"type":179,"value":4686},"},\n",{"type":173,"tag":220,"props":4688,"children":4689},{"class":222,"line":424},[4690,4695,4699,4703,4708,4712,4717],{"type":173,"tag":220,"props":4691,"children":4692},{"style":233},[4693],{"type":179,"value":4694},"    rating",{"type":173,"tag":220,"props":4696,"children":4697},{"style":227},[4698],{"type":179,"value":2084},{"type":173,"tag":220,"props":4700,"children":4701},{"style":227},[4702],{"type":179,"value":1648},{"type":173,"tag":220,"props":4704,"children":4705},{"style":233},[4706],{"type":179,"value":4707}," $gte",{"type":173,"tag":220,"props":4709,"children":4710},{"style":227},[4711],{"type":179,"value":2084},{"type":173,"tag":220,"props":4713,"children":4714},{"style":2350},[4715],{"type":179,"value":4716}," 3",{"type":173,"tag":220,"props":4718,"children":4719},{"style":227},[4720],{"type":179,"value":4721}," }\n",{"type":173,"tag":220,"props":4723,"children":4724},{"class":222,"line":458},[4725,4730],{"type":173,"tag":220,"props":4726,"children":4727},{"style":227},[4728],{"type":179,"value":4729},"  }",{"type":173,"tag":220,"props":4731,"children":4732},{"style":281},[4733],{"type":179,"value":3944},{"type":173,"tag":220,"props":4735,"children":4736},{"class":222,"line":526},[4737,4741,4745,4749,4753,4757,4761],{"type":173,"tag":220,"props":4738,"children":4739},{"style":227},[4740],{"type":179,"value":3952},{"type":173,"tag":220,"props":4742,"children":4743},{"style":482},[4744],{"type":179,"value":3545},{"type":173,"tag":220,"props":4746,"children":4747},{"style":281},[4748],{"type":179,"value":489},{"type":173,"tag":220,"props":4750,"children":4751},{"style":227},[4752],{"type":179,"value":494},{"type":173,"tag":220,"props":4754,"children":4755},{"style":329},[4756],{"type":179,"value":3574},{"type":173,"tag":220,"props":4758,"children":4759},{"style":227},[4760],{"type":179,"value":494},{"type":173,"tag":220,"props":4762,"children":4763},{"style":281},[4764],{"type":179,"value":3944},{"type":173,"tag":220,"props":4766,"children":4767},{"class":222,"line":534},[4768,4772,4776],{"type":173,"tag":220,"props":4769,"children":4770},{"style":227},[4771],{"type":179,"value":3952},{"type":173,"tag":220,"props":4773,"children":4774},{"style":482},[4775],{"type":179,"value":518},{"type":173,"tag":220,"props":4777,"children":4778},{"style":281},[4779],{"type":179,"value":523},{"type":173,"tag":220,"props":4781,"children":4782},{"class":222,"line":547},[4783,4787,4791,4795,4799,4804,4808,4813],{"type":173,"tag":220,"props":4784,"children":4785},{"style":227},[4786],{"type":179,"value":3952},{"type":173,"tag":220,"props":4788,"children":4789},{"style":482},[4790],{"type":179,"value":4312},{"type":173,"tag":220,"props":4792,"children":4793},{"style":281},[4794],{"type":179,"value":489},{"type":173,"tag":220,"props":4796,"children":4797},{"style":227},[4798],{"type":179,"value":489},{"type":173,"tag":220,"props":4800,"children":4801},{"style":443},[4802],{"type":179,"value":4803},"err",{"type":173,"tag":220,"props":4805,"children":4806},{"style":227},[4807],{"type":179,"value":508},{"type":173,"tag":220,"props":4809,"children":4810},{"style":313},[4811],{"type":179,"value":4812}," =>",{"type":173,"tag":220,"props":4814,"children":4815},{"style":227},[4816],{"type":179,"value":421},{"type":173,"tag":220,"props":4818,"children":4819},{"class":222,"line":556},[4820,4825,4829,4833,4838,4842,4847,4851,4856,4860,4864,4869,4873,4877],{"type":173,"tag":220,"props":4821,"children":4822},{"style":482},[4823],{"type":179,"value":4824},"     error",{"type":173,"tag":220,"props":4826,"children":4827},{"style":233},[4828],{"type":179,"value":489},{"type":173,"tag":220,"props":4830,"children":4831},{"style":227},[4832],{"type":179,"value":2075},{"type":173,"tag":220,"props":4834,"children":4835},{"style":233},[4836],{"type":179,"value":4837}," statusCode",{"type":173,"tag":220,"props":4839,"children":4840},{"style":227},[4841],{"type":179,"value":2084},{"type":173,"tag":220,"props":4843,"children":4844},{"style":2350},[4845],{"type":179,"value":4846}," 404",{"type":173,"tag":220,"props":4848,"children":4849},{"style":227},[4850],{"type":179,"value":1812},{"type":173,"tag":220,"props":4852,"children":4853},{"style":233},[4854],{"type":179,"value":4855}," message",{"type":173,"tag":220,"props":4857,"children":4858},{"style":227},[4859],{"type":179,"value":2084},{"type":173,"tag":220,"props":4861,"children":4862},{"style":227},[4863],{"type":179,"value":2089},{"type":173,"tag":220,"props":4865,"children":4866},{"style":329},[4867],{"type":179,"value":4868},"Page not found",{"type":173,"tag":220,"props":4870,"children":4871},{"style":227},[4872],{"type":179,"value":494},{"type":173,"tag":220,"props":4874,"children":4875},{"style":227},[4876],{"type":179,"value":2103},{"type":173,"tag":220,"props":4878,"children":4879},{"style":233},[4880],{"type":179,"value":3944},{"type":173,"tag":220,"props":4882,"children":4883},{"class":222,"line":565},[4884,4888],{"type":173,"tag":220,"props":4885,"children":4886},{"style":227},[4887],{"type":179,"value":4729},{"type":173,"tag":220,"props":4889,"children":4890},{"style":281},[4891],{"type":179,"value":3944},{"type":173,"tag":1179,"props":4893,"children":4894},{},[4895],{"type":173,"tag":196,"props":4896,"children":4897},{},[4898,4900,4906],{"type":179,"value":4899},"You can check how to use the ",{"type":173,"tag":660,"props":4901,"children":4903},{"href":4902},"/v1/getting-started/advanced#api-endpoint",[4904],{"type":179,"value":4905},"Content API",{"type":179,"value":4907}," in development.",{"type":173,"tag":1107,"props":4909,"children":4910},{},[4911],{"type":179,"value":1283},{"title":167,"searchDepth":244,"depth":244,"links":4913},[4914,4927],{"id":1330,"depth":244,"text":1333,"children":4915},[4916,4917,4918,4919,4920,4921,4922,4923,4924,4925,4926],{"id":1336,"depth":262,"text":1339},{"id":1583,"depth":262,"text":1586},{"id":1743,"depth":262,"text":1746},{"id":1907,"depth":262,"text":1910},{"id":2863,"depth":262,"text":2866},{"id":3083,"depth":262,"text":3086},{"id":3225,"depth":262,"text":3228},{"id":3384,"depth":262,"text":3387},{"id":3795,"depth":262,"text":3798},{"id":518,"depth":262,"text":1549},{"id":4312,"depth":262,"text":4315},{"id":4340,"depth":244,"text":4343},"content:7.v1:1.getting-started:4.fetching.md","7.v1/1.getting-started/4.fetching.md",{"_path":137,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":12,"description":4931,"body":4932,"_type":1293,"_id":10689,"_source":1295,"_file":10690,"_extension":1297},"You can configure @nuxt/content with the content property in your nuxt.config.js.",{"type":170,"children":4933,"toc":10664},[4934,4958,5018,5031,5037,5042,5067,5073,5082,5102,5107,5169,5177,5197,5210,5269,5278,5298,5310,5319,5405,5414,5443,5448,5509,5518,5547,5552,5598,5605,5633,5653,5658,5666,5773,5781,5894,5902,6016,6024,6169,6182,6340,6348,6405,6508,6517,6546,6551,6559,6587,6603,6611,6639,6654,6663,6677,6686,6699,6708,6728,6741,6754,6802,6902,6912,7000,7009,7036,7049,7368,7382,7395,7432,8047,8058,8208,8213,8871,8876,9064,9111,9116,9396,9412,9420,9439,9470,9482,9490,9509,9532,9540,9559,9577,9586,9606,9618,9623,9630,9822,9830,9848,9902,9907,9943,9955,9964,9983,10007,10013,10660],{"type":173,"tag":196,"props":4935,"children":4936},{},[4937,4939,4944,4946,4950,4952,4957],{"type":179,"value":4938},"You can configure ",{"type":173,"tag":202,"props":4940,"children":4941},{"className":167},[4942],{"type":179,"value":4943},"@nuxt/content",{"type":179,"value":4945}," with the ",{"type":173,"tag":202,"props":4947,"children":4948},{"className":167},[4949],{"type":179,"value":1295},{"type":179,"value":4951}," property in your ",{"type":173,"tag":202,"props":4953,"children":4954},{"className":167},[4955],{"type":179,"value":4956},"nuxt.config.js",{"type":179,"value":513},{"type":173,"tag":210,"props":4959,"children":4961},{"className":1629,"code":4960,"filename":4956,"language":1631,"meta":167,"style":167},"export default {\n  content: {\n    // My custom configuration\n  }\n}\n",[4962],{"type":173,"tag":202,"props":4963,"children":4964},{"__ignoreMap":167},[4965,4980,4996,5004,5011],{"type":173,"tag":220,"props":4966,"children":4967},{"class":222,"line":223},[4968,4972,4976],{"type":173,"tag":220,"props":4969,"children":4970},{"style":408},[4971],{"type":179,"value":411},{"type":173,"tag":220,"props":4973,"children":4974},{"style":408},[4975],{"type":179,"value":416},{"type":173,"tag":220,"props":4977,"children":4978},{"style":227},[4979],{"type":179,"value":421},{"type":173,"tag":220,"props":4981,"children":4982},{"class":222,"line":244},[4983,4988,4992],{"type":173,"tag":220,"props":4984,"children":4985},{"style":233},[4986],{"type":179,"value":4987},"  content",{"type":173,"tag":220,"props":4989,"children":4990},{"style":227},[4991],{"type":179,"value":2084},{"type":173,"tag":220,"props":4993,"children":4994},{"style":227},[4995],{"type":179,"value":421},{"type":173,"tag":220,"props":4997,"children":4998},{"class":222,"line":262},[4999],{"type":173,"tag":220,"props":5000,"children":5001},{"style":1167},[5002],{"type":179,"value":5003},"    // My custom configuration\n",{"type":173,"tag":220,"props":5005,"children":5006},{"class":222,"line":300},[5007],{"type":173,"tag":220,"props":5008,"children":5009},{"style":227},[5010],{"type":179,"value":571},{"type":173,"tag":220,"props":5012,"children":5013},{"class":222,"line":344},[5014],{"type":173,"tag":220,"props":5015,"children":5016},{"style":227},[5017],{"type":179,"value":580},{"type":173,"tag":196,"props":5019,"children":5020},{},[5021,5023,5029],{"type":179,"value":5022},"Before diving into the individual attributes, please have a look ",{"type":173,"tag":660,"props":5024,"children":5026},{"href":5025},"#defaults",[5027],{"type":179,"value":5028},"at the default settings",{"type":179,"value":5030}," of the module.",{"type":173,"tag":182,"props":5032,"children":5034},{"id":5033},"merging-defaults",[5035],{"type":179,"value":5036},"Merging defaults",{"type":173,"tag":196,"props":5038,"children":5039},{},[5040],{"type":179,"value":5041},"You can define every option either as function or as static value (primitives, objects, arrays, ...).\nIf you use a function, the default value will be provided as the first argument.",{"type":173,"tag":196,"props":5043,"children":5044},{},[5045,5047,5052,5054,5059,5060,5065],{"type":179,"value":5046},"If you ",{"type":173,"tag":1451,"props":5048,"children":5049},{},[5050],{"type":179,"value":5051},"don't",{"type":179,"value":5053}," use a function to define you properties, the module will try to\nmerge them with the default values. This can be handy for ",{"type":173,"tag":202,"props":5055,"children":5056},{"className":167},[5057],{"type":179,"value":5058},"markdown.remarkPlugins",{"type":179,"value":1956},{"type":173,"tag":202,"props":5061,"children":5062},{"className":167},[5063],{"type":179,"value":5064},"markdown.rehypePlugins",{"type":179,"value":5066}," and so on because\nthe defaults are quite sensible. If you don't want to have the defaults included, just use a function.",{"type":173,"tag":182,"props":5068,"children":5070},{"id":5069},"properties",[5071],{"type":179,"value":5072},"Properties",{"type":173,"tag":189,"props":5074,"children":5076},{"id":5075},"apiprefix",[5077],{"type":173,"tag":202,"props":5078,"children":5079},{"className":167},[5080],{"type":179,"value":5081},"apiPrefix",{"type":173,"tag":607,"props":5083,"children":5084},{},[5085,5093],{"type":173,"tag":611,"props":5086,"children":5087},{},[5088,5089],{"type":179,"value":623},{"type":173,"tag":202,"props":5090,"children":5091},{"className":167},[5092],{"type":179,"value":653},{"type":173,"tag":611,"props":5094,"children":5095},{},[5096,5097],{"type":179,"value":1366},{"type":173,"tag":202,"props":5098,"children":5099},{"className":167},[5100],{"type":179,"value":5101},"'/_content'",{"type":173,"tag":196,"props":5103,"children":5104},{},[5105],{"type":179,"value":5106},"Route that will be used for client-side API calls and SSE.",{"type":173,"tag":210,"props":5108,"children":5110},{"className":1629,"code":5109,"filename":4956,"language":1631,"meta":167,"style":167},"content: {\n  // $content api will be served on localhost:3000/content-api\n  apiPrefix: 'content-api'\n}\n",[5111],{"type":173,"tag":202,"props":5112,"children":5113},{"__ignoreMap":167},[5114,5129,5137,5162],{"type":173,"tag":220,"props":5115,"children":5116},{"class":222,"line":223},[5117,5121,5125],{"type":173,"tag":220,"props":5118,"children":5119},{"style":1150},[5120],{"type":179,"value":1295},{"type":173,"tag":220,"props":5122,"children":5123},{"style":227},[5124],{"type":179,"value":2084},{"type":173,"tag":220,"props":5126,"children":5127},{"style":227},[5128],{"type":179,"value":421},{"type":173,"tag":220,"props":5130,"children":5131},{"class":222,"line":244},[5132],{"type":173,"tag":220,"props":5133,"children":5134},{"style":1167},[5135],{"type":179,"value":5136},"  // $content api will be served on localhost:3000/content-api\n",{"type":173,"tag":220,"props":5138,"children":5139},{"class":222,"line":262},[5140,5145,5149,5153,5158],{"type":173,"tag":220,"props":5141,"children":5142},{"style":1150},[5143],{"type":179,"value":5144},"  apiPrefix",{"type":173,"tag":220,"props":5146,"children":5147},{"style":227},[5148],{"type":179,"value":2084},{"type":173,"tag":220,"props":5150,"children":5151},{"style":227},[5152],{"type":179,"value":2089},{"type":173,"tag":220,"props":5154,"children":5155},{"style":329},[5156],{"type":179,"value":5157},"content-api",{"type":173,"tag":220,"props":5159,"children":5160},{"style":227},[5161],{"type":179,"value":4201},{"type":173,"tag":220,"props":5163,"children":5164},{"class":222,"line":300},[5165],{"type":173,"tag":220,"props":5166,"children":5167},{"style":227},[5168],{"type":179,"value":580},{"type":173,"tag":189,"props":5170,"children":5172},{"id":5171},"dir",[5173],{"type":173,"tag":202,"props":5174,"children":5175},{"className":167},[5176],{"type":179,"value":5171},{"type":173,"tag":607,"props":5178,"children":5179},{},[5180,5188],{"type":173,"tag":611,"props":5181,"children":5182},{},[5183,5184],{"type":179,"value":623},{"type":173,"tag":202,"props":5185,"children":5186},{"className":167},[5187],{"type":179,"value":653},{"type":173,"tag":611,"props":5189,"children":5190},{},[5191,5192],{"type":179,"value":1366},{"type":173,"tag":202,"props":5193,"children":5194},{"className":167},[5195],{"type":179,"value":5196},"'content'",{"type":173,"tag":196,"props":5198,"children":5199},{},[5200,5202,5209],{"type":179,"value":5201},"Directory used for writing content.\nYou can give an absolute path, if relative, it will be resolved with Nuxt ",{"type":173,"tag":660,"props":5203,"children":5206},{"href":5204,"rel":5205},"https://v2.nuxt.com/docs/configuration-glossary/configuration-srcdir",[1191],[5207],{"type":179,"value":5208},"srcDir",{"type":179,"value":513},{"type":173,"tag":210,"props":5211,"children":5213},{"className":1629,"code":5212,"filename":4956,"language":1631,"meta":167,"style":167},"content: {\n  dir: 'my-content' // read content from my-content/\n}\n",[5214],{"type":173,"tag":202,"props":5215,"children":5216},{"__ignoreMap":167},[5217,5232,5262],{"type":173,"tag":220,"props":5218,"children":5219},{"class":222,"line":223},[5220,5224,5228],{"type":173,"tag":220,"props":5221,"children":5222},{"style":1150},[5223],{"type":179,"value":1295},{"type":173,"tag":220,"props":5225,"children":5226},{"style":227},[5227],{"type":179,"value":2084},{"type":173,"tag":220,"props":5229,"children":5230},{"style":227},[5231],{"type":179,"value":421},{"type":173,"tag":220,"props":5233,"children":5234},{"class":222,"line":244},[5235,5240,5244,5248,5253,5257],{"type":173,"tag":220,"props":5236,"children":5237},{"style":1150},[5238],{"type":179,"value":5239},"  dir",{"type":173,"tag":220,"props":5241,"children":5242},{"style":227},[5243],{"type":179,"value":2084},{"type":173,"tag":220,"props":5245,"children":5246},{"style":227},[5247],{"type":179,"value":2089},{"type":173,"tag":220,"props":5249,"children":5250},{"style":329},[5251],{"type":179,"value":5252},"my-content",{"type":173,"tag":220,"props":5254,"children":5255},{"style":227},[5256],{"type":179,"value":494},{"type":173,"tag":220,"props":5258,"children":5259},{"style":1167},[5260],{"type":179,"value":5261}," // read content from my-content/\n",{"type":173,"tag":220,"props":5263,"children":5264},{"class":222,"line":262},[5265],{"type":173,"tag":220,"props":5266,"children":5267},{"style":227},[5268],{"type":179,"value":580},{"type":173,"tag":189,"props":5270,"children":5272},{"id":5271},"fulltextsearchfields",[5273],{"type":173,"tag":202,"props":5274,"children":5275},{"className":167},[5276],{"type":179,"value":5277},"fullTextSearchFields",{"type":173,"tag":607,"props":5279,"children":5280},{},[5281,5289],{"type":173,"tag":611,"props":5282,"children":5283},{},[5284,5285],{"type":179,"value":623},{"type":173,"tag":202,"props":5286,"children":5287},{"className":167},[5288],{"type":179,"value":1562},{"type":173,"tag":611,"props":5290,"children":5291},{},[5292,5293],{"type":179,"value":1366},{"type":173,"tag":202,"props":5294,"children":5295},{"className":167},[5296],{"type":179,"value":5297},"['title', 'description', 'slug', 'text']",{"type":173,"tag":196,"props":5299,"children":5300},{},[5301,5303,5309],{"type":179,"value":5302},"Fields that needs to be indexed to be searchable, learn more about search ",{"type":173,"tag":660,"props":5304,"children":5306},{"href":5305},"/v1/getting-started/fetching#searchfield-value",[5307],{"type":179,"value":5308},"here",{"type":179,"value":513},{"type":173,"tag":196,"props":5311,"children":5312},{},[5313,5317],{"type":173,"tag":202,"props":5314,"children":5315},{"className":167},[5316],{"type":179,"value":179},{"type":179,"value":5318}," is a special key that contains your Markdown before being parsed to AST.",{"type":173,"tag":210,"props":5320,"children":5322},{"className":1629,"code":5321,"filename":4956,"language":1631,"meta":167,"style":167},"content: {\n  // Only search in title and description\n  fullTextSearchFields: ['title', 'description']\n}\n",[5323],{"type":173,"tag":202,"props":5324,"children":5325},{"__ignoreMap":167},[5326,5341,5349,5398],{"type":173,"tag":220,"props":5327,"children":5328},{"class":222,"line":223},[5329,5333,5337],{"type":173,"tag":220,"props":5330,"children":5331},{"style":1150},[5332],{"type":179,"value":1295},{"type":173,"tag":220,"props":5334,"children":5335},{"style":227},[5336],{"type":179,"value":2084},{"type":173,"tag":220,"props":5338,"children":5339},{"style":227},[5340],{"type":179,"value":421},{"type":173,"tag":220,"props":5342,"children":5343},{"class":222,"line":244},[5344],{"type":173,"tag":220,"props":5345,"children":5346},{"style":1167},[5347],{"type":179,"value":5348},"  // Only search in title and description\n",{"type":173,"tag":220,"props":5350,"children":5351},{"class":222,"line":262},[5352,5357,5361,5365,5369,5373,5377,5381,5385,5390,5394],{"type":173,"tag":220,"props":5353,"children":5354},{"style":1150},[5355],{"type":179,"value":5356},"  fullTextSearchFields",{"type":173,"tag":220,"props":5358,"children":5359},{"style":227},[5360],{"type":179,"value":2084},{"type":173,"tag":220,"props":5362,"children":5363},{"style":233},[5364],{"type":179,"value":2475},{"type":173,"tag":220,"props":5366,"children":5367},{"style":227},[5368],{"type":179,"value":494},{"type":173,"tag":220,"props":5370,"children":5371},{"style":329},[5372],{"type":179,"value":1719},{"type":173,"tag":220,"props":5374,"children":5375},{"style":227},[5376],{"type":179,"value":494},{"type":173,"tag":220,"props":5378,"children":5379},{"style":227},[5380],{"type":179,"value":1812},{"type":173,"tag":220,"props":5382,"children":5383},{"style":227},[5384],{"type":179,"value":2089},{"type":173,"tag":220,"props":5386,"children":5387},{"style":329},[5388],{"type":179,"value":5389},"description",{"type":173,"tag":220,"props":5391,"children":5392},{"style":227},[5393],{"type":179,"value":494},{"type":173,"tag":220,"props":5395,"children":5396},{"style":233},[5397],{"type":179,"value":4230},{"type":173,"tag":220,"props":5399,"children":5400},{"class":222,"line":300},[5401],{"type":173,"tag":220,"props":5402,"children":5403},{"style":227},[5404],{"type":179,"value":580},{"type":173,"tag":189,"props":5406,"children":5408},{"id":5407},"nestedproperties",[5409],{"type":173,"tag":202,"props":5410,"children":5411},{"className":167},[5412],{"type":179,"value":5413},"nestedProperties",{"type":173,"tag":607,"props":5415,"children":5416},{},[5417,5426,5435],{"type":173,"tag":611,"props":5418,"children":5419},{},[5420,5422],{"type":179,"value":5421},"Type ",{"type":173,"tag":202,"props":5423,"children":5424},{"className":167},[5425],{"type":179,"value":1562},{"type":173,"tag":611,"props":5427,"children":5428},{},[5429,5430],{"type":179,"value":1366},{"type":173,"tag":202,"props":5431,"children":5432},{"className":167},[5433],{"type":179,"value":5434},"[]",{"type":173,"tag":611,"props":5436,"children":5437},{},[5438,5439],{"type":179,"value":1404},{"type":173,"tag":601,"props":5440,"children":5441},{},[5442],{"type":179,"value":1409},{"type":173,"tag":196,"props":5444,"children":5445},{},[5446],{"type":179,"value":5447},"Register nested properties to handle dot-notation and deep filtering.",{"type":173,"tag":210,"props":5449,"children":5451},{"className":1629,"code":5450,"filename":4956,"language":1631,"meta":167,"style":167},"content: {\n  nestedProperties: ['categories.slug']\n}\n",[5452],{"type":173,"tag":202,"props":5453,"children":5454},{"__ignoreMap":167},[5455,5470,5502],{"type":173,"tag":220,"props":5456,"children":5457},{"class":222,"line":223},[5458,5462,5466],{"type":173,"tag":220,"props":5459,"children":5460},{"style":1150},[5461],{"type":179,"value":1295},{"type":173,"tag":220,"props":5463,"children":5464},{"style":227},[5465],{"type":179,"value":2084},{"type":173,"tag":220,"props":5467,"children":5468},{"style":227},[5469],{"type":179,"value":421},{"type":173,"tag":220,"props":5471,"children":5472},{"class":222,"line":244},[5473,5478,5482,5486,5490,5494,5498],{"type":173,"tag":220,"props":5474,"children":5475},{"style":1150},[5476],{"type":179,"value":5477},"  nestedProperties",{"type":173,"tag":220,"props":5479,"children":5480},{"style":227},[5481],{"type":179,"value":2084},{"type":173,"tag":220,"props":5483,"children":5484},{"style":233},[5485],{"type":179,"value":2475},{"type":173,"tag":220,"props":5487,"children":5488},{"style":227},[5489],{"type":179,"value":494},{"type":173,"tag":220,"props":5491,"children":5492},{"style":329},[5493],{"type":179,"value":2627},{"type":173,"tag":220,"props":5495,"children":5496},{"style":227},[5497],{"type":179,"value":494},{"type":173,"tag":220,"props":5499,"children":5500},{"style":233},[5501],{"type":179,"value":4230},{"type":173,"tag":220,"props":5503,"children":5504},{"class":222,"line":262},[5505],{"type":173,"tag":220,"props":5506,"children":5507},{"style":227},[5508],{"type":179,"value":580},{"type":173,"tag":189,"props":5510,"children":5512},{"id":5511},"liveedit",[5513],{"type":173,"tag":202,"props":5514,"children":5515},{"className":167},[5516],{"type":179,"value":5517},"liveEdit",{"type":173,"tag":607,"props":5519,"children":5520},{},[5521,5529,5538],{"type":173,"tag":611,"props":5522,"children":5523},{},[5524,5525],{"type":179,"value":5421},{"type":173,"tag":202,"props":5526,"children":5527},{"className":167},[5528],{"type":179,"value":1429},{"type":173,"tag":611,"props":5530,"children":5531},{},[5532,5533],{"type":179,"value":1366},{"type":173,"tag":202,"props":5534,"children":5535},{"className":167},[5536],{"type":179,"value":5537},"true",{"type":173,"tag":611,"props":5539,"children":5540},{},[5541,5542],{"type":179,"value":1404},{"type":173,"tag":601,"props":5543,"children":5544},{},[5545],{"type":179,"value":5546},">= v1.5.0",{"type":173,"tag":196,"props":5548,"children":5549},{},[5550],{"type":179,"value":5551},"Disable live edit mode in development:",{"type":173,"tag":210,"props":5553,"children":5555},{"className":1629,"code":5554,"filename":4956,"language":1631,"meta":167,"style":167},"content: {\n  liveEdit: false\n}\n",[5556],{"type":173,"tag":202,"props":5557,"children":5558},{"__ignoreMap":167},[5559,5574,5591],{"type":173,"tag":220,"props":5560,"children":5561},{"class":222,"line":223},[5562,5566,5570],{"type":173,"tag":220,"props":5563,"children":5564},{"style":1150},[5565],{"type":179,"value":1295},{"type":173,"tag":220,"props":5567,"children":5568},{"style":227},[5569],{"type":179,"value":2084},{"type":173,"tag":220,"props":5571,"children":5572},{"style":227},[5573],{"type":179,"value":421},{"type":173,"tag":220,"props":5575,"children":5576},{"class":222,"line":244},[5577,5582,5586],{"type":173,"tag":220,"props":5578,"children":5579},{"style":1150},[5580],{"type":179,"value":5581},"  liveEdit",{"type":173,"tag":220,"props":5583,"children":5584},{"style":227},[5585],{"type":179,"value":2084},{"type":173,"tag":220,"props":5587,"children":5588},{"style":4056},[5589],{"type":179,"value":5590}," false\n",{"type":173,"tag":220,"props":5592,"children":5593},{"class":222,"line":262},[5594],{"type":173,"tag":220,"props":5595,"children":5596},{"style":227},[5597],{"type":179,"value":580},{"type":173,"tag":189,"props":5599,"children":5600},{"id":1293},[5601],{"type":173,"tag":202,"props":5602,"children":5603},{"className":167},[5604],{"type":179,"value":1293},{"type":173,"tag":196,"props":5606,"children":5607},{},[5608,5610,5617,5618,5625,5627,5631],{"type":179,"value":5609},"This module uses ",{"type":173,"tag":660,"props":5611,"children":5614},{"href":5612,"rel":5613},"https://github.com/remarkjs/remark",[1191],[5615],{"type":179,"value":5616},"remark",{"type":179,"value":4247},{"type":173,"tag":660,"props":5619,"children":5622},{"href":5620,"rel":5621},"https://github.com/rehypejs/rehype",[1191],[5623],{"type":179,"value":5624},"rehype",{"type":179,"value":5626}," under the hood to compile markdown files into JSON AST that will be stored into the ",{"type":173,"tag":202,"props":5628,"children":5629},{"className":167},[5630],{"type":179,"value":1884},{"type":179,"value":5632}," variable.",{"type":173,"tag":5634,"props":5635,"children":5636},"callout",{},[5637],{"type":173,"tag":196,"props":5638,"children":5639},{},[5640,5642,5647,5648],{"type":179,"value":5641},"The following explanation is valid for both ",{"type":173,"tag":202,"props":5643,"children":5644},{"className":167},[5645],{"type":179,"value":5646},"remarkPlugins",{"type":179,"value":4247},{"type":173,"tag":202,"props":5649,"children":5650},{"className":167},[5651],{"type":179,"value":5652},"rehypePlugins",{"type":173,"tag":196,"props":5654,"children":5655},{},[5656],{"type":179,"value":5657},"To configure how the module will parse Markdown, you can:",{"type":173,"tag":607,"props":5659,"children":5660},{},[5661],{"type":173,"tag":611,"props":5662,"children":5663},{},[5664],{"type":179,"value":5665},"Add a new plugin to the defaults:",{"type":173,"tag":210,"props":5667,"children":5669},{"className":1629,"code":5668,"filename":4956,"language":1631,"meta":167,"style":167},"export default {\n  content: {\n    markdown: {\n      remarkPlugins: ['remark-emoji']\n    }\n  }\n}\n",[5670],{"type":173,"tag":202,"props":5671,"children":5672},{"__ignoreMap":167},[5673,5688,5703,5719,5752,5759,5766],{"type":173,"tag":220,"props":5674,"children":5675},{"class":222,"line":223},[5676,5680,5684],{"type":173,"tag":220,"props":5677,"children":5678},{"style":408},[5679],{"type":179,"value":411},{"type":173,"tag":220,"props":5681,"children":5682},{"style":408},[5683],{"type":179,"value":416},{"type":173,"tag":220,"props":5685,"children":5686},{"style":227},[5687],{"type":179,"value":421},{"type":173,"tag":220,"props":5689,"children":5690},{"class":222,"line":244},[5691,5695,5699],{"type":173,"tag":220,"props":5692,"children":5693},{"style":233},[5694],{"type":179,"value":4987},{"type":173,"tag":220,"props":5696,"children":5697},{"style":227},[5698],{"type":179,"value":2084},{"type":173,"tag":220,"props":5700,"children":5701},{"style":227},[5702],{"type":179,"value":421},{"type":173,"tag":220,"props":5704,"children":5705},{"class":222,"line":262},[5706,5711,5715],{"type":173,"tag":220,"props":5707,"children":5708},{"style":233},[5709],{"type":179,"value":5710},"    markdown",{"type":173,"tag":220,"props":5712,"children":5713},{"style":227},[5714],{"type":179,"value":2084},{"type":173,"tag":220,"props":5716,"children":5717},{"style":227},[5718],{"type":179,"value":421},{"type":173,"tag":220,"props":5720,"children":5721},{"class":222,"line":300},[5722,5727,5731,5735,5739,5744,5748],{"type":173,"tag":220,"props":5723,"children":5724},{"style":233},[5725],{"type":179,"value":5726},"      remarkPlugins",{"type":173,"tag":220,"props":5728,"children":5729},{"style":227},[5730],{"type":179,"value":2084},{"type":173,"tag":220,"props":5732,"children":5733},{"style":281},[5734],{"type":179,"value":2475},{"type":173,"tag":220,"props":5736,"children":5737},{"style":227},[5738],{"type":179,"value":494},{"type":173,"tag":220,"props":5740,"children":5741},{"style":329},[5742],{"type":179,"value":5743},"remark-emoji",{"type":173,"tag":220,"props":5745,"children":5746},{"style":227},[5747],{"type":179,"value":494},{"type":173,"tag":220,"props":5749,"children":5750},{"style":281},[5751],{"type":179,"value":4230},{"type":173,"tag":220,"props":5753,"children":5754},{"class":222,"line":344},[5755],{"type":173,"tag":220,"props":5756,"children":5757},{"style":227},[5758],{"type":179,"value":562},{"type":173,"tag":220,"props":5760,"children":5761},{"class":222,"line":361},[5762],{"type":173,"tag":220,"props":5763,"children":5764},{"style":227},[5765],{"type":179,"value":571},{"type":173,"tag":220,"props":5767,"children":5768},{"class":222,"line":377},[5769],{"type":173,"tag":220,"props":5770,"children":5771},{"style":227},[5772],{"type":179,"value":580},{"type":173,"tag":607,"props":5774,"children":5775},{},[5776],{"type":173,"tag":611,"props":5777,"children":5778},{},[5779],{"type":179,"value":5780},"Override the default plugins:",{"type":173,"tag":210,"props":5782,"children":5784},{"className":1629,"code":5783,"filename":4956,"language":1631,"meta":167,"style":167},"export default {\n  content: {\n    markdown: {\n      remarkPlugins: () => ['remark-emoji']\n    }\n  }\n}\n",[5785],{"type":173,"tag":202,"props":5786,"children":5787},{"__ignoreMap":167},[5788,5803,5818,5833,5873,5880,5887],{"type":173,"tag":220,"props":5789,"children":5790},{"class":222,"line":223},[5791,5795,5799],{"type":173,"tag":220,"props":5792,"children":5793},{"style":408},[5794],{"type":179,"value":411},{"type":173,"tag":220,"props":5796,"children":5797},{"style":408},[5798],{"type":179,"value":416},{"type":173,"tag":220,"props":5800,"children":5801},{"style":227},[5802],{"type":179,"value":421},{"type":173,"tag":220,"props":5804,"children":5805},{"class":222,"line":244},[5806,5810,5814],{"type":173,"tag":220,"props":5807,"children":5808},{"style":233},[5809],{"type":179,"value":4987},{"type":173,"tag":220,"props":5811,"children":5812},{"style":227},[5813],{"type":179,"value":2084},{"type":173,"tag":220,"props":5815,"children":5816},{"style":227},[5817],{"type":179,"value":421},{"type":173,"tag":220,"props":5819,"children":5820},{"class":222,"line":262},[5821,5825,5829],{"type":173,"tag":220,"props":5822,"children":5823},{"style":233},[5824],{"type":179,"value":5710},{"type":173,"tag":220,"props":5826,"children":5827},{"style":227},[5828],{"type":179,"value":2084},{"type":173,"tag":220,"props":5830,"children":5831},{"style":227},[5832],{"type":179,"value":421},{"type":173,"tag":220,"props":5834,"children":5835},{"class":222,"line":300},[5836,5840,5844,5849,5853,5857,5861,5865,5869],{"type":173,"tag":220,"props":5837,"children":5838},{"style":482},[5839],{"type":179,"value":5726},{"type":173,"tag":220,"props":5841,"children":5842},{"style":227},[5843],{"type":179,"value":2084},{"type":173,"tag":220,"props":5845,"children":5846},{"style":227},[5847],{"type":179,"value":5848}," ()",{"type":173,"tag":220,"props":5850,"children":5851},{"style":313},[5852],{"type":179,"value":4812},{"type":173,"tag":220,"props":5854,"children":5855},{"style":281},[5856],{"type":179,"value":2475},{"type":173,"tag":220,"props":5858,"children":5859},{"style":227},[5860],{"type":179,"value":494},{"type":173,"tag":220,"props":5862,"children":5863},{"style":329},[5864],{"type":179,"value":5743},{"type":173,"tag":220,"props":5866,"children":5867},{"style":227},[5868],{"type":179,"value":494},{"type":173,"tag":220,"props":5870,"children":5871},{"style":281},[5872],{"type":179,"value":4230},{"type":173,"tag":220,"props":5874,"children":5875},{"class":222,"line":344},[5876],{"type":173,"tag":220,"props":5877,"children":5878},{"style":227},[5879],{"type":179,"value":562},{"type":173,"tag":220,"props":5881,"children":5882},{"class":222,"line":361},[5883],{"type":173,"tag":220,"props":5884,"children":5885},{"style":227},[5886],{"type":179,"value":571},{"type":173,"tag":220,"props":5888,"children":5889},{"class":222,"line":377},[5890],{"type":173,"tag":220,"props":5891,"children":5892},{"style":227},[5893],{"type":179,"value":580},{"type":173,"tag":607,"props":5895,"children":5896},{},[5897],{"type":173,"tag":611,"props":5898,"children":5899},{},[5900],{"type":179,"value":5901},"Use local plugins",{"type":173,"tag":210,"props":5903,"children":5905},{"className":1629,"code":5904,"filename":4956,"language":1631,"meta":167,"style":167},"export default {\n  content: {\n    markdown: {\n      remarkPlugins: [\n        '~/plugins/my-custom-remark-plugin.js'\n      ]\n    }\n  }\n}\n",[5906],{"type":173,"tag":202,"props":5907,"children":5908},{"__ignoreMap":167},[5909,5924,5939,5954,5970,5987,5995,6002,6009],{"type":173,"tag":220,"props":5910,"children":5911},{"class":222,"line":223},[5912,5916,5920],{"type":173,"tag":220,"props":5913,"children":5914},{"style":408},[5915],{"type":179,"value":411},{"type":173,"tag":220,"props":5917,"children":5918},{"style":408},[5919],{"type":179,"value":416},{"type":173,"tag":220,"props":5921,"children":5922},{"style":227},[5923],{"type":179,"value":421},{"type":173,"tag":220,"props":5925,"children":5926},{"class":222,"line":244},[5927,5931,5935],{"type":173,"tag":220,"props":5928,"children":5929},{"style":233},[5930],{"type":179,"value":4987},{"type":173,"tag":220,"props":5932,"children":5933},{"style":227},[5934],{"type":179,"value":2084},{"type":173,"tag":220,"props":5936,"children":5937},{"style":227},[5938],{"type":179,"value":421},{"type":173,"tag":220,"props":5940,"children":5941},{"class":222,"line":262},[5942,5946,5950],{"type":173,"tag":220,"props":5943,"children":5944},{"style":233},[5945],{"type":179,"value":5710},{"type":173,"tag":220,"props":5947,"children":5948},{"style":227},[5949],{"type":179,"value":2084},{"type":173,"tag":220,"props":5951,"children":5952},{"style":227},[5953],{"type":179,"value":421},{"type":173,"tag":220,"props":5955,"children":5956},{"class":222,"line":300},[5957,5961,5965],{"type":173,"tag":220,"props":5958,"children":5959},{"style":233},[5960],{"type":179,"value":5726},{"type":173,"tag":220,"props":5962,"children":5963},{"style":227},[5964],{"type":179,"value":2084},{"type":173,"tag":220,"props":5966,"children":5967},{"style":281},[5968],{"type":179,"value":5969}," [\n",{"type":173,"tag":220,"props":5971,"children":5972},{"class":222,"line":344},[5973,5978,5983],{"type":173,"tag":220,"props":5974,"children":5975},{"style":227},[5976],{"type":179,"value":5977},"        '",{"type":173,"tag":220,"props":5979,"children":5980},{"style":329},[5981],{"type":179,"value":5982},"~/plugins/my-custom-remark-plugin.js",{"type":173,"tag":220,"props":5984,"children":5985},{"style":227},[5986],{"type":179,"value":4201},{"type":173,"tag":220,"props":5988,"children":5989},{"class":222,"line":361},[5990],{"type":173,"tag":220,"props":5991,"children":5992},{"style":281},[5993],{"type":179,"value":5994},"      ]\n",{"type":173,"tag":220,"props":5996,"children":5997},{"class":222,"line":377},[5998],{"type":173,"tag":220,"props":5999,"children":6000},{"style":227},[6001],{"type":179,"value":562},{"type":173,"tag":220,"props":6003,"children":6004},{"class":222,"line":387},[6005],{"type":173,"tag":220,"props":6006,"children":6007},{"style":227},[6008],{"type":179,"value":571},{"type":173,"tag":220,"props":6010,"children":6011},{"class":222,"line":404},[6012],{"type":173,"tag":220,"props":6013,"children":6014},{"style":227},[6015],{"type":179,"value":580},{"type":173,"tag":607,"props":6017,"children":6018},{},[6019],{"type":173,"tag":611,"props":6020,"children":6021},{},[6022],{"type":179,"value":6023},"Provide options directly in the definition",{"type":173,"tag":210,"props":6025,"children":6027},{"className":1629,"code":6026,"filename":4956,"language":1631,"meta":167,"style":167},"export default {\n  content: {\n    markdown: {\n      remarkPlugins: [\n        ['remark-emoji', { emoticon: true }]\n      ]\n    }\n  }\n}\n",[6028],{"type":173,"tag":202,"props":6029,"children":6030},{"__ignoreMap":167},[6031,6046,6061,6076,6091,6141,6148,6155,6162],{"type":173,"tag":220,"props":6032,"children":6033},{"class":222,"line":223},[6034,6038,6042],{"type":173,"tag":220,"props":6035,"children":6036},{"style":408},[6037],{"type":179,"value":411},{"type":173,"tag":220,"props":6039,"children":6040},{"style":408},[6041],{"type":179,"value":416},{"type":173,"tag":220,"props":6043,"children":6044},{"style":227},[6045],{"type":179,"value":421},{"type":173,"tag":220,"props":6047,"children":6048},{"class":222,"line":244},[6049,6053,6057],{"type":173,"tag":220,"props":6050,"children":6051},{"style":233},[6052],{"type":179,"value":4987},{"type":173,"tag":220,"props":6054,"children":6055},{"style":227},[6056],{"type":179,"value":2084},{"type":173,"tag":220,"props":6058,"children":6059},{"style":227},[6060],{"type":179,"value":421},{"type":173,"tag":220,"props":6062,"children":6063},{"class":222,"line":262},[6064,6068,6072],{"type":173,"tag":220,"props":6065,"children":6066},{"style":233},[6067],{"type":179,"value":5710},{"type":173,"tag":220,"props":6069,"children":6070},{"style":227},[6071],{"type":179,"value":2084},{"type":173,"tag":220,"props":6073,"children":6074},{"style":227},[6075],{"type":179,"value":421},{"type":173,"tag":220,"props":6077,"children":6078},{"class":222,"line":300},[6079,6083,6087],{"type":173,"tag":220,"props":6080,"children":6081},{"style":233},[6082],{"type":179,"value":5726},{"type":173,"tag":220,"props":6084,"children":6085},{"style":227},[6086],{"type":179,"value":2084},{"type":173,"tag":220,"props":6088,"children":6089},{"style":281},[6090],{"type":179,"value":5969},{"type":173,"tag":220,"props":6092,"children":6093},{"class":222,"line":344},[6094,6099,6103,6107,6111,6115,6119,6124,6128,6133,6137],{"type":173,"tag":220,"props":6095,"children":6096},{"style":281},[6097],{"type":179,"value":6098},"        [",{"type":173,"tag":220,"props":6100,"children":6101},{"style":227},[6102],{"type":179,"value":494},{"type":173,"tag":220,"props":6104,"children":6105},{"style":329},[6106],{"type":179,"value":5743},{"type":173,"tag":220,"props":6108,"children":6109},{"style":227},[6110],{"type":179,"value":494},{"type":173,"tag":220,"props":6112,"children":6113},{"style":227},[6114],{"type":179,"value":1812},{"type":173,"tag":220,"props":6116,"children":6117},{"style":227},[6118],{"type":179,"value":1648},{"type":173,"tag":220,"props":6120,"children":6121},{"style":233},[6122],{"type":179,"value":6123}," emoticon",{"type":173,"tag":220,"props":6125,"children":6126},{"style":227},[6127],{"type":179,"value":2084},{"type":173,"tag":220,"props":6129,"children":6130},{"style":4056},[6131],{"type":179,"value":6132}," true",{"type":173,"tag":220,"props":6134,"children":6135},{"style":227},[6136],{"type":179,"value":2103},{"type":173,"tag":220,"props":6138,"children":6139},{"style":281},[6140],{"type":179,"value":4230},{"type":173,"tag":220,"props":6142,"children":6143},{"class":222,"line":361},[6144],{"type":173,"tag":220,"props":6145,"children":6146},{"style":281},[6147],{"type":179,"value":5994},{"type":173,"tag":220,"props":6149,"children":6150},{"class":222,"line":377},[6151],{"type":173,"tag":220,"props":6152,"children":6153},{"style":227},[6154],{"type":179,"value":562},{"type":173,"tag":220,"props":6156,"children":6157},{"class":222,"line":387},[6158],{"type":173,"tag":220,"props":6159,"children":6160},{"style":227},[6161],{"type":179,"value":571},{"type":173,"tag":220,"props":6163,"children":6164},{"class":222,"line":404},[6165],{"type":173,"tag":220,"props":6166,"children":6167},{"style":227},[6168],{"type":179,"value":580},{"type":173,"tag":607,"props":6170,"children":6171},{},[6172],{"type":173,"tag":611,"props":6173,"children":6174},{},[6175,6177],{"type":179,"value":6176},"Provide options using the name of the plugin in ",{"type":173,"tag":202,"props":6178,"children":6179},{"className":167},[6180],{"type":179,"value":6181},"camelCase",{"type":173,"tag":210,"props":6183,"children":6185},{"className":1629,"code":6184,"filename":4956,"language":1631,"meta":167,"style":167},"export default {\n  content: {\n    markdown: {\n      // https://github.com/remarkjs/remark-external-links#options\n      remarkExternalLinks: {\n        target: '_self',\n        rel: 'nofollow'\n      }\n    }\n  }\n}\n",[6186],{"type":173,"tag":202,"props":6187,"children":6188},{"__ignoreMap":167},[6189,6204,6219,6234,6242,6258,6287,6311,6319,6326,6333],{"type":173,"tag":220,"props":6190,"children":6191},{"class":222,"line":223},[6192,6196,6200],{"type":173,"tag":220,"props":6193,"children":6194},{"style":408},[6195],{"type":179,"value":411},{"type":173,"tag":220,"props":6197,"children":6198},{"style":408},[6199],{"type":179,"value":416},{"type":173,"tag":220,"props":6201,"children":6202},{"style":227},[6203],{"type":179,"value":421},{"type":173,"tag":220,"props":6205,"children":6206},{"class":222,"line":244},[6207,6211,6215],{"type":173,"tag":220,"props":6208,"children":6209},{"style":233},[6210],{"type":179,"value":4987},{"type":173,"tag":220,"props":6212,"children":6213},{"style":227},[6214],{"type":179,"value":2084},{"type":173,"tag":220,"props":6216,"children":6217},{"style":227},[6218],{"type":179,"value":421},{"type":173,"tag":220,"props":6220,"children":6221},{"class":222,"line":262},[6222,6226,6230],{"type":173,"tag":220,"props":6223,"children":6224},{"style":233},[6225],{"type":179,"value":5710},{"type":173,"tag":220,"props":6227,"children":6228},{"style":227},[6229],{"type":179,"value":2084},{"type":173,"tag":220,"props":6231,"children":6232},{"style":227},[6233],{"type":179,"value":421},{"type":173,"tag":220,"props":6235,"children":6236},{"class":222,"line":300},[6237],{"type":173,"tag":220,"props":6238,"children":6239},{"style":1167},[6240],{"type":179,"value":6241},"      // https://github.com/remarkjs/remark-external-links#options\n",{"type":173,"tag":220,"props":6243,"children":6244},{"class":222,"line":344},[6245,6250,6254],{"type":173,"tag":220,"props":6246,"children":6247},{"style":233},[6248],{"type":179,"value":6249},"      remarkExternalLinks",{"type":173,"tag":220,"props":6251,"children":6252},{"style":227},[6253],{"type":179,"value":2084},{"type":173,"tag":220,"props":6255,"children":6256},{"style":227},[6257],{"type":179,"value":421},{"type":173,"tag":220,"props":6259,"children":6260},{"class":222,"line":361},[6261,6266,6270,6274,6279,6283],{"type":173,"tag":220,"props":6262,"children":6263},{"style":233},[6264],{"type":179,"value":6265},"        target",{"type":173,"tag":220,"props":6267,"children":6268},{"style":227},[6269],{"type":179,"value":2084},{"type":173,"tag":220,"props":6271,"children":6272},{"style":227},[6273],{"type":179,"value":2089},{"type":173,"tag":220,"props":6275,"children":6276},{"style":329},[6277],{"type":179,"value":6278},"_self",{"type":173,"tag":220,"props":6280,"children":6281},{"style":227},[6282],{"type":179,"value":494},{"type":173,"tag":220,"props":6284,"children":6285},{"style":227},[6286],{"type":179,"value":4176},{"type":173,"tag":220,"props":6288,"children":6289},{"class":222,"line":377},[6290,6295,6299,6303,6307],{"type":173,"tag":220,"props":6291,"children":6292},{"style":233},[6293],{"type":179,"value":6294},"        rel",{"type":173,"tag":220,"props":6296,"children":6297},{"style":227},[6298],{"type":179,"value":2084},{"type":173,"tag":220,"props":6300,"children":6301},{"style":227},[6302],{"type":179,"value":2089},{"type":173,"tag":220,"props":6304,"children":6305},{"style":329},[6306],{"type":179,"value":1191},{"type":173,"tag":220,"props":6308,"children":6309},{"style":227},[6310],{"type":179,"value":4201},{"type":173,"tag":220,"props":6312,"children":6313},{"class":222,"line":387},[6314],{"type":173,"tag":220,"props":6315,"children":6316},{"style":227},[6317],{"type":179,"value":6318},"      }\n",{"type":173,"tag":220,"props":6320,"children":6321},{"class":222,"line":404},[6322],{"type":173,"tag":220,"props":6323,"children":6324},{"style":227},[6325],{"type":179,"value":562},{"type":173,"tag":220,"props":6327,"children":6328},{"class":222,"line":424},[6329],{"type":173,"tag":220,"props":6330,"children":6331},{"style":227},[6332],{"type":179,"value":571},{"type":173,"tag":220,"props":6334,"children":6335},{"class":222,"line":458},[6336],{"type":173,"tag":220,"props":6337,"children":6338},{"style":227},[6339],{"type":179,"value":580},{"type":173,"tag":5634,"props":6341,"children":6342},{},[6343],{"type":173,"tag":196,"props":6344,"children":6345},{},[6346],{"type":179,"value":6347},"When adding a new plugin, make sure to install it in your dependencies:",{"type":173,"tag":6349,"props":6350,"children":6351},"code-group",{},[6352,6380],{"type":173,"tag":210,"props":6353,"children":6358},{"className":6354,"code":6355,"filename":6356,"language":6357,"meta":167,"style":167},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","yarn add remark-emoji\n","Yarn","bash",[6359],{"type":173,"tag":202,"props":6360,"children":6361},{"__ignoreMap":167},[6362],{"type":173,"tag":220,"props":6363,"children":6364},{"class":222,"line":223},[6365,6370,6375],{"type":173,"tag":220,"props":6366,"children":6367},{"style":1150},[6368],{"type":179,"value":6369},"yarn",{"type":173,"tag":220,"props":6371,"children":6372},{"style":329},[6373],{"type":179,"value":6374}," add",{"type":173,"tag":220,"props":6376,"children":6377},{"style":329},[6378],{"type":179,"value":6379}," remark-emoji\n",{"type":173,"tag":210,"props":6381,"children":6384},{"className":6354,"code":6382,"filename":6383,"language":6357,"meta":167,"style":167},"npm install remark-emoji\n","NPM",[6385],{"type":173,"tag":202,"props":6386,"children":6387},{"__ignoreMap":167},[6388],{"type":173,"tag":220,"props":6389,"children":6390},{"class":222,"line":223},[6391,6396,6401],{"type":173,"tag":220,"props":6392,"children":6393},{"style":1150},[6394],{"type":179,"value":6395},"npm",{"type":173,"tag":220,"props":6397,"children":6398},{"style":329},[6399],{"type":179,"value":6400}," install",{"type":173,"tag":220,"props":6402,"children":6403},{"style":329},[6404],{"type":179,"value":6379},{"type":173,"tag":210,"props":6406,"children":6407},{"className":1629,"code":5668,"filename":4956,"language":1631,"meta":167,"style":167},[6408],{"type":173,"tag":202,"props":6409,"children":6410},{"__ignoreMap":167},[6411,6426,6441,6456,6487,6494,6501],{"type":173,"tag":220,"props":6412,"children":6413},{"class":222,"line":223},[6414,6418,6422],{"type":173,"tag":220,"props":6415,"children":6416},{"style":408},[6417],{"type":179,"value":411},{"type":173,"tag":220,"props":6419,"children":6420},{"style":408},[6421],{"type":179,"value":416},{"type":173,"tag":220,"props":6423,"children":6424},{"style":227},[6425],{"type":179,"value":421},{"type":173,"tag":220,"props":6427,"children":6428},{"class":222,"line":244},[6429,6433,6437],{"type":173,"tag":220,"props":6430,"children":6431},{"style":233},[6432],{"type":179,"value":4987},{"type":173,"tag":220,"props":6434,"children":6435},{"style":227},[6436],{"type":179,"value":2084},{"type":173,"tag":220,"props":6438,"children":6439},{"style":227},[6440],{"type":179,"value":421},{"type":173,"tag":220,"props":6442,"children":6443},{"class":222,"line":262},[6444,6448,6452],{"type":173,"tag":220,"props":6445,"children":6446},{"style":233},[6447],{"type":179,"value":5710},{"type":173,"tag":220,"props":6449,"children":6450},{"style":227},[6451],{"type":179,"value":2084},{"type":173,"tag":220,"props":6453,"children":6454},{"style":227},[6455],{"type":179,"value":421},{"type":173,"tag":220,"props":6457,"children":6458},{"class":222,"line":300},[6459,6463,6467,6471,6475,6479,6483],{"type":173,"tag":220,"props":6460,"children":6461},{"style":233},[6462],{"type":179,"value":5726},{"type":173,"tag":220,"props":6464,"children":6465},{"style":227},[6466],{"type":179,"value":2084},{"type":173,"tag":220,"props":6468,"children":6469},{"style":281},[6470],{"type":179,"value":2475},{"type":173,"tag":220,"props":6472,"children":6473},{"style":227},[6474],{"type":179,"value":494},{"type":173,"tag":220,"props":6476,"children":6477},{"style":329},[6478],{"type":179,"value":5743},{"type":173,"tag":220,"props":6480,"children":6481},{"style":227},[6482],{"type":179,"value":494},{"type":173,"tag":220,"props":6484,"children":6485},{"style":281},[6486],{"type":179,"value":4230},{"type":173,"tag":220,"props":6488,"children":6489},{"class":222,"line":344},[6490],{"type":173,"tag":220,"props":6491,"children":6492},{"style":227},[6493],{"type":179,"value":562},{"type":173,"tag":220,"props":6495,"children":6496},{"class":222,"line":361},[6497],{"type":173,"tag":220,"props":6498,"children":6499},{"style":227},[6500],{"type":179,"value":571},{"type":173,"tag":220,"props":6502,"children":6503},{"class":222,"line":377},[6504],{"type":173,"tag":220,"props":6505,"children":6506},{"style":227},[6507],{"type":179,"value":580},{"type":173,"tag":189,"props":6509,"children":6511},{"id":6510},"markdowntocdepth",[6512],{"type":173,"tag":202,"props":6513,"children":6514},{"className":167},[6515],{"type":179,"value":6516},"markdown.tocDepth",{"type":173,"tag":607,"props":6518,"children":6519},{},[6520,6528,6537],{"type":173,"tag":611,"props":6521,"children":6522},{},[6523,6524],{"type":179,"value":623},{"type":173,"tag":202,"props":6525,"children":6526},{"className":167},[6527],{"type":179,"value":3114},{"type":173,"tag":611,"props":6529,"children":6530},{},[6531,6532],{"type":179,"value":1366},{"type":173,"tag":202,"props":6533,"children":6534},{"className":167},[6535],{"type":179,"value":6536},"3",{"type":173,"tag":611,"props":6538,"children":6539},{},[6540,6541],{"type":179,"value":1404},{"type":173,"tag":601,"props":6542,"children":6543},{},[6544],{"type":179,"value":6545},">= v1.11.0",{"type":173,"tag":196,"props":6547,"children":6548},{},[6549],{"type":179,"value":6550},"You can change maximum heading depth to include in the table of contents.",{"type":173,"tag":189,"props":6552,"children":6554},{"id":6553},"markdownremarkplugins",[6555],{"type":173,"tag":202,"props":6556,"children":6557},{"className":167},[6558],{"type":179,"value":5058},{"type":173,"tag":607,"props":6560,"children":6561},{},[6562,6570,6579],{"type":173,"tag":611,"props":6563,"children":6564},{},[6565,6566],{"type":179,"value":623},{"type":173,"tag":202,"props":6567,"children":6568},{"className":167},[6569],{"type":179,"value":1562},{"type":173,"tag":611,"props":6571,"children":6572},{},[6573,6574],{"type":179,"value":1366},{"type":173,"tag":202,"props":6575,"children":6576},{"className":167},[6577],{"type":179,"value":6578},"['remark-squeeze-paragraphs', 'remark-slug', 'remark-autolink-headings', 'remark-external-links', 'remark-footnotes']",{"type":173,"tag":611,"props":6580,"children":6581},{},[6582,6583],{"type":179,"value":1404},{"type":173,"tag":601,"props":6584,"children":6585},{},[6586],{"type":179,"value":1230},{"type":173,"tag":1179,"props":6588,"children":6589},{},[6590],{"type":173,"tag":196,"props":6591,"children":6592},{},[6593,6595,6602],{"type":179,"value":6594},"You can take a look at the list of ",{"type":173,"tag":660,"props":6596,"children":6599},{"href":6597,"rel":6598},"https://github.com/remarkjs/remark/blob/main/doc/plugins.md#list-of-plugins",[1191],[6600],{"type":179,"value":6601},"remark plugins",{"type":179,"value":513},{"type":173,"tag":189,"props":6604,"children":6606},{"id":6605},"markdownrehypeplugins",[6607],{"type":173,"tag":202,"props":6608,"children":6609},{"className":167},[6610],{"type":179,"value":5064},{"type":173,"tag":607,"props":6612,"children":6613},{},[6614,6622,6631],{"type":173,"tag":611,"props":6615,"children":6616},{},[6617,6618],{"type":179,"value":623},{"type":173,"tag":202,"props":6619,"children":6620},{"className":167},[6621],{"type":179,"value":1562},{"type":173,"tag":611,"props":6623,"children":6624},{},[6625,6626],{"type":179,"value":1366},{"type":173,"tag":202,"props":6627,"children":6628},{"className":167},[6629],{"type":179,"value":6630},"['rehype-minify-whitespace', 'rehype-sort-attribute-values', 'rehype-sort-attributes', 'rehype-raw']",{"type":173,"tag":611,"props":6632,"children":6633},{},[6634,6635],{"type":179,"value":1404},{"type":173,"tag":601,"props":6636,"children":6637},{},[6638],{"type":179,"value":1230},{"type":173,"tag":1179,"props":6640,"children":6641},{},[6642],{"type":173,"tag":196,"props":6643,"children":6644},{},[6645,6646,6653],{"type":179,"value":6594},{"type":173,"tag":660,"props":6647,"children":6650},{"href":6648,"rel":6649},"https://github.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins",[1191],[6651],{"type":179,"value":6652},"rehype plugins",{"type":179,"value":513},{"type":173,"tag":189,"props":6655,"children":6657},{"id":6656},"markdownbaseplugins",[6658],{"type":173,"tag":202,"props":6659,"children":6660},{"className":167},[6661],{"type":179,"value":6662},"markdown.basePlugins",{"type":173,"tag":5634,"props":6664,"children":6665},{},[6666],{"type":173,"tag":196,"props":6667,"children":6668},{},[6669,6671,6675],{"type":179,"value":6670},"Deprecated. Use ",{"type":173,"tag":202,"props":6672,"children":6673},{"className":167},[6674],{"type":179,"value":5058},{"type":179,"value":6676}," as a function instead.",{"type":173,"tag":189,"props":6678,"children":6680},{"id":6679},"markdownplugins",[6681],{"type":173,"tag":202,"props":6682,"children":6683},{"className":167},[6684],{"type":179,"value":6685},"markdown.plugins",{"type":173,"tag":5634,"props":6687,"children":6688},{},[6689],{"type":173,"tag":196,"props":6690,"children":6691},{},[6692,6693,6697],{"type":179,"value":6670},{"type":173,"tag":202,"props":6694,"children":6695},{"className":167},[6696],{"type":179,"value":5058},{"type":179,"value":6698}," as an array instead.",{"type":173,"tag":189,"props":6700,"children":6702},{"id":6701},"markdownprismtheme",[6703],{"type":173,"tag":202,"props":6704,"children":6705},{"className":167},[6706],{"type":179,"value":6707},"markdown.prism.theme",{"type":173,"tag":607,"props":6709,"children":6710},{},[6711,6719],{"type":173,"tag":611,"props":6712,"children":6713},{},[6714,6715],{"type":179,"value":623},{"type":173,"tag":202,"props":6716,"children":6717},{"className":167},[6718],{"type":179,"value":653},{"type":173,"tag":611,"props":6720,"children":6721},{},[6722,6723],{"type":179,"value":1366},{"type":173,"tag":202,"props":6724,"children":6725},{"className":167},[6726],{"type":179,"value":6727},"'prismjs/themes/prism.css'",{"type":173,"tag":196,"props":6729,"children":6730},{},[6731,6733,6740],{"type":179,"value":6732},"This module handles code highlighting in markdown content using ",{"type":173,"tag":660,"props":6734,"children":6737},{"href":6735,"rel":6736},"https://prismjs.com",[1191],[6738],{"type":179,"value":6739},"PrismJS",{"type":179,"value":513},{"type":173,"tag":196,"props":6742,"children":6743},{},[6744,6746,6753],{"type":179,"value":6745},"It automatically pushes the desired PrismJS theme in your Nuxt.js config, so if you want to use a different theme than the default one, for example ",{"type":173,"tag":660,"props":6747,"children":6750},{"href":6748,"rel":6749},"https://github.com/PrismJS/prism-themes",[1191],[6751],{"type":179,"value":6752},"prism-themes",{"type":179,"value":2084},{"type":173,"tag":6349,"props":6755,"children":6756},{},[6757,6780],{"type":173,"tag":210,"props":6758,"children":6760},{"className":6354,"code":6759,"filename":6356,"language":6357,"meta":167,"style":167},"yarn add prism-themes\n",[6761],{"type":173,"tag":202,"props":6762,"children":6763},{"__ignoreMap":167},[6764],{"type":173,"tag":220,"props":6765,"children":6766},{"class":222,"line":223},[6767,6771,6775],{"type":173,"tag":220,"props":6768,"children":6769},{"style":1150},[6770],{"type":179,"value":6369},{"type":173,"tag":220,"props":6772,"children":6773},{"style":329},[6774],{"type":179,"value":6374},{"type":173,"tag":220,"props":6776,"children":6777},{"style":329},[6778],{"type":179,"value":6779}," prism-themes\n",{"type":173,"tag":210,"props":6781,"children":6783},{"className":6354,"code":6782,"filename":6383,"language":6357,"meta":167,"style":167},"npm install prism-themes\n",[6784],{"type":173,"tag":202,"props":6785,"children":6786},{"__ignoreMap":167},[6787],{"type":173,"tag":220,"props":6788,"children":6789},{"class":222,"line":223},[6790,6794,6798],{"type":173,"tag":220,"props":6791,"children":6792},{"style":1150},[6793],{"type":179,"value":6395},{"type":173,"tag":220,"props":6795,"children":6796},{"style":329},[6797],{"type":179,"value":6400},{"type":173,"tag":220,"props":6799,"children":6800},{"style":329},[6801],{"type":179,"value":6779},{"type":173,"tag":210,"props":6803,"children":6805},{"className":1629,"code":6804,"filename":4956,"language":1631,"meta":167,"style":167},"content: {\n  markdown: {\n    prism: {\n      theme: 'prism-themes/themes/prism-material-oceanic.css'\n    }\n  }\n}\n",[6806],{"type":173,"tag":202,"props":6807,"children":6808},{"__ignoreMap":167},[6809,6824,6840,6856,6881,6888,6895],{"type":173,"tag":220,"props":6810,"children":6811},{"class":222,"line":223},[6812,6816,6820],{"type":173,"tag":220,"props":6813,"children":6814},{"style":1150},[6815],{"type":179,"value":1295},{"type":173,"tag":220,"props":6817,"children":6818},{"style":227},[6819],{"type":179,"value":2084},{"type":173,"tag":220,"props":6821,"children":6822},{"style":227},[6823],{"type":179,"value":421},{"type":173,"tag":220,"props":6825,"children":6826},{"class":222,"line":244},[6827,6832,6836],{"type":173,"tag":220,"props":6828,"children":6829},{"style":1150},[6830],{"type":179,"value":6831},"  markdown",{"type":173,"tag":220,"props":6833,"children":6834},{"style":227},[6835],{"type":179,"value":2084},{"type":173,"tag":220,"props":6837,"children":6838},{"style":227},[6839],{"type":179,"value":421},{"type":173,"tag":220,"props":6841,"children":6842},{"class":222,"line":262},[6843,6848,6852],{"type":173,"tag":220,"props":6844,"children":6845},{"style":1150},[6846],{"type":179,"value":6847},"    prism",{"type":173,"tag":220,"props":6849,"children":6850},{"style":227},[6851],{"type":179,"value":2084},{"type":173,"tag":220,"props":6853,"children":6854},{"style":227},[6855],{"type":179,"value":421},{"type":173,"tag":220,"props":6857,"children":6858},{"class":222,"line":300},[6859,6864,6868,6872,6877],{"type":173,"tag":220,"props":6860,"children":6861},{"style":1150},[6862],{"type":179,"value":6863},"      theme",{"type":173,"tag":220,"props":6865,"children":6866},{"style":227},[6867],{"type":179,"value":2084},{"type":173,"tag":220,"props":6869,"children":6870},{"style":227},[6871],{"type":179,"value":2089},{"type":173,"tag":220,"props":6873,"children":6874},{"style":329},[6875],{"type":179,"value":6876},"prism-themes/themes/prism-material-oceanic.css",{"type":173,"tag":220,"props":6878,"children":6879},{"style":227},[6880],{"type":179,"value":4201},{"type":173,"tag":220,"props":6882,"children":6883},{"class":222,"line":344},[6884],{"type":173,"tag":220,"props":6885,"children":6886},{"style":227},[6887],{"type":179,"value":562},{"type":173,"tag":220,"props":6889,"children":6890},{"class":222,"line":361},[6891],{"type":173,"tag":220,"props":6892,"children":6893},{"style":227},[6894],{"type":179,"value":571},{"type":173,"tag":220,"props":6896,"children":6897},{"class":222,"line":377},[6898],{"type":173,"tag":220,"props":6899,"children":6900},{"style":227},[6901],{"type":179,"value":580},{"type":173,"tag":196,"props":6903,"children":6904},{},[6905,6907,6911],{"type":179,"value":6906},"To disable the inclusion of the theme, set prism to ",{"type":173,"tag":202,"props":6908,"children":6909},{"className":167},[6910],{"type":179,"value":1438},{"type":179,"value":2084},{"type":173,"tag":210,"props":6913,"children":6915},{"className":1629,"code":6914,"filename":4956,"language":1631,"meta":167,"style":167},"content: {\n  markdown: {\n    prism: {\n      theme: false\n    }\n  }\n}\n",[6916],{"type":173,"tag":202,"props":6917,"children":6918},{"__ignoreMap":167},[6919,6934,6949,6964,6979,6986,6993],{"type":173,"tag":220,"props":6920,"children":6921},{"class":222,"line":223},[6922,6926,6930],{"type":173,"tag":220,"props":6923,"children":6924},{"style":1150},[6925],{"type":179,"value":1295},{"type":173,"tag":220,"props":6927,"children":6928},{"style":227},[6929],{"type":179,"value":2084},{"type":173,"tag":220,"props":6931,"children":6932},{"style":227},[6933],{"type":179,"value":421},{"type":173,"tag":220,"props":6935,"children":6936},{"class":222,"line":244},[6937,6941,6945],{"type":173,"tag":220,"props":6938,"children":6939},{"style":1150},[6940],{"type":179,"value":6831},{"type":173,"tag":220,"props":6942,"children":6943},{"style":227},[6944],{"type":179,"value":2084},{"type":173,"tag":220,"props":6946,"children":6947},{"style":227},[6948],{"type":179,"value":421},{"type":173,"tag":220,"props":6950,"children":6951},{"class":222,"line":262},[6952,6956,6960],{"type":173,"tag":220,"props":6953,"children":6954},{"style":1150},[6955],{"type":179,"value":6847},{"type":173,"tag":220,"props":6957,"children":6958},{"style":227},[6959],{"type":179,"value":2084},{"type":173,"tag":220,"props":6961,"children":6962},{"style":227},[6963],{"type":179,"value":421},{"type":173,"tag":220,"props":6965,"children":6966},{"class":222,"line":300},[6967,6971,6975],{"type":173,"tag":220,"props":6968,"children":6969},{"style":1150},[6970],{"type":179,"value":6863},{"type":173,"tag":220,"props":6972,"children":6973},{"style":227},[6974],{"type":179,"value":2084},{"type":173,"tag":220,"props":6976,"children":6977},{"style":4056},[6978],{"type":179,"value":5590},{"type":173,"tag":220,"props":6980,"children":6981},{"class":222,"line":344},[6982],{"type":173,"tag":220,"props":6983,"children":6984},{"style":227},[6985],{"type":179,"value":562},{"type":173,"tag":220,"props":6987,"children":6988},{"class":222,"line":361},[6989],{"type":173,"tag":220,"props":6990,"children":6991},{"style":227},[6992],{"type":179,"value":571},{"type":173,"tag":220,"props":6994,"children":6995},{"class":222,"line":377},[6996],{"type":173,"tag":220,"props":6997,"children":6998},{"style":227},[6999],{"type":179,"value":580},{"type":173,"tag":189,"props":7001,"children":7003},{"id":7002},"markdownhighlighter",[7004],{"type":173,"tag":202,"props":7005,"children":7006},{"className":167},[7007],{"type":179,"value":7008},"markdown.highlighter",{"type":173,"tag":607,"props":7010,"children":7011},{},[7012,7027],{"type":173,"tag":611,"props":7013,"children":7014},{},[7015,7016,7021,7022],{"type":179,"value":623},{"type":173,"tag":202,"props":7017,"children":7018},{"className":167},[7019],{"type":179,"value":7020},"Highlighter",{"type":179,"value":1610},{"type":173,"tag":202,"props":7023,"children":7024},{"className":167},[7025],{"type":179,"value":7026},"PromisedHighlighter",{"type":173,"tag":611,"props":7028,"children":7029},{},[7030,7031],{"type":179,"value":1404},{"type":173,"tag":601,"props":7032,"children":7033},{},[7034],{"type":179,"value":7035},">=1.9.0",{"type":173,"tag":196,"props":7037,"children":7038},{},[7039,7041,7048],{"type":179,"value":7040},"You can change the default code highlighter in markdown content by using this option. As an example, we use ",{"type":173,"tag":660,"props":7042,"children":7045},{"href":7043,"rel":7044},"https://highlightjs.org",[1191],[7046],{"type":179,"value":7047},"highlight.js",{"type":179,"value":513},{"type":173,"tag":210,"props":7050,"children":7052},{"className":1629,"code":7051,"filename":4956,"language":1631,"meta":167,"style":167},"import highlightjs from 'highlight.js'\n\nexport default {\n  content: {\n    markdown: {\n      highlighter(rawCode, lang) {\n        const highlightedCode = highlightjs.highlight(rawCode, { language: lang }).value\n\n        // We need to create a wrapper, because\n        // the returned code from highlight.js\n        // is only the highlighted code.\n        return `\u003Cpre>\u003Ccode class=\"hljs ${lang}\">${highlightedCode}\u003C/code>\u003C/pre>`\n      }\n    }\n  }\n}\n",[7053],{"type":173,"tag":202,"props":7054,"children":7055},{"__ignoreMap":167},[7056,7086,7093,7108,7123,7138,7172,7249,7256,7264,7272,7280,7340,7347,7354,7361],{"type":173,"tag":220,"props":7057,"children":7058},{"class":222,"line":223},[7059,7064,7069,7074,7078,7082],{"type":173,"tag":220,"props":7060,"children":7061},{"style":408},[7062],{"type":179,"value":7063},"import",{"type":173,"tag":220,"props":7065,"children":7066},{"style":281},[7067],{"type":179,"value":7068}," highlightjs ",{"type":173,"tag":220,"props":7070,"children":7071},{"style":408},[7072],{"type":179,"value":7073},"from",{"type":173,"tag":220,"props":7075,"children":7076},{"style":227},[7077],{"type":179,"value":2089},{"type":173,"tag":220,"props":7079,"children":7080},{"style":329},[7081],{"type":179,"value":7047},{"type":173,"tag":220,"props":7083,"children":7084},{"style":227},[7085],{"type":179,"value":4201},{"type":173,"tag":220,"props":7087,"children":7088},{"class":222,"line":244},[7089],{"type":173,"tag":220,"props":7090,"children":7091},{"emptyLinePlaceholder":381},[7092],{"type":179,"value":384},{"type":173,"tag":220,"props":7094,"children":7095},{"class":222,"line":262},[7096,7100,7104],{"type":173,"tag":220,"props":7097,"children":7098},{"style":408},[7099],{"type":179,"value":411},{"type":173,"tag":220,"props":7101,"children":7102},{"style":408},[7103],{"type":179,"value":416},{"type":173,"tag":220,"props":7105,"children":7106},{"style":227},[7107],{"type":179,"value":421},{"type":173,"tag":220,"props":7109,"children":7110},{"class":222,"line":300},[7111,7115,7119],{"type":173,"tag":220,"props":7112,"children":7113},{"style":233},[7114],{"type":179,"value":4987},{"type":173,"tag":220,"props":7116,"children":7117},{"style":227},[7118],{"type":179,"value":2084},{"type":173,"tag":220,"props":7120,"children":7121},{"style":227},[7122],{"type":179,"value":421},{"type":173,"tag":220,"props":7124,"children":7125},{"class":222,"line":344},[7126,7130,7134],{"type":173,"tag":220,"props":7127,"children":7128},{"style":233},[7129],{"type":179,"value":5710},{"type":173,"tag":220,"props":7131,"children":7132},{"style":227},[7133],{"type":179,"value":2084},{"type":173,"tag":220,"props":7135,"children":7136},{"style":227},[7137],{"type":179,"value":421},{"type":173,"tag":220,"props":7139,"children":7140},{"class":222,"line":361},[7141,7146,7150,7155,7159,7164,7168],{"type":173,"tag":220,"props":7142,"children":7143},{"style":233},[7144],{"type":179,"value":7145},"      highlighter",{"type":173,"tag":220,"props":7147,"children":7148},{"style":227},[7149],{"type":179,"value":489},{"type":173,"tag":220,"props":7151,"children":7152},{"style":443},[7153],{"type":179,"value":7154},"rawCode",{"type":173,"tag":220,"props":7156,"children":7157},{"style":227},[7158],{"type":179,"value":1812},{"type":173,"tag":220,"props":7160,"children":7161},{"style":443},[7162],{"type":179,"value":7163}," lang",{"type":173,"tag":220,"props":7165,"children":7166},{"style":227},[7167],{"type":179,"value":508},{"type":173,"tag":220,"props":7169,"children":7170},{"style":227},[7171],{"type":179,"value":421},{"type":173,"tag":220,"props":7173,"children":7174},{"class":222,"line":377},[7175,7180,7185,7189,7194,7198,7203,7207,7211,7215,7219,7224,7228,7232,7236,7240,7244],{"type":173,"tag":220,"props":7176,"children":7177},{"style":313},[7178],{"type":179,"value":7179},"        const",{"type":173,"tag":220,"props":7181,"children":7182},{"style":281},[7183],{"type":179,"value":7184}," highlightedCode",{"type":173,"tag":220,"props":7186,"children":7187},{"style":227},[7188],{"type":179,"value":474},{"type":173,"tag":220,"props":7190,"children":7191},{"style":281},[7192],{"type":179,"value":7193}," highlightjs",{"type":173,"tag":220,"props":7195,"children":7196},{"style":227},[7197],{"type":179,"value":513},{"type":173,"tag":220,"props":7199,"children":7200},{"style":482},[7201],{"type":179,"value":7202},"highlight",{"type":173,"tag":220,"props":7204,"children":7205},{"style":233},[7206],{"type":179,"value":489},{"type":173,"tag":220,"props":7208,"children":7209},{"style":281},[7210],{"type":179,"value":7154},{"type":173,"tag":220,"props":7212,"children":7213},{"style":227},[7214],{"type":179,"value":1812},{"type":173,"tag":220,"props":7216,"children":7217},{"style":227},[7218],{"type":179,"value":1648},{"type":173,"tag":220,"props":7220,"children":7221},{"style":233},[7222],{"type":179,"value":7223}," language",{"type":173,"tag":220,"props":7225,"children":7226},{"style":227},[7227],{"type":179,"value":2084},{"type":173,"tag":220,"props":7229,"children":7230},{"style":281},[7231],{"type":179,"value":7163},{"type":173,"tag":220,"props":7233,"children":7234},{"style":227},[7235],{"type":179,"value":2103},{"type":173,"tag":220,"props":7237,"children":7238},{"style":233},[7239],{"type":179,"value":508},{"type":173,"tag":220,"props":7241,"children":7242},{"style":227},[7243],{"type":179,"value":513},{"type":173,"tag":220,"props":7245,"children":7246},{"style":281},[7247],{"type":179,"value":7248},"value\n",{"type":173,"tag":220,"props":7250,"children":7251},{"class":222,"line":387},[7252],{"type":173,"tag":220,"props":7253,"children":7254},{"emptyLinePlaceholder":381},[7255],{"type":179,"value":384},{"type":173,"tag":220,"props":7257,"children":7258},{"class":222,"line":404},[7259],{"type":173,"tag":220,"props":7260,"children":7261},{"style":1167},[7262],{"type":179,"value":7263},"        // We need to create a wrapper, because\n",{"type":173,"tag":220,"props":7265,"children":7266},{"class":222,"line":424},[7267],{"type":173,"tag":220,"props":7268,"children":7269},{"style":1167},[7270],{"type":179,"value":7271},"        // the returned code from highlight.js\n",{"type":173,"tag":220,"props":7273,"children":7274},{"class":222,"line":458},[7275],{"type":173,"tag":220,"props":7276,"children":7277},{"style":1167},[7278],{"type":179,"value":7279},"        // is only the highlighted code.\n",{"type":173,"tag":220,"props":7281,"children":7282},{"class":222,"line":526},[7283,7288,7293,7298,7303,7308,7312,7317,7321,7326,7330,7335],{"type":173,"tag":220,"props":7284,"children":7285},{"style":408},[7286],{"type":179,"value":7287},"        return",{"type":173,"tag":220,"props":7289,"children":7290},{"style":227},[7291],{"type":179,"value":7292}," `",{"type":173,"tag":220,"props":7294,"children":7295},{"style":329},[7296],{"type":179,"value":7297},"\u003Cpre>\u003Ccode class=\"hljs ",{"type":173,"tag":220,"props":7299,"children":7300},{"style":227},[7301],{"type":179,"value":7302},"${",{"type":173,"tag":220,"props":7304,"children":7305},{"style":281},[7306],{"type":179,"value":7307},"lang",{"type":173,"tag":220,"props":7309,"children":7310},{"style":227},[7311],{"type":179,"value":1658},{"type":173,"tag":220,"props":7313,"children":7314},{"style":329},[7315],{"type":179,"value":7316},"\">",{"type":173,"tag":220,"props":7318,"children":7319},{"style":227},[7320],{"type":179,"value":7302},{"type":173,"tag":220,"props":7322,"children":7323},{"style":281},[7324],{"type":179,"value":7325},"highlightedCode",{"type":173,"tag":220,"props":7327,"children":7328},{"style":227},[7329],{"type":179,"value":1658},{"type":173,"tag":220,"props":7331,"children":7332},{"style":329},[7333],{"type":179,"value":7334},"\u003C/code>\u003C/pre>",{"type":173,"tag":220,"props":7336,"children":7337},{"style":227},[7338],{"type":179,"value":7339},"`\n",{"type":173,"tag":220,"props":7341,"children":7342},{"class":222,"line":534},[7343],{"type":173,"tag":220,"props":7344,"children":7345},{"style":227},[7346],{"type":179,"value":6318},{"type":173,"tag":220,"props":7348,"children":7349},{"class":222,"line":547},[7350],{"type":173,"tag":220,"props":7351,"children":7352},{"style":227},[7353],{"type":179,"value":562},{"type":173,"tag":220,"props":7355,"children":7356},{"class":222,"line":556},[7357],{"type":173,"tag":220,"props":7358,"children":7359},{"style":227},[7360],{"type":179,"value":571},{"type":173,"tag":220,"props":7362,"children":7363},{"class":222,"line":565},[7364],{"type":173,"tag":220,"props":7365,"children":7366},{"style":227},[7367],{"type":179,"value":580},{"type":173,"tag":174,"props":7369,"children":7370},{"type":176},[7371],{"type":173,"tag":196,"props":7372,"children":7373},{},[7374,7376,7380],{"type":179,"value":7375},"When ",{"type":173,"tag":202,"props":7377,"children":7378},{"className":167},[7379],{"type":179,"value":7008},{"type":179,"value":7381}," is defined, it will automatically disable the inclusion of the Prism theme.",{"type":173,"tag":174,"props":7383,"children":7384},{"type":3050},[7385],{"type":173,"tag":196,"props":7386,"children":7387},{},[7388,7390,7394],{"type":179,"value":7389},"Don't forget to add the corresponding style manually if you define ",{"type":173,"tag":202,"props":7391,"children":7392},{"className":167},[7393],{"type":179,"value":7008},{"type":179,"value":513},{"type":173,"tag":196,"props":7396,"children":7397},{},[7398,7400,7404,7405,7412,7414,7419,7420,7425,7426,7431],{"type":179,"value":7399},"It returns a ",{"type":173,"tag":202,"props":7401,"children":7402},{"className":167},[7403],{"type":179,"value":653},{"type":179,"value":2926},{"type":173,"tag":660,"props":7406,"children":7409},{"href":7407,"rel":7408},"https://github.com/syntax-tree/hast",[1191],[7410],{"type":179,"value":7411},"HAST",{"type":179,"value":7413}," (Hypertext Abstract Syntax Tree). You can build HAST by passing the 4th argument. It consits of ",{"type":173,"tag":202,"props":7415,"children":7416},{"className":167},[7417],{"type":179,"value":7418},"h",{"type":179,"value":1956},{"type":173,"tag":202,"props":7421,"children":7422},{"className":167},[7423],{"type":179,"value":7424},"node",{"type":179,"value":4247},{"type":173,"tag":202,"props":7427,"children":7428},{"className":167},[7429],{"type":179,"value":7430},"u",{"type":179,"value":513},{"type":173,"tag":210,"props":7433,"children":7435},{"className":1629,"code":7434,"filename":4956,"language":1631,"meta":167,"style":167},"import highlightjs from 'highlight.js'\n\nexport default {\n  content: {\n    markdown: {\n      highlighter(rawCode, lang, _, { h, node, u }) {\n        const highlightedCode = highlightjs.highlight(rawCode, { language: lang }).value\n\n        // We can use ast helper to create the wrapper\n        const childs = []\n        childs.push(\n          h(node, 'pre', [\n            h(node, 'code', { className: ['hljs', lang] }, [\n              u('raw', highlightedCode)\n            ])\n          ])\n        )\n\n        return h(\n          node,\n          'div',\n          { className: 'highlighted-with-highlightjs' },\n          childs\n        )\n      }\n    }\n  }\n}\n",[7436],{"type":173,"tag":202,"props":7437,"children":7438},{"__ignoreMap":167},[7439,7466,7473,7488,7503,7518,7589,7660,7667,7675,7696,7718,7758,7845,7882,7890,7898,7906,7913,7929,7942,7963,7998,8007,8015,8023,8031,8039],{"type":173,"tag":220,"props":7440,"children":7441},{"class":222,"line":223},[7442,7446,7450,7454,7458,7462],{"type":173,"tag":220,"props":7443,"children":7444},{"style":408},[7445],{"type":179,"value":7063},{"type":173,"tag":220,"props":7447,"children":7448},{"style":281},[7449],{"type":179,"value":7068},{"type":173,"tag":220,"props":7451,"children":7452},{"style":408},[7453],{"type":179,"value":7073},{"type":173,"tag":220,"props":7455,"children":7456},{"style":227},[7457],{"type":179,"value":2089},{"type":173,"tag":220,"props":7459,"children":7460},{"style":329},[7461],{"type":179,"value":7047},{"type":173,"tag":220,"props":7463,"children":7464},{"style":227},[7465],{"type":179,"value":4201},{"type":173,"tag":220,"props":7467,"children":7468},{"class":222,"line":244},[7469],{"type":173,"tag":220,"props":7470,"children":7471},{"emptyLinePlaceholder":381},[7472],{"type":179,"value":384},{"type":173,"tag":220,"props":7474,"children":7475},{"class":222,"line":262},[7476,7480,7484],{"type":173,"tag":220,"props":7477,"children":7478},{"style":408},[7479],{"type":179,"value":411},{"type":173,"tag":220,"props":7481,"children":7482},{"style":408},[7483],{"type":179,"value":416},{"type":173,"tag":220,"props":7485,"children":7486},{"style":227},[7487],{"type":179,"value":421},{"type":173,"tag":220,"props":7489,"children":7490},{"class":222,"line":300},[7491,7495,7499],{"type":173,"tag":220,"props":7492,"children":7493},{"style":233},[7494],{"type":179,"value":4987},{"type":173,"tag":220,"props":7496,"children":7497},{"style":227},[7498],{"type":179,"value":2084},{"type":173,"tag":220,"props":7500,"children":7501},{"style":227},[7502],{"type":179,"value":421},{"type":173,"tag":220,"props":7504,"children":7505},{"class":222,"line":344},[7506,7510,7514],{"type":173,"tag":220,"props":7507,"children":7508},{"style":233},[7509],{"type":179,"value":5710},{"type":173,"tag":220,"props":7511,"children":7512},{"style":227},[7513],{"type":179,"value":2084},{"type":173,"tag":220,"props":7515,"children":7516},{"style":227},[7517],{"type":179,"value":421},{"type":173,"tag":220,"props":7519,"children":7520},{"class":222,"line":361},[7521,7525,7529,7533,7537,7541,7545,7550,7554,7558,7563,7567,7572,7576,7581,7585],{"type":173,"tag":220,"props":7522,"children":7523},{"style":233},[7524],{"type":179,"value":7145},{"type":173,"tag":220,"props":7526,"children":7527},{"style":227},[7528],{"type":179,"value":489},{"type":173,"tag":220,"props":7530,"children":7531},{"style":443},[7532],{"type":179,"value":7154},{"type":173,"tag":220,"props":7534,"children":7535},{"style":227},[7536],{"type":179,"value":1812},{"type":173,"tag":220,"props":7538,"children":7539},{"style":443},[7540],{"type":179,"value":7163},{"type":173,"tag":220,"props":7542,"children":7543},{"style":227},[7544],{"type":179,"value":1812},{"type":173,"tag":220,"props":7546,"children":7547},{"style":443},[7548],{"type":179,"value":7549}," _",{"type":173,"tag":220,"props":7551,"children":7552},{"style":227},[7553],{"type":179,"value":1812},{"type":173,"tag":220,"props":7555,"children":7556},{"style":227},[7557],{"type":179,"value":1648},{"type":173,"tag":220,"props":7559,"children":7560},{"style":443},[7561],{"type":179,"value":7562}," h",{"type":173,"tag":220,"props":7564,"children":7565},{"style":227},[7566],{"type":179,"value":1812},{"type":173,"tag":220,"props":7568,"children":7569},{"style":443},[7570],{"type":179,"value":7571}," node",{"type":173,"tag":220,"props":7573,"children":7574},{"style":227},[7575],{"type":179,"value":1812},{"type":173,"tag":220,"props":7577,"children":7578},{"style":443},[7579],{"type":179,"value":7580}," u",{"type":173,"tag":220,"props":7582,"children":7583},{"style":227},[7584],{"type":179,"value":451},{"type":173,"tag":220,"props":7586,"children":7587},{"style":227},[7588],{"type":179,"value":421},{"type":173,"tag":220,"props":7590,"children":7591},{"class":222,"line":377},[7592,7596,7600,7604,7608,7612,7616,7620,7624,7628,7632,7636,7640,7644,7648,7652,7656],{"type":173,"tag":220,"props":7593,"children":7594},{"style":313},[7595],{"type":179,"value":7179},{"type":173,"tag":220,"props":7597,"children":7598},{"style":281},[7599],{"type":179,"value":7184},{"type":173,"tag":220,"props":7601,"children":7602},{"style":227},[7603],{"type":179,"value":474},{"type":173,"tag":220,"props":7605,"children":7606},{"style":281},[7607],{"type":179,"value":7193},{"type":173,"tag":220,"props":7609,"children":7610},{"style":227},[7611],{"type":179,"value":513},{"type":173,"tag":220,"props":7613,"children":7614},{"style":482},[7615],{"type":179,"value":7202},{"type":173,"tag":220,"props":7617,"children":7618},{"style":233},[7619],{"type":179,"value":489},{"type":173,"tag":220,"props":7621,"children":7622},{"style":281},[7623],{"type":179,"value":7154},{"type":173,"tag":220,"props":7625,"children":7626},{"style":227},[7627],{"type":179,"value":1812},{"type":173,"tag":220,"props":7629,"children":7630},{"style":227},[7631],{"type":179,"value":1648},{"type":173,"tag":220,"props":7633,"children":7634},{"style":233},[7635],{"type":179,"value":7223},{"type":173,"tag":220,"props":7637,"children":7638},{"style":227},[7639],{"type":179,"value":2084},{"type":173,"tag":220,"props":7641,"children":7642},{"style":281},[7643],{"type":179,"value":7163},{"type":173,"tag":220,"props":7645,"children":7646},{"style":227},[7647],{"type":179,"value":2103},{"type":173,"tag":220,"props":7649,"children":7650},{"style":233},[7651],{"type":179,"value":508},{"type":173,"tag":220,"props":7653,"children":7654},{"style":227},[7655],{"type":179,"value":513},{"type":173,"tag":220,"props":7657,"children":7658},{"style":281},[7659],{"type":179,"value":7248},{"type":173,"tag":220,"props":7661,"children":7662},{"class":222,"line":387},[7663],{"type":173,"tag":220,"props":7664,"children":7665},{"emptyLinePlaceholder":381},[7666],{"type":179,"value":384},{"type":173,"tag":220,"props":7668,"children":7669},{"class":222,"line":404},[7670],{"type":173,"tag":220,"props":7671,"children":7672},{"style":1167},[7673],{"type":179,"value":7674},"        // We can use ast helper to create the wrapper\n",{"type":173,"tag":220,"props":7676,"children":7677},{"class":222,"line":424},[7678,7682,7687,7691],{"type":173,"tag":220,"props":7679,"children":7680},{"style":313},[7681],{"type":179,"value":7179},{"type":173,"tag":220,"props":7683,"children":7684},{"style":281},[7685],{"type":179,"value":7686}," childs",{"type":173,"tag":220,"props":7688,"children":7689},{"style":227},[7690],{"type":179,"value":474},{"type":173,"tag":220,"props":7692,"children":7693},{"style":233},[7694],{"type":179,"value":7695}," []\n",{"type":173,"tag":220,"props":7697,"children":7698},{"class":222,"line":458},[7699,7704,7708,7713],{"type":173,"tag":220,"props":7700,"children":7701},{"style":281},[7702],{"type":179,"value":7703},"        childs",{"type":173,"tag":220,"props":7705,"children":7706},{"style":227},[7707],{"type":179,"value":513},{"type":173,"tag":220,"props":7709,"children":7710},{"style":482},[7711],{"type":179,"value":7712},"push",{"type":173,"tag":220,"props":7714,"children":7715},{"style":233},[7716],{"type":179,"value":7717},"(\n",{"type":173,"tag":220,"props":7719,"children":7720},{"class":222,"line":526},[7721,7726,7730,7734,7738,7742,7746,7750,7754],{"type":173,"tag":220,"props":7722,"children":7723},{"style":482},[7724],{"type":179,"value":7725},"          h",{"type":173,"tag":220,"props":7727,"children":7728},{"style":233},[7729],{"type":179,"value":489},{"type":173,"tag":220,"props":7731,"children":7732},{"style":281},[7733],{"type":179,"value":7424},{"type":173,"tag":220,"props":7735,"children":7736},{"style":227},[7737],{"type":179,"value":1812},{"type":173,"tag":220,"props":7739,"children":7740},{"style":227},[7741],{"type":179,"value":2089},{"type":173,"tag":220,"props":7743,"children":7744},{"style":329},[7745],{"type":179,"value":210},{"type":173,"tag":220,"props":7747,"children":7748},{"style":227},[7749],{"type":179,"value":494},{"type":173,"tag":220,"props":7751,"children":7752},{"style":227},[7753],{"type":179,"value":1812},{"type":173,"tag":220,"props":7755,"children":7756},{"style":233},[7757],{"type":179,"value":5969},{"type":173,"tag":220,"props":7759,"children":7760},{"class":222,"line":534},[7761,7766,7770,7774,7778,7782,7786,7790,7794,7798,7803,7807,7811,7815,7820,7824,7828,7832,7836,7841],{"type":173,"tag":220,"props":7762,"children":7763},{"style":482},[7764],{"type":179,"value":7765},"            h",{"type":173,"tag":220,"props":7767,"children":7768},{"style":233},[7769],{"type":179,"value":489},{"type":173,"tag":220,"props":7771,"children":7772},{"style":281},[7773],{"type":179,"value":7424},{"type":173,"tag":220,"props":7775,"children":7776},{"style":227},[7777],{"type":179,"value":1812},{"type":173,"tag":220,"props":7779,"children":7780},{"style":227},[7781],{"type":179,"value":2089},{"type":173,"tag":220,"props":7783,"children":7784},{"style":329},[7785],{"type":179,"value":202},{"type":173,"tag":220,"props":7787,"children":7788},{"style":227},[7789],{"type":179,"value":494},{"type":173,"tag":220,"props":7791,"children":7792},{"style":227},[7793],{"type":179,"value":1812},{"type":173,"tag":220,"props":7795,"children":7796},{"style":227},[7797],{"type":179,"value":1648},{"type":173,"tag":220,"props":7799,"children":7800},{"style":233},[7801],{"type":179,"value":7802}," className",{"type":173,"tag":220,"props":7804,"children":7805},{"style":227},[7806],{"type":179,"value":2084},{"type":173,"tag":220,"props":7808,"children":7809},{"style":233},[7810],{"type":179,"value":2475},{"type":173,"tag":220,"props":7812,"children":7813},{"style":227},[7814],{"type":179,"value":494},{"type":173,"tag":220,"props":7816,"children":7817},{"style":329},[7818],{"type":179,"value":7819},"hljs",{"type":173,"tag":220,"props":7821,"children":7822},{"style":227},[7823],{"type":179,"value":494},{"type":173,"tag":220,"props":7825,"children":7826},{"style":227},[7827],{"type":179,"value":1812},{"type":173,"tag":220,"props":7829,"children":7830},{"style":281},[7831],{"type":179,"value":7163},{"type":173,"tag":220,"props":7833,"children":7834},{"style":233},[7835],{"type":179,"value":2510},{"type":173,"tag":220,"props":7837,"children":7838},{"style":227},[7839],{"type":179,"value":7840},"},",{"type":173,"tag":220,"props":7842,"children":7843},{"style":233},[7844],{"type":179,"value":5969},{"type":173,"tag":220,"props":7846,"children":7847},{"class":222,"line":547},[7848,7853,7857,7861,7866,7870,7874,7878],{"type":173,"tag":220,"props":7849,"children":7850},{"style":482},[7851],{"type":179,"value":7852},"              u",{"type":173,"tag":220,"props":7854,"children":7855},{"style":233},[7856],{"type":179,"value":489},{"type":173,"tag":220,"props":7858,"children":7859},{"style":227},[7860],{"type":179,"value":494},{"type":173,"tag":220,"props":7862,"children":7863},{"style":329},[7864],{"type":179,"value":7865},"raw",{"type":173,"tag":220,"props":7867,"children":7868},{"style":227},[7869],{"type":179,"value":494},{"type":173,"tag":220,"props":7871,"children":7872},{"style":227},[7873],{"type":179,"value":1812},{"type":173,"tag":220,"props":7875,"children":7876},{"style":281},[7877],{"type":179,"value":7184},{"type":173,"tag":220,"props":7879,"children":7880},{"style":233},[7881],{"type":179,"value":3944},{"type":173,"tag":220,"props":7883,"children":7884},{"class":222,"line":556},[7885],{"type":173,"tag":220,"props":7886,"children":7887},{"style":233},[7888],{"type":179,"value":7889},"            ])\n",{"type":173,"tag":220,"props":7891,"children":7892},{"class":222,"line":565},[7893],{"type":173,"tag":220,"props":7894,"children":7895},{"style":233},[7896],{"type":179,"value":7897},"          ])\n",{"type":173,"tag":220,"props":7899,"children":7900},{"class":222,"line":574},[7901],{"type":173,"tag":220,"props":7902,"children":7903},{"style":233},[7904],{"type":179,"value":7905},"        )\n",{"type":173,"tag":220,"props":7907,"children":7908},{"class":222,"line":583},[7909],{"type":173,"tag":220,"props":7910,"children":7911},{"emptyLinePlaceholder":381},[7912],{"type":179,"value":384},{"type":173,"tag":220,"props":7914,"children":7916},{"class":222,"line":7915},19,[7917,7921,7925],{"type":173,"tag":220,"props":7918,"children":7919},{"style":408},[7920],{"type":179,"value":7287},{"type":173,"tag":220,"props":7922,"children":7923},{"style":482},[7924],{"type":179,"value":7562},{"type":173,"tag":220,"props":7926,"children":7927},{"style":233},[7928],{"type":179,"value":7717},{"type":173,"tag":220,"props":7930,"children":7932},{"class":222,"line":7931},20,[7933,7938],{"type":173,"tag":220,"props":7934,"children":7935},{"style":281},[7936],{"type":179,"value":7937},"          node",{"type":173,"tag":220,"props":7939,"children":7940},{"style":227},[7941],{"type":179,"value":4176},{"type":173,"tag":220,"props":7943,"children":7945},{"class":222,"line":7944},21,[7946,7951,7955,7959],{"type":173,"tag":220,"props":7947,"children":7948},{"style":227},[7949],{"type":179,"value":7950},"          '",{"type":173,"tag":220,"props":7952,"children":7953},{"style":329},[7954],{"type":179,"value":1019},{"type":173,"tag":220,"props":7956,"children":7957},{"style":227},[7958],{"type":179,"value":494},{"type":173,"tag":220,"props":7960,"children":7961},{"style":227},[7962],{"type":179,"value":4176},{"type":173,"tag":220,"props":7964,"children":7966},{"class":222,"line":7965},22,[7967,7972,7976,7980,7984,7989,7993],{"type":173,"tag":220,"props":7968,"children":7969},{"style":227},[7970],{"type":179,"value":7971},"          {",{"type":173,"tag":220,"props":7973,"children":7974},{"style":233},[7975],{"type":179,"value":7802},{"type":173,"tag":220,"props":7977,"children":7978},{"style":227},[7979],{"type":179,"value":2084},{"type":173,"tag":220,"props":7981,"children":7982},{"style":227},[7983],{"type":179,"value":2089},{"type":173,"tag":220,"props":7985,"children":7986},{"style":329},[7987],{"type":179,"value":7988},"highlighted-with-highlightjs",{"type":173,"tag":220,"props":7990,"children":7991},{"style":227},[7992],{"type":179,"value":494},{"type":173,"tag":220,"props":7994,"children":7995},{"style":227},[7996],{"type":179,"value":7997}," },\n",{"type":173,"tag":220,"props":7999,"children":8001},{"class":222,"line":8000},23,[8002],{"type":173,"tag":220,"props":8003,"children":8004},{"style":281},[8005],{"type":179,"value":8006},"          childs\n",{"type":173,"tag":220,"props":8008,"children":8010},{"class":222,"line":8009},24,[8011],{"type":173,"tag":220,"props":8012,"children":8013},{"style":233},[8014],{"type":179,"value":7905},{"type":173,"tag":220,"props":8016,"children":8018},{"class":222,"line":8017},25,[8019],{"type":173,"tag":220,"props":8020,"children":8021},{"style":227},[8022],{"type":179,"value":6318},{"type":173,"tag":220,"props":8024,"children":8026},{"class":222,"line":8025},26,[8027],{"type":173,"tag":220,"props":8028,"children":8029},{"style":227},[8030],{"type":179,"value":562},{"type":173,"tag":220,"props":8032,"children":8034},{"class":222,"line":8033},27,[8035],{"type":173,"tag":220,"props":8036,"children":8037},{"style":227},[8038],{"type":179,"value":571},{"type":173,"tag":220,"props":8040,"children":8042},{"class":222,"line":8041},28,[8043],{"type":173,"tag":220,"props":8044,"children":8045},{"style":227},[8046],{"type":179,"value":580},{"type":173,"tag":196,"props":8048,"children":8049},{},[8050,8052,8056],{"type":179,"value":8051},"After rendering with the ",{"type":173,"tag":202,"props":8053,"children":8054},{"className":167},[8055],{"type":179,"value":310},{"type":179,"value":8057}," component, it will look like this:",{"type":173,"tag":210,"props":8059,"children":8063},{"className":8060,"code":8061,"language":8062,"meta":167,"style":167},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cdiv class=\"highlighted-with-highlightjs\">\n  \u003Cpre class=\"language-\u003Clang>\">\n    \u003Ccode>\n      ...\n    \u003C/code>\n  \u003C/pre>\n\u003C/div>\n","html",[8064],{"type":173,"tag":202,"props":8065,"children":8066},{"__ignoreMap":167},[8067,8103,8139,8154,8162,8178,8193],{"type":173,"tag":220,"props":8068,"children":8069},{"class":222,"line":223},[8070,8074,8078,8083,8087,8091,8095,8099],{"type":173,"tag":220,"props":8071,"children":8072},{"style":227},[8073],{"type":179,"value":230},{"type":173,"tag":220,"props":8075,"children":8076},{"style":233},[8077],{"type":179,"value":1019},{"type":173,"tag":220,"props":8079,"children":8080},{"style":313},[8081],{"type":179,"value":8082}," class",{"type":173,"tag":220,"props":8084,"children":8085},{"style":227},[8086],{"type":179,"value":321},{"type":173,"tag":220,"props":8088,"children":8089},{"style":227},[8090],{"type":179,"value":326},{"type":173,"tag":220,"props":8092,"children":8093},{"style":329},[8094],{"type":179,"value":7988},{"type":173,"tag":220,"props":8096,"children":8097},{"style":227},[8098],{"type":179,"value":326},{"type":173,"tag":220,"props":8100,"children":8101},{"style":227},[8102],{"type":179,"value":241},{"type":173,"tag":220,"props":8104,"children":8105},{"class":222,"line":244},[8106,8110,8114,8118,8122,8126,8131,8135],{"type":173,"tag":220,"props":8107,"children":8108},{"style":227},[8109],{"type":179,"value":250},{"type":173,"tag":220,"props":8111,"children":8112},{"style":233},[8113],{"type":179,"value":210},{"type":173,"tag":220,"props":8115,"children":8116},{"style":313},[8117],{"type":179,"value":8082},{"type":173,"tag":220,"props":8119,"children":8120},{"style":227},[8121],{"type":179,"value":321},{"type":173,"tag":220,"props":8123,"children":8124},{"style":227},[8125],{"type":179,"value":326},{"type":173,"tag":220,"props":8127,"children":8128},{"style":329},[8129],{"type":179,"value":8130},"language-\u003Clang>",{"type":173,"tag":220,"props":8132,"children":8133},{"style":227},[8134],{"type":179,"value":326},{"type":173,"tag":220,"props":8136,"children":8137},{"style":227},[8138],{"type":179,"value":241},{"type":173,"tag":220,"props":8140,"children":8141},{"class":222,"line":262},[8142,8146,8150],{"type":173,"tag":220,"props":8143,"children":8144},{"style":227},[8145],{"type":179,"value":268},{"type":173,"tag":220,"props":8147,"children":8148},{"style":233},[8149],{"type":179,"value":202},{"type":173,"tag":220,"props":8151,"children":8152},{"style":227},[8153],{"type":179,"value":241},{"type":173,"tag":220,"props":8155,"children":8156},{"class":222,"line":300},[8157],{"type":173,"tag":220,"props":8158,"children":8159},{"style":281},[8160],{"type":179,"value":8161},"      ...\n",{"type":173,"tag":220,"props":8163,"children":8164},{"class":222,"line":344},[8165,8170,8174],{"type":173,"tag":220,"props":8166,"children":8167},{"style":227},[8168],{"type":179,"value":8169},"    \u003C/",{"type":173,"tag":220,"props":8171,"children":8172},{"style":233},[8173],{"type":179,"value":202},{"type":173,"tag":220,"props":8175,"children":8176},{"style":227},[8177],{"type":179,"value":241},{"type":173,"tag":220,"props":8179,"children":8180},{"class":222,"line":361},[8181,8185,8189],{"type":173,"tag":220,"props":8182,"children":8183},{"style":227},[8184],{"type":179,"value":350},{"type":173,"tag":220,"props":8186,"children":8187},{"style":233},[8188],{"type":179,"value":210},{"type":173,"tag":220,"props":8190,"children":8191},{"style":227},[8192],{"type":179,"value":241},{"type":173,"tag":220,"props":8194,"children":8195},{"class":222,"line":377},[8196,8200,8204],{"type":173,"tag":220,"props":8197,"children":8198},{"style":227},[8199],{"type":179,"value":289},{"type":173,"tag":220,"props":8201,"children":8202},{"style":233},[8203],{"type":179,"value":1019},{"type":173,"tag":220,"props":8205,"children":8206},{"style":227},[8207],{"type":179,"value":241},{"type":173,"tag":196,"props":8209,"children":8210},{},[8211],{"type":179,"value":8212},"You can also get the line highlight and file name value from the 3rd argument. Combining them with the HAST, you can pass it to the client.",{"type":173,"tag":210,"props":8214,"children":8216},{"className":1629,"code":8215,"filename":4956,"language":1631,"meta":167,"style":167},"import highlightjs from 'highlight.js'\n\nexport default {\n  content: {\n    markdown: {\n      highlighter(rawCode, lang, { lineHighlights, fileName }, { h, node, u }) {\n        const highlightedCode = highlightjs.highlight(rawCode, { language: lang }).value\n\n        const childs = []\n        const props = {\n          className: `language-${lang}`,\n          dataLine: lineHighlights,\n          dataFileName: fileName\n        }\n        childs.push(\n          h(node, 'pre', [\n            h(node, 'code', props, [\n              u('raw', highlightedCode)\n            ])\n          ])\n        )\n\n        return h(\n          node,\n          'div',\n          { className: 'highlighted-with-highlightjs' },\n          childs\n        )\n      }\n    }\n  }\n}\n",[8217],{"type":173,"tag":202,"props":8218,"children":8219},{"__ignoreMap":167},[8220,8247,8254,8269,8284,8299,8381,8452,8459,8478,8498,8536,8556,8573,8581,8600,8639,8686,8721,8728,8735,8742,8749,8764,8775,8794,8825,8832,8839,8847,8855,8863],{"type":173,"tag":220,"props":8221,"children":8222},{"class":222,"line":223},[8223,8227,8231,8235,8239,8243],{"type":173,"tag":220,"props":8224,"children":8225},{"style":408},[8226],{"type":179,"value":7063},{"type":173,"tag":220,"props":8228,"children":8229},{"style":281},[8230],{"type":179,"value":7068},{"type":173,"tag":220,"props":8232,"children":8233},{"style":408},[8234],{"type":179,"value":7073},{"type":173,"tag":220,"props":8236,"children":8237},{"style":227},[8238],{"type":179,"value":2089},{"type":173,"tag":220,"props":8240,"children":8241},{"style":329},[8242],{"type":179,"value":7047},{"type":173,"tag":220,"props":8244,"children":8245},{"style":227},[8246],{"type":179,"value":4201},{"type":173,"tag":220,"props":8248,"children":8249},{"class":222,"line":244},[8250],{"type":173,"tag":220,"props":8251,"children":8252},{"emptyLinePlaceholder":381},[8253],{"type":179,"value":384},{"type":173,"tag":220,"props":8255,"children":8256},{"class":222,"line":262},[8257,8261,8265],{"type":173,"tag":220,"props":8258,"children":8259},{"style":408},[8260],{"type":179,"value":411},{"type":173,"tag":220,"props":8262,"children":8263},{"style":408},[8264],{"type":179,"value":416},{"type":173,"tag":220,"props":8266,"children":8267},{"style":227},[8268],{"type":179,"value":421},{"type":173,"tag":220,"props":8270,"children":8271},{"class":222,"line":300},[8272,8276,8280],{"type":173,"tag":220,"props":8273,"children":8274},{"style":233},[8275],{"type":179,"value":4987},{"type":173,"tag":220,"props":8277,"children":8278},{"style":227},[8279],{"type":179,"value":2084},{"type":173,"tag":220,"props":8281,"children":8282},{"style":227},[8283],{"type":179,"value":421},{"type":173,"tag":220,"props":8285,"children":8286},{"class":222,"line":344},[8287,8291,8295],{"type":173,"tag":220,"props":8288,"children":8289},{"style":233},[8290],{"type":179,"value":5710},{"type":173,"tag":220,"props":8292,"children":8293},{"style":227},[8294],{"type":179,"value":2084},{"type":173,"tag":220,"props":8296,"children":8297},{"style":227},[8298],{"type":179,"value":421},{"type":173,"tag":220,"props":8300,"children":8301},{"class":222,"line":361},[8302,8306,8310,8314,8318,8322,8326,8330,8335,8339,8344,8349,8353,8357,8361,8365,8369,8373,8377],{"type":173,"tag":220,"props":8303,"children":8304},{"style":233},[8305],{"type":179,"value":7145},{"type":173,"tag":220,"props":8307,"children":8308},{"style":227},[8309],{"type":179,"value":489},{"type":173,"tag":220,"props":8311,"children":8312},{"style":443},[8313],{"type":179,"value":7154},{"type":173,"tag":220,"props":8315,"children":8316},{"style":227},[8317],{"type":179,"value":1812},{"type":173,"tag":220,"props":8319,"children":8320},{"style":443},[8321],{"type":179,"value":7163},{"type":173,"tag":220,"props":8323,"children":8324},{"style":227},[8325],{"type":179,"value":1812},{"type":173,"tag":220,"props":8327,"children":8328},{"style":227},[8329],{"type":179,"value":1648},{"type":173,"tag":220,"props":8331,"children":8332},{"style":443},[8333],{"type":179,"value":8334}," lineHighlights",{"type":173,"tag":220,"props":8336,"children":8337},{"style":227},[8338],{"type":179,"value":1812},{"type":173,"tag":220,"props":8340,"children":8341},{"style":443},[8342],{"type":179,"value":8343}," fileName",{"type":173,"tag":220,"props":8345,"children":8346},{"style":227},[8347],{"type":179,"value":8348}," },",{"type":173,"tag":220,"props":8350,"children":8351},{"style":227},[8352],{"type":179,"value":1648},{"type":173,"tag":220,"props":8354,"children":8355},{"style":443},[8356],{"type":179,"value":7562},{"type":173,"tag":220,"props":8358,"children":8359},{"style":227},[8360],{"type":179,"value":1812},{"type":173,"tag":220,"props":8362,"children":8363},{"style":443},[8364],{"type":179,"value":7571},{"type":173,"tag":220,"props":8366,"children":8367},{"style":227},[8368],{"type":179,"value":1812},{"type":173,"tag":220,"props":8370,"children":8371},{"style":443},[8372],{"type":179,"value":7580},{"type":173,"tag":220,"props":8374,"children":8375},{"style":227},[8376],{"type":179,"value":451},{"type":173,"tag":220,"props":8378,"children":8379},{"style":227},[8380],{"type":179,"value":421},{"type":173,"tag":220,"props":8382,"children":8383},{"class":222,"line":377},[8384,8388,8392,8396,8400,8404,8408,8412,8416,8420,8424,8428,8432,8436,8440,8444,8448],{"type":173,"tag":220,"props":8385,"children":8386},{"style":313},[8387],{"type":179,"value":7179},{"type":173,"tag":220,"props":8389,"children":8390},{"style":281},[8391],{"type":179,"value":7184},{"type":173,"tag":220,"props":8393,"children":8394},{"style":227},[8395],{"type":179,"value":474},{"type":173,"tag":220,"props":8397,"children":8398},{"style":281},[8399],{"type":179,"value":7193},{"type":173,"tag":220,"props":8401,"children":8402},{"style":227},[8403],{"type":179,"value":513},{"type":173,"tag":220,"props":8405,"children":8406},{"style":482},[8407],{"type":179,"value":7202},{"type":173,"tag":220,"props":8409,"children":8410},{"style":233},[8411],{"type":179,"value":489},{"type":173,"tag":220,"props":8413,"children":8414},{"style":281},[8415],{"type":179,"value":7154},{"type":173,"tag":220,"props":8417,"children":8418},{"style":227},[8419],{"type":179,"value":1812},{"type":173,"tag":220,"props":8421,"children":8422},{"style":227},[8423],{"type":179,"value":1648},{"type":173,"tag":220,"props":8425,"children":8426},{"style":233},[8427],{"type":179,"value":7223},{"type":173,"tag":220,"props":8429,"children":8430},{"style":227},[8431],{"type":179,"value":2084},{"type":173,"tag":220,"props":8433,"children":8434},{"style":281},[8435],{"type":179,"value":7163},{"type":173,"tag":220,"props":8437,"children":8438},{"style":227},[8439],{"type":179,"value":2103},{"type":173,"tag":220,"props":8441,"children":8442},{"style":233},[8443],{"type":179,"value":508},{"type":173,"tag":220,"props":8445,"children":8446},{"style":227},[8447],{"type":179,"value":513},{"type":173,"tag":220,"props":8449,"children":8450},{"style":281},[8451],{"type":179,"value":7248},{"type":173,"tag":220,"props":8453,"children":8454},{"class":222,"line":387},[8455],{"type":173,"tag":220,"props":8456,"children":8457},{"emptyLinePlaceholder":381},[8458],{"type":179,"value":384},{"type":173,"tag":220,"props":8460,"children":8461},{"class":222,"line":404},[8462,8466,8470,8474],{"type":173,"tag":220,"props":8463,"children":8464},{"style":313},[8465],{"type":179,"value":7179},{"type":173,"tag":220,"props":8467,"children":8468},{"style":281},[8469],{"type":179,"value":7686},{"type":173,"tag":220,"props":8471,"children":8472},{"style":227},[8473],{"type":179,"value":474},{"type":173,"tag":220,"props":8475,"children":8476},{"style":233},[8477],{"type":179,"value":7695},{"type":173,"tag":220,"props":8479,"children":8480},{"class":222,"line":424},[8481,8485,8490,8494],{"type":173,"tag":220,"props":8482,"children":8483},{"style":313},[8484],{"type":179,"value":7179},{"type":173,"tag":220,"props":8486,"children":8487},{"style":281},[8488],{"type":179,"value":8489}," props",{"type":173,"tag":220,"props":8491,"children":8492},{"style":227},[8493],{"type":179,"value":474},{"type":173,"tag":220,"props":8495,"children":8496},{"style":227},[8497],{"type":179,"value":421},{"type":173,"tag":220,"props":8499,"children":8500},{"class":222,"line":458},[8501,8506,8510,8514,8519,8523,8527,8532],{"type":173,"tag":220,"props":8502,"children":8503},{"style":233},[8504],{"type":179,"value":8505},"          className",{"type":173,"tag":220,"props":8507,"children":8508},{"style":227},[8509],{"type":179,"value":2084},{"type":173,"tag":220,"props":8511,"children":8512},{"style":227},[8513],{"type":179,"value":7292},{"type":173,"tag":220,"props":8515,"children":8516},{"style":329},[8517],{"type":179,"value":8518},"language-",{"type":173,"tag":220,"props":8520,"children":8521},{"style":227},[8522],{"type":179,"value":7302},{"type":173,"tag":220,"props":8524,"children":8525},{"style":281},[8526],{"type":179,"value":7307},{"type":173,"tag":220,"props":8528,"children":8529},{"style":227},[8530],{"type":179,"value":8531},"}`",{"type":173,"tag":220,"props":8533,"children":8534},{"style":227},[8535],{"type":179,"value":4176},{"type":173,"tag":220,"props":8537,"children":8538},{"class":222,"line":526},[8539,8544,8548,8552],{"type":173,"tag":220,"props":8540,"children":8541},{"style":233},[8542],{"type":179,"value":8543},"          dataLine",{"type":173,"tag":220,"props":8545,"children":8546},{"style":227},[8547],{"type":179,"value":2084},{"type":173,"tag":220,"props":8549,"children":8550},{"style":281},[8551],{"type":179,"value":8334},{"type":173,"tag":220,"props":8553,"children":8554},{"style":227},[8555],{"type":179,"value":4176},{"type":173,"tag":220,"props":8557,"children":8558},{"class":222,"line":534},[8559,8564,8568],{"type":173,"tag":220,"props":8560,"children":8561},{"style":233},[8562],{"type":179,"value":8563},"          dataFileName",{"type":173,"tag":220,"props":8565,"children":8566},{"style":227},[8567],{"type":179,"value":2084},{"type":173,"tag":220,"props":8569,"children":8570},{"style":281},[8571],{"type":179,"value":8572}," fileName\n",{"type":173,"tag":220,"props":8574,"children":8575},{"class":222,"line":547},[8576],{"type":173,"tag":220,"props":8577,"children":8578},{"style":227},[8579],{"type":179,"value":8580},"        }\n",{"type":173,"tag":220,"props":8582,"children":8583},{"class":222,"line":556},[8584,8588,8592,8596],{"type":173,"tag":220,"props":8585,"children":8586},{"style":281},[8587],{"type":179,"value":7703},{"type":173,"tag":220,"props":8589,"children":8590},{"style":227},[8591],{"type":179,"value":513},{"type":173,"tag":220,"props":8593,"children":8594},{"style":482},[8595],{"type":179,"value":7712},{"type":173,"tag":220,"props":8597,"children":8598},{"style":233},[8599],{"type":179,"value":7717},{"type":173,"tag":220,"props":8601,"children":8602},{"class":222,"line":565},[8603,8607,8611,8615,8619,8623,8627,8631,8635],{"type":173,"tag":220,"props":8604,"children":8605},{"style":482},[8606],{"type":179,"value":7725},{"type":173,"tag":220,"props":8608,"children":8609},{"style":233},[8610],{"type":179,"value":489},{"type":173,"tag":220,"props":8612,"children":8613},{"style":281},[8614],{"type":179,"value":7424},{"type":173,"tag":220,"props":8616,"children":8617},{"style":227},[8618],{"type":179,"value":1812},{"type":173,"tag":220,"props":8620,"children":8621},{"style":227},[8622],{"type":179,"value":2089},{"type":173,"tag":220,"props":8624,"children":8625},{"style":329},[8626],{"type":179,"value":210},{"type":173,"tag":220,"props":8628,"children":8629},{"style":227},[8630],{"type":179,"value":494},{"type":173,"tag":220,"props":8632,"children":8633},{"style":227},[8634],{"type":179,"value":1812},{"type":173,"tag":220,"props":8636,"children":8637},{"style":233},[8638],{"type":179,"value":5969},{"type":173,"tag":220,"props":8640,"children":8641},{"class":222,"line":574},[8642,8646,8650,8654,8658,8662,8666,8670,8674,8678,8682],{"type":173,"tag":220,"props":8643,"children":8644},{"style":482},[8645],{"type":179,"value":7765},{"type":173,"tag":220,"props":8647,"children":8648},{"style":233},[8649],{"type":179,"value":489},{"type":173,"tag":220,"props":8651,"children":8652},{"style":281},[8653],{"type":179,"value":7424},{"type":173,"tag":220,"props":8655,"children":8656},{"style":227},[8657],{"type":179,"value":1812},{"type":173,"tag":220,"props":8659,"children":8660},{"style":227},[8661],{"type":179,"value":2089},{"type":173,"tag":220,"props":8663,"children":8664},{"style":329},[8665],{"type":179,"value":202},{"type":173,"tag":220,"props":8667,"children":8668},{"style":227},[8669],{"type":179,"value":494},{"type":173,"tag":220,"props":8671,"children":8672},{"style":227},[8673],{"type":179,"value":1812},{"type":173,"tag":220,"props":8675,"children":8676},{"style":281},[8677],{"type":179,"value":8489},{"type":173,"tag":220,"props":8679,"children":8680},{"style":227},[8681],{"type":179,"value":1812},{"type":173,"tag":220,"props":8683,"children":8684},{"style":233},[8685],{"type":179,"value":5969},{"type":173,"tag":220,"props":8687,"children":8688},{"class":222,"line":583},[8689,8693,8697,8701,8705,8709,8713,8717],{"type":173,"tag":220,"props":8690,"children":8691},{"style":482},[8692],{"type":179,"value":7852},{"type":173,"tag":220,"props":8694,"children":8695},{"style":233},[8696],{"type":179,"value":489},{"type":173,"tag":220,"props":8698,"children":8699},{"style":227},[8700],{"type":179,"value":494},{"type":173,"tag":220,"props":8702,"children":8703},{"style":329},[8704],{"type":179,"value":7865},{"type":173,"tag":220,"props":8706,"children":8707},{"style":227},[8708],{"type":179,"value":494},{"type":173,"tag":220,"props":8710,"children":8711},{"style":227},[8712],{"type":179,"value":1812},{"type":173,"tag":220,"props":8714,"children":8715},{"style":281},[8716],{"type":179,"value":7184},{"type":173,"tag":220,"props":8718,"children":8719},{"style":233},[8720],{"type":179,"value":3944},{"type":173,"tag":220,"props":8722,"children":8723},{"class":222,"line":7915},[8724],{"type":173,"tag":220,"props":8725,"children":8726},{"style":233},[8727],{"type":179,"value":7889},{"type":173,"tag":220,"props":8729,"children":8730},{"class":222,"line":7931},[8731],{"type":173,"tag":220,"props":8732,"children":8733},{"style":233},[8734],{"type":179,"value":7897},{"type":173,"tag":220,"props":8736,"children":8737},{"class":222,"line":7944},[8738],{"type":173,"tag":220,"props":8739,"children":8740},{"style":233},[8741],{"type":179,"value":7905},{"type":173,"tag":220,"props":8743,"children":8744},{"class":222,"line":7965},[8745],{"type":173,"tag":220,"props":8746,"children":8747},{"emptyLinePlaceholder":381},[8748],{"type":179,"value":384},{"type":173,"tag":220,"props":8750,"children":8751},{"class":222,"line":8000},[8752,8756,8760],{"type":173,"tag":220,"props":8753,"children":8754},{"style":408},[8755],{"type":179,"value":7287},{"type":173,"tag":220,"props":8757,"children":8758},{"style":482},[8759],{"type":179,"value":7562},{"type":173,"tag":220,"props":8761,"children":8762},{"style":233},[8763],{"type":179,"value":7717},{"type":173,"tag":220,"props":8765,"children":8766},{"class":222,"line":8009},[8767,8771],{"type":173,"tag":220,"props":8768,"children":8769},{"style":281},[8770],{"type":179,"value":7937},{"type":173,"tag":220,"props":8772,"children":8773},{"style":227},[8774],{"type":179,"value":4176},{"type":173,"tag":220,"props":8776,"children":8777},{"class":222,"line":8017},[8778,8782,8786,8790],{"type":173,"tag":220,"props":8779,"children":8780},{"style":227},[8781],{"type":179,"value":7950},{"type":173,"tag":220,"props":8783,"children":8784},{"style":329},[8785],{"type":179,"value":1019},{"type":173,"tag":220,"props":8787,"children":8788},{"style":227},[8789],{"type":179,"value":494},{"type":173,"tag":220,"props":8791,"children":8792},{"style":227},[8793],{"type":179,"value":4176},{"type":173,"tag":220,"props":8795,"children":8796},{"class":222,"line":8025},[8797,8801,8805,8809,8813,8817,8821],{"type":173,"tag":220,"props":8798,"children":8799},{"style":227},[8800],{"type":179,"value":7971},{"type":173,"tag":220,"props":8802,"children":8803},{"style":233},[8804],{"type":179,"value":7802},{"type":173,"tag":220,"props":8806,"children":8807},{"style":227},[8808],{"type":179,"value":2084},{"type":173,"tag":220,"props":8810,"children":8811},{"style":227},[8812],{"type":179,"value":2089},{"type":173,"tag":220,"props":8814,"children":8815},{"style":329},[8816],{"type":179,"value":7988},{"type":173,"tag":220,"props":8818,"children":8819},{"style":227},[8820],{"type":179,"value":494},{"type":173,"tag":220,"props":8822,"children":8823},{"style":227},[8824],{"type":179,"value":7997},{"type":173,"tag":220,"props":8826,"children":8827},{"class":222,"line":8033},[8828],{"type":173,"tag":220,"props":8829,"children":8830},{"style":281},[8831],{"type":179,"value":8006},{"type":173,"tag":220,"props":8833,"children":8834},{"class":222,"line":8041},[8835],{"type":173,"tag":220,"props":8836,"children":8837},{"style":233},[8838],{"type":179,"value":7905},{"type":173,"tag":220,"props":8840,"children":8842},{"class":222,"line":8841},29,[8843],{"type":173,"tag":220,"props":8844,"children":8845},{"style":227},[8846],{"type":179,"value":6318},{"type":173,"tag":220,"props":8848,"children":8850},{"class":222,"line":8849},30,[8851],{"type":173,"tag":220,"props":8852,"children":8853},{"style":227},[8854],{"type":179,"value":562},{"type":173,"tag":220,"props":8856,"children":8858},{"class":222,"line":8857},31,[8859],{"type":173,"tag":220,"props":8860,"children":8861},{"style":227},[8862],{"type":179,"value":571},{"type":173,"tag":220,"props":8864,"children":8866},{"class":222,"line":8865},32,[8867],{"type":173,"tag":220,"props":8868,"children":8869},{"style":227},[8870],{"type":179,"value":580},{"type":173,"tag":196,"props":8872,"children":8873},{},[8874],{"type":179,"value":8875},"Then the returned code will look like this:",{"type":173,"tag":210,"props":8877,"children":8879},{"className":8060,"code":8878,"language":8062,"meta":167,"style":167},"\u003Cdiv class=\"highlighted-with-highlightjs\">\n  \u003Cpre class=\"language-\u003Clang>\" data-line=\"\u003Cline>\" data-file-name=\"\u003Cfile-name>\">\n    \u003Ccode>\n      ...\n    \u003C/code>\n  \u003C/pre>\n\u003C/div>\n",[8880],{"type":173,"tag":202,"props":8881,"children":8882},{"__ignoreMap":167},[8883,8918,8997,9012,9019,9034,9049],{"type":173,"tag":220,"props":8884,"children":8885},{"class":222,"line":223},[8886,8890,8894,8898,8902,8906,8910,8914],{"type":173,"tag":220,"props":8887,"children":8888},{"style":227},[8889],{"type":179,"value":230},{"type":173,"tag":220,"props":8891,"children":8892},{"style":233},[8893],{"type":179,"value":1019},{"type":173,"tag":220,"props":8895,"children":8896},{"style":313},[8897],{"type":179,"value":8082},{"type":173,"tag":220,"props":8899,"children":8900},{"style":227},[8901],{"type":179,"value":321},{"type":173,"tag":220,"props":8903,"children":8904},{"style":227},[8905],{"type":179,"value":326},{"type":173,"tag":220,"props":8907,"children":8908},{"style":329},[8909],{"type":179,"value":7988},{"type":173,"tag":220,"props":8911,"children":8912},{"style":227},[8913],{"type":179,"value":326},{"type":173,"tag":220,"props":8915,"children":8916},{"style":227},[8917],{"type":179,"value":241},{"type":173,"tag":220,"props":8919,"children":8920},{"class":222,"line":244},[8921,8925,8929,8933,8937,8941,8945,8949,8954,8958,8962,8967,8971,8976,8980,8984,8989,8993],{"type":173,"tag":220,"props":8922,"children":8923},{"style":227},[8924],{"type":179,"value":250},{"type":173,"tag":220,"props":8926,"children":8927},{"style":233},[8928],{"type":179,"value":210},{"type":173,"tag":220,"props":8930,"children":8931},{"style":313},[8932],{"type":179,"value":8082},{"type":173,"tag":220,"props":8934,"children":8935},{"style":227},[8936],{"type":179,"value":321},{"type":173,"tag":220,"props":8938,"children":8939},{"style":227},[8940],{"type":179,"value":326},{"type":173,"tag":220,"props":8942,"children":8943},{"style":329},[8944],{"type":179,"value":8130},{"type":173,"tag":220,"props":8946,"children":8947},{"style":227},[8948],{"type":179,"value":326},{"type":173,"tag":220,"props":8950,"children":8951},{"style":313},[8952],{"type":179,"value":8953}," data-line",{"type":173,"tag":220,"props":8955,"children":8956},{"style":227},[8957],{"type":179,"value":321},{"type":173,"tag":220,"props":8959,"children":8960},{"style":227},[8961],{"type":179,"value":326},{"type":173,"tag":220,"props":8963,"children":8964},{"style":329},[8965],{"type":179,"value":8966},"\u003Cline>",{"type":173,"tag":220,"props":8968,"children":8969},{"style":227},[8970],{"type":179,"value":326},{"type":173,"tag":220,"props":8972,"children":8973},{"style":313},[8974],{"type":179,"value":8975}," data-file-name",{"type":173,"tag":220,"props":8977,"children":8978},{"style":227},[8979],{"type":179,"value":321},{"type":173,"tag":220,"props":8981,"children":8982},{"style":227},[8983],{"type":179,"value":326},{"type":173,"tag":220,"props":8985,"children":8986},{"style":329},[8987],{"type":179,"value":8988},"\u003Cfile-name>",{"type":173,"tag":220,"props":8990,"children":8991},{"style":227},[8992],{"type":179,"value":326},{"type":173,"tag":220,"props":8994,"children":8995},{"style":227},[8996],{"type":179,"value":241},{"type":173,"tag":220,"props":8998,"children":8999},{"class":222,"line":262},[9000,9004,9008],{"type":173,"tag":220,"props":9001,"children":9002},{"style":227},[9003],{"type":179,"value":268},{"type":173,"tag":220,"props":9005,"children":9006},{"style":233},[9007],{"type":179,"value":202},{"type":173,"tag":220,"props":9009,"children":9010},{"style":227},[9011],{"type":179,"value":241},{"type":173,"tag":220,"props":9013,"children":9014},{"class":222,"line":300},[9015],{"type":173,"tag":220,"props":9016,"children":9017},{"style":281},[9018],{"type":179,"value":8161},{"type":173,"tag":220,"props":9020,"children":9021},{"class":222,"line":344},[9022,9026,9030],{"type":173,"tag":220,"props":9023,"children":9024},{"style":227},[9025],{"type":179,"value":8169},{"type":173,"tag":220,"props":9027,"children":9028},{"style":233},[9029],{"type":179,"value":202},{"type":173,"tag":220,"props":9031,"children":9032},{"style":227},[9033],{"type":179,"value":241},{"type":173,"tag":220,"props":9035,"children":9036},{"class":222,"line":361},[9037,9041,9045],{"type":173,"tag":220,"props":9038,"children":9039},{"style":227},[9040],{"type":179,"value":350},{"type":173,"tag":220,"props":9042,"children":9043},{"style":233},[9044],{"type":179,"value":210},{"type":173,"tag":220,"props":9046,"children":9047},{"style":227},[9048],{"type":179,"value":241},{"type":173,"tag":220,"props":9050,"children":9051},{"class":222,"line":377},[9052,9056,9060],{"type":173,"tag":220,"props":9053,"children":9054},{"style":227},[9055],{"type":179,"value":289},{"type":173,"tag":220,"props":9057,"children":9058},{"style":233},[9059],{"type":179,"value":1019},{"type":173,"tag":220,"props":9061,"children":9062},{"style":227},[9063],{"type":179,"value":241},{"type":173,"tag":1179,"props":9065,"children":9066},{},[9067],{"type":173,"tag":196,"props":9068,"children":9069},{},[9070,9072,9076,9077,9081,9082,9086,9088,9095,9096,9103,9104],{"type":179,"value":9071},"You can learn more about ",{"type":173,"tag":202,"props":9073,"children":9074},{"className":167},[9075],{"type":179,"value":7418},{"type":179,"value":1956},{"type":173,"tag":202,"props":9078,"children":9079},{"className":167},[9080],{"type":179,"value":7424},{"type":179,"value":4247},{"type":173,"tag":202,"props":9083,"children":9084},{"className":167},[9085],{"type":179,"value":7430},{"type":179,"value":9087}," from ",{"type":173,"tag":660,"props":9089,"children":9092},{"href":9090,"rel":9091},"https://github.com/syntax-tree/mdast-util-to-hast",[1191],[9093],{"type":179,"value":9094},"mdast-util-to-hast",{"type":179,"value":1956},{"type":173,"tag":660,"props":9097,"children":9100},{"href":9098,"rel":9099},"https://github.com/syntax-tree/unist#node",[1191],[9101],{"type":179,"value":9102},"Universal Syntax Tree",{"type":179,"value":4247},{"type":173,"tag":660,"props":9105,"children":9108},{"href":9106,"rel":9107},"https://github.com/syntax-tree/unist-builder",[1191],[9109],{"type":179,"value":9110},"unist-builder",{"type":173,"tag":196,"props":9112,"children":9113},{},[9114],{"type":179,"value":9115},"If you need to get the highlighter from promised-returned-package/function, you can do it this way:",{"type":173,"tag":210,"props":9117,"children":9119},{"className":1629,"code":9118,"filename":4956,"language":1631,"meta":167,"style":167},"import { getHighlighter } from 'example-highlighter'\n\nexport default {\n  content: {\n    markdown: {\n      async highlighter() {\n        const highlighter = await getHighlighter()\n\n        return (rawCode, lang) => {\n          return highlighter.highlight(rawCode, { language: lang })\n        }\n      }\n    }\n  }\n}\n",[9120],{"type":173,"tag":202,"props":9121,"children":9122},{"__ignoreMap":167},[9123,9161,9168,9183,9198,9213,9235,9262,9269,9305,9361,9368,9375,9382,9389],{"type":173,"tag":220,"props":9124,"children":9125},{"class":222,"line":223},[9126,9130,9134,9139,9143,9148,9152,9157],{"type":173,"tag":220,"props":9127,"children":9128},{"style":408},[9129],{"type":179,"value":7063},{"type":173,"tag":220,"props":9131,"children":9132},{"style":227},[9133],{"type":179,"value":1648},{"type":173,"tag":220,"props":9135,"children":9136},{"style":281},[9137],{"type":179,"value":9138}," getHighlighter",{"type":173,"tag":220,"props":9140,"children":9141},{"style":227},[9142],{"type":179,"value":2103},{"type":173,"tag":220,"props":9144,"children":9145},{"style":408},[9146],{"type":179,"value":9147}," from",{"type":173,"tag":220,"props":9149,"children":9150},{"style":227},[9151],{"type":179,"value":2089},{"type":173,"tag":220,"props":9153,"children":9154},{"style":329},[9155],{"type":179,"value":9156},"example-highlighter",{"type":173,"tag":220,"props":9158,"children":9159},{"style":227},[9160],{"type":179,"value":4201},{"type":173,"tag":220,"props":9162,"children":9163},{"class":222,"line":244},[9164],{"type":173,"tag":220,"props":9165,"children":9166},{"emptyLinePlaceholder":381},[9167],{"type":179,"value":384},{"type":173,"tag":220,"props":9169,"children":9170},{"class":222,"line":262},[9171,9175,9179],{"type":173,"tag":220,"props":9172,"children":9173},{"style":408},[9174],{"type":179,"value":411},{"type":173,"tag":220,"props":9176,"children":9177},{"style":408},[9178],{"type":179,"value":416},{"type":173,"tag":220,"props":9180,"children":9181},{"style":227},[9182],{"type":179,"value":421},{"type":173,"tag":220,"props":9184,"children":9185},{"class":222,"line":300},[9186,9190,9194],{"type":173,"tag":220,"props":9187,"children":9188},{"style":233},[9189],{"type":179,"value":4987},{"type":173,"tag":220,"props":9191,"children":9192},{"style":227},[9193],{"type":179,"value":2084},{"type":173,"tag":220,"props":9195,"children":9196},{"style":227},[9197],{"type":179,"value":421},{"type":173,"tag":220,"props":9199,"children":9200},{"class":222,"line":344},[9201,9205,9209],{"type":173,"tag":220,"props":9202,"children":9203},{"style":233},[9204],{"type":179,"value":5710},{"type":173,"tag":220,"props":9206,"children":9207},{"style":227},[9208],{"type":179,"value":2084},{"type":173,"tag":220,"props":9210,"children":9211},{"style":227},[9212],{"type":179,"value":421},{"type":173,"tag":220,"props":9214,"children":9215},{"class":222,"line":361},[9216,9221,9226,9231],{"type":173,"tag":220,"props":9217,"children":9218},{"style":313},[9219],{"type":179,"value":9220},"      async",{"type":173,"tag":220,"props":9222,"children":9223},{"style":233},[9224],{"type":179,"value":9225}," highlighter",{"type":173,"tag":220,"props":9227,"children":9228},{"style":227},[9229],{"type":179,"value":9230},"()",{"type":173,"tag":220,"props":9232,"children":9233},{"style":227},[9234],{"type":179,"value":421},{"type":173,"tag":220,"props":9236,"children":9237},{"class":222,"line":377},[9238,9242,9246,9250,9254,9258],{"type":173,"tag":220,"props":9239,"children":9240},{"style":313},[9241],{"type":179,"value":7179},{"type":173,"tag":220,"props":9243,"children":9244},{"style":281},[9245],{"type":179,"value":9225},{"type":173,"tag":220,"props":9247,"children":9248},{"style":227},[9249],{"type":179,"value":474},{"type":173,"tag":220,"props":9251,"children":9252},{"style":408},[9253],{"type":179,"value":479},{"type":173,"tag":220,"props":9255,"children":9256},{"style":482},[9257],{"type":179,"value":9138},{"type":173,"tag":220,"props":9259,"children":9260},{"style":233},[9261],{"type":179,"value":523},{"type":173,"tag":220,"props":9263,"children":9264},{"class":222,"line":387},[9265],{"type":173,"tag":220,"props":9266,"children":9267},{"emptyLinePlaceholder":381},[9268],{"type":179,"value":384},{"type":173,"tag":220,"props":9270,"children":9271},{"class":222,"line":404},[9272,9276,9281,9285,9289,9293,9297,9301],{"type":173,"tag":220,"props":9273,"children":9274},{"style":408},[9275],{"type":179,"value":7287},{"type":173,"tag":220,"props":9277,"children":9278},{"style":227},[9279],{"type":179,"value":9280}," (",{"type":173,"tag":220,"props":9282,"children":9283},{"style":443},[9284],{"type":179,"value":7154},{"type":173,"tag":220,"props":9286,"children":9287},{"style":227},[9288],{"type":179,"value":1812},{"type":173,"tag":220,"props":9290,"children":9291},{"style":443},[9292],{"type":179,"value":7163},{"type":173,"tag":220,"props":9294,"children":9295},{"style":227},[9296],{"type":179,"value":508},{"type":173,"tag":220,"props":9298,"children":9299},{"style":313},[9300],{"type":179,"value":4812},{"type":173,"tag":220,"props":9302,"children":9303},{"style":227},[9304],{"type":179,"value":421},{"type":173,"tag":220,"props":9306,"children":9307},{"class":222,"line":424},[9308,9313,9317,9321,9325,9329,9333,9337,9341,9345,9349,9353,9357],{"type":173,"tag":220,"props":9309,"children":9310},{"style":408},[9311],{"type":179,"value":9312},"          return",{"type":173,"tag":220,"props":9314,"children":9315},{"style":281},[9316],{"type":179,"value":9225},{"type":173,"tag":220,"props":9318,"children":9319},{"style":227},[9320],{"type":179,"value":513},{"type":173,"tag":220,"props":9322,"children":9323},{"style":482},[9324],{"type":179,"value":7202},{"type":173,"tag":220,"props":9326,"children":9327},{"style":233},[9328],{"type":179,"value":489},{"type":173,"tag":220,"props":9330,"children":9331},{"style":281},[9332],{"type":179,"value":7154},{"type":173,"tag":220,"props":9334,"children":9335},{"style":227},[9336],{"type":179,"value":1812},{"type":173,"tag":220,"props":9338,"children":9339},{"style":227},[9340],{"type":179,"value":1648},{"type":173,"tag":220,"props":9342,"children":9343},{"style":233},[9344],{"type":179,"value":7223},{"type":173,"tag":220,"props":9346,"children":9347},{"style":227},[9348],{"type":179,"value":2084},{"type":173,"tag":220,"props":9350,"children":9351},{"style":281},[9352],{"type":179,"value":7163},{"type":173,"tag":220,"props":9354,"children":9355},{"style":227},[9356],{"type":179,"value":2103},{"type":173,"tag":220,"props":9358,"children":9359},{"style":233},[9360],{"type":179,"value":3944},{"type":173,"tag":220,"props":9362,"children":9363},{"class":222,"line":458},[9364],{"type":173,"tag":220,"props":9365,"children":9366},{"style":227},[9367],{"type":179,"value":8580},{"type":173,"tag":220,"props":9369,"children":9370},{"class":222,"line":526},[9371],{"type":173,"tag":220,"props":9372,"children":9373},{"style":227},[9374],{"type":179,"value":6318},{"type":173,"tag":220,"props":9376,"children":9377},{"class":222,"line":534},[9378],{"type":173,"tag":220,"props":9379,"children":9380},{"style":227},[9381],{"type":179,"value":562},{"type":173,"tag":220,"props":9383,"children":9384},{"class":222,"line":547},[9385],{"type":173,"tag":220,"props":9386,"children":9387},{"style":227},[9388],{"type":179,"value":571},{"type":173,"tag":220,"props":9390,"children":9391},{"class":222,"line":556},[9392],{"type":173,"tag":220,"props":9393,"children":9394},{"style":227},[9395],{"type":179,"value":580},{"type":173,"tag":1179,"props":9397,"children":9398},{},[9399],{"type":173,"tag":196,"props":9400,"children":9401},{},[9402,9404,9410],{"type":179,"value":9403},"You can head over to ",{"type":173,"tag":660,"props":9405,"children":9407},{"href":9406},"/v1/community/snippets#custom-highlighter",[9408],{"type":179,"value":9409},"Snippets - Custom Highlighter",{"type":179,"value":9411}," section to see more example.",{"type":173,"tag":189,"props":9413,"children":9415},{"id":9414},"yaml",[9416],{"type":173,"tag":202,"props":9417,"children":9418},{"className":167},[9419],{"type":179,"value":9414},{"type":173,"tag":607,"props":9421,"children":9422},{},[9423,9431],{"type":173,"tag":611,"props":9424,"children":9425},{},[9426,9427],{"type":179,"value":623},{"type":173,"tag":202,"props":9428,"children":9429},{"className":167},[9430],{"type":179,"value":628},{"type":173,"tag":611,"props":9432,"children":9433},{},[9434,9435],{"type":179,"value":1366},{"type":173,"tag":202,"props":9436,"children":9437},{"className":167},[9438],{"type":179,"value":1399},{"type":173,"tag":196,"props":9440,"children":9441},{},[9442,9443,9448,9450,9455,9456,9461,9463,9469],{"type":179,"value":5609},{"type":173,"tag":202,"props":9444,"children":9445},{"className":167},[9446],{"type":179,"value":9447},"js-yaml",{"type":179,"value":9449}," to parse ",{"type":173,"tag":202,"props":9451,"children":9452},{"className":167},[9453],{"type":179,"value":9454},".yaml",{"type":179,"value":1956},{"type":173,"tag":202,"props":9457,"children":9458},{"className":167},[9459],{"type":179,"value":9460},".yml",{"type":179,"value":9462}," files. You can check here for ",{"type":173,"tag":660,"props":9464,"children":9467},{"href":9465,"rel":9466},"https://github.com/nodeca/js-yaml#api",[1191],[9468],{"type":179,"value":1379},{"type":179,"value":513},{"type":173,"tag":196,"props":9471,"children":9472},{},[9473,9475,9480],{"type":179,"value":9474},"Note that we force ",{"type":173,"tag":202,"props":9476,"children":9477},{"className":167},[9478],{"type":179,"value":9479},"json: true",{"type":179,"value":9481}," option.",{"type":173,"tag":189,"props":9483,"children":9485},{"id":9484},"xml",[9486],{"type":173,"tag":202,"props":9487,"children":9488},{"className":167},[9489],{"type":179,"value":9484},{"type":173,"tag":607,"props":9491,"children":9492},{},[9493,9501],{"type":173,"tag":611,"props":9494,"children":9495},{},[9496,9497],{"type":179,"value":623},{"type":173,"tag":202,"props":9498,"children":9499},{"className":167},[9500],{"type":179,"value":628},{"type":173,"tag":611,"props":9502,"children":9503},{},[9504,9505],{"type":179,"value":1366},{"type":173,"tag":202,"props":9506,"children":9507},{"className":167},[9508],{"type":179,"value":1399},{"type":173,"tag":196,"props":9510,"children":9511},{},[9512,9513,9518,9519,9524,9525,9531],{"type":179,"value":5609},{"type":173,"tag":202,"props":9514,"children":9515},{"className":167},[9516],{"type":179,"value":9517},"xml2js",{"type":179,"value":9449},{"type":173,"tag":202,"props":9520,"children":9521},{"className":167},[9522],{"type":179,"value":9523},".xml",{"type":179,"value":9462},{"type":173,"tag":660,"props":9526,"children":9529},{"href":9527,"rel":9528},"https://www.npmjs.com/package/xml2js#options",[1191],[9530],{"type":179,"value":1379},{"type":179,"value":513},{"type":173,"tag":189,"props":9533,"children":9535},{"id":9534},"csv",[9536],{"type":173,"tag":202,"props":9537,"children":9538},{"className":167},[9539],{"type":179,"value":9534},{"type":173,"tag":607,"props":9541,"children":9542},{},[9543,9551],{"type":173,"tag":611,"props":9544,"children":9545},{},[9546,9547],{"type":179,"value":623},{"type":173,"tag":202,"props":9548,"children":9549},{"className":167},[9550],{"type":179,"value":628},{"type":173,"tag":611,"props":9552,"children":9553},{},[9554,9555],{"type":179,"value":1366},{"type":173,"tag":202,"props":9556,"children":9557},{"className":167},[9558],{"type":179,"value":1399},{"type":173,"tag":196,"props":9560,"children":9561},{},[9562,9563,9568,9570,9576],{"type":179,"value":5609},{"type":173,"tag":202,"props":9564,"children":9565},{"className":167},[9566],{"type":179,"value":9567},"node-csvtojson",{"type":179,"value":9569}," to parse csv files. You can check here for ",{"type":173,"tag":660,"props":9571,"children":9574},{"href":9572,"rel":9573},"https://github.com/Keyang/node-csvtojson#parameters",[1191],[9575],{"type":179,"value":1379},{"type":179,"value":513},{"type":173,"tag":189,"props":9578,"children":9580},{"id":9579},"extendparser",[9581],{"type":173,"tag":202,"props":9582,"children":9583},{"className":167},[9584],{"type":179,"value":9585},"extendParser",{"type":173,"tag":607,"props":9587,"children":9588},{},[9589,9597],{"type":173,"tag":611,"props":9590,"children":9591},{},[9592,9593],{"type":179,"value":623},{"type":173,"tag":202,"props":9594,"children":9595},{"className":167},[9596],{"type":179,"value":628},{"type":173,"tag":611,"props":9598,"children":9599},{},[9600,9602],{"type":179,"value":9601},"Default ",{"type":173,"tag":202,"props":9603,"children":9604},{"className":167},[9605],{"type":179,"value":1399},{"type":173,"tag":196,"props":9607,"children":9608},{},[9609,9611,9616],{"type":179,"value":9610},"With this option you can define your own parsers for other file types. Also you can ",{"type":173,"tag":601,"props":9612,"children":9613},{},[9614],{"type":179,"value":9615},"overwrite",{"type":179,"value":9617}," the default parser!",{"type":173,"tag":196,"props":9619,"children":9620},{},[9621],{"type":179,"value":9622},"To add your custom parser write a function that gets as an argument the content of the file and returns the extracted data.",{"type":173,"tag":196,"props":9624,"children":9625},{},[9626],{"type":173,"tag":601,"props":9627,"children":9628},{},[9629],{"type":179,"value":4343},{"type":173,"tag":210,"props":9631,"children":9633},{"className":1629,"code":9632,"filename":4956,"language":1631,"meta":167,"style":167},"const parseTxt = file => file.split('\\n').map(line => line.trim())\n\n// in Config:\n\n{\n  extendParser: {\n    '.txt': parseTxt\n  }\n}\n",[9634],{"type":173,"tag":202,"props":9635,"children":9636},{"__ignoreMap":167},[9637,9736,9743,9751,9758,9765,9781,9808,9815],{"type":173,"tag":220,"props":9638,"children":9639},{"class":222,"line":223},[9640,9644,9649,9653,9658,9662,9666,9670,9675,9679,9683,9688,9692,9696,9700,9705,9709,9713,9717,9722,9726,9731],{"type":173,"tag":220,"props":9641,"children":9642},{"style":313},[9643],{"type":179,"value":1643},{"type":173,"tag":220,"props":9645,"children":9646},{"style":281},[9647],{"type":179,"value":9648}," parseTxt ",{"type":173,"tag":220,"props":9650,"children":9651},{"style":227},[9652],{"type":179,"value":321},{"type":173,"tag":220,"props":9654,"children":9655},{"style":443},[9656],{"type":179,"value":9657}," file",{"type":173,"tag":220,"props":9659,"children":9660},{"style":313},[9661],{"type":179,"value":4812},{"type":173,"tag":220,"props":9663,"children":9664},{"style":281},[9665],{"type":179,"value":9657},{"type":173,"tag":220,"props":9667,"children":9668},{"style":227},[9669],{"type":179,"value":513},{"type":173,"tag":220,"props":9671,"children":9672},{"style":482},[9673],{"type":179,"value":9674},"split",{"type":173,"tag":220,"props":9676,"children":9677},{"style":281},[9678],{"type":179,"value":489},{"type":173,"tag":220,"props":9680,"children":9681},{"style":227},[9682],{"type":179,"value":494},{"type":173,"tag":220,"props":9684,"children":9685},{"style":281},[9686],{"type":179,"value":9687},"\\n",{"type":173,"tag":220,"props":9689,"children":9690},{"style":227},[9691],{"type":179,"value":494},{"type":173,"tag":220,"props":9693,"children":9694},{"style":281},[9695],{"type":179,"value":508},{"type":173,"tag":220,"props":9697,"children":9698},{"style":227},[9699],{"type":179,"value":513},{"type":173,"tag":220,"props":9701,"children":9702},{"style":482},[9703],{"type":179,"value":9704},"map",{"type":173,"tag":220,"props":9706,"children":9707},{"style":281},[9708],{"type":179,"value":489},{"type":173,"tag":220,"props":9710,"children":9711},{"style":443},[9712],{"type":179,"value":222},{"type":173,"tag":220,"props":9714,"children":9715},{"style":313},[9716],{"type":179,"value":4812},{"type":173,"tag":220,"props":9718,"children":9719},{"style":281},[9720],{"type":179,"value":9721}," line",{"type":173,"tag":220,"props":9723,"children":9724},{"style":227},[9725],{"type":179,"value":513},{"type":173,"tag":220,"props":9727,"children":9728},{"style":482},[9729],{"type":179,"value":9730},"trim",{"type":173,"tag":220,"props":9732,"children":9733},{"style":281},[9734],{"type":179,"value":9735},"())\n",{"type":173,"tag":220,"props":9737,"children":9738},{"class":222,"line":244},[9739],{"type":173,"tag":220,"props":9740,"children":9741},{"emptyLinePlaceholder":381},[9742],{"type":179,"value":384},{"type":173,"tag":220,"props":9744,"children":9745},{"class":222,"line":262},[9746],{"type":173,"tag":220,"props":9747,"children":9748},{"style":1167},[9749],{"type":179,"value":9750},"// in Config:\n",{"type":173,"tag":220,"props":9752,"children":9753},{"class":222,"line":300},[9754],{"type":173,"tag":220,"props":9755,"children":9756},{"emptyLinePlaceholder":381},[9757],{"type":179,"value":384},{"type":173,"tag":220,"props":9759,"children":9760},{"class":222,"line":344},[9761],{"type":173,"tag":220,"props":9762,"children":9763},{"style":227},[9764],{"type":179,"value":4576},{"type":173,"tag":220,"props":9766,"children":9767},{"class":222,"line":361},[9768,9773,9777],{"type":173,"tag":220,"props":9769,"children":9770},{"style":1150},[9771],{"type":179,"value":9772},"  extendParser",{"type":173,"tag":220,"props":9774,"children":9775},{"style":227},[9776],{"type":179,"value":2084},{"type":173,"tag":220,"props":9778,"children":9779},{"style":227},[9780],{"type":179,"value":421},{"type":173,"tag":220,"props":9782,"children":9783},{"class":222,"line":377},[9784,9789,9794,9798,9803],{"type":173,"tag":220,"props":9785,"children":9786},{"style":227},[9787],{"type":179,"value":9788},"    '",{"type":173,"tag":220,"props":9790,"children":9791},{"style":329},[9792],{"type":179,"value":9793},".txt",{"type":173,"tag":220,"props":9795,"children":9796},{"style":227},[9797],{"type":179,"value":494},{"type":173,"tag":220,"props":9799,"children":9800},{"style":233},[9801],{"type":179,"value":9802},": ",{"type":173,"tag":220,"props":9804,"children":9805},{"style":281},[9806],{"type":179,"value":9807},"parseTxt\n",{"type":173,"tag":220,"props":9809,"children":9810},{"class":222,"line":387},[9811],{"type":173,"tag":220,"props":9812,"children":9813},{"style":227},[9814],{"type":179,"value":571},{"type":173,"tag":220,"props":9816,"children":9817},{"class":222,"line":404},[9818],{"type":173,"tag":220,"props":9819,"children":9820},{"style":227},[9821],{"type":179,"value":580},{"type":173,"tag":189,"props":9823,"children":9825},{"id":9824},"editor",[9826],{"type":173,"tag":202,"props":9827,"children":9828},{"className":167},[9829],{"type":179,"value":9824},{"type":173,"tag":196,"props":9831,"children":9832},{},[9833,9835,9839,9841,9847],{"type":179,"value":9834},"You can provide a custom editor for editing your markdown files in development. Set the ",{"type":173,"tag":202,"props":9836,"children":9837},{"className":167},[9838],{"type":179,"value":9824},{"type":179,"value":9840}," option to a path to your editor component. The code of the default editor you can find ",{"type":173,"tag":660,"props":9842,"children":9845},{"href":9843,"rel":9844},"https://github.com/nuxt/content/blob/v1/packages/content/templates/editor.vue",[1191],[9846],{"type":179,"value":5308},{"type":179,"value":513},{"type":173,"tag":210,"props":9849,"children":9851},{"className":1629,"code":9850,"filename":4956,"language":1631,"meta":167,"style":167},"content: {\n  editor: '~/path/to/editor/component.vue'\n}\n",[9852],{"type":173,"tag":202,"props":9853,"children":9854},{"__ignoreMap":167},[9855,9870,9895],{"type":173,"tag":220,"props":9856,"children":9857},{"class":222,"line":223},[9858,9862,9866],{"type":173,"tag":220,"props":9859,"children":9860},{"style":1150},[9861],{"type":179,"value":1295},{"type":173,"tag":220,"props":9863,"children":9864},{"style":227},[9865],{"type":179,"value":2084},{"type":173,"tag":220,"props":9867,"children":9868},{"style":227},[9869],{"type":179,"value":421},{"type":173,"tag":220,"props":9871,"children":9872},{"class":222,"line":244},[9873,9878,9882,9886,9891],{"type":173,"tag":220,"props":9874,"children":9875},{"style":1150},[9876],{"type":179,"value":9877},"  editor",{"type":173,"tag":220,"props":9879,"children":9880},{"style":227},[9881],{"type":179,"value":2084},{"type":173,"tag":220,"props":9883,"children":9884},{"style":227},[9885],{"type":179,"value":2089},{"type":173,"tag":220,"props":9887,"children":9888},{"style":329},[9889],{"type":179,"value":9890},"~/path/to/editor/component.vue",{"type":173,"tag":220,"props":9892,"children":9893},{"style":227},[9894],{"type":179,"value":4201},{"type":173,"tag":220,"props":9896,"children":9897},{"class":222,"line":262},[9898],{"type":173,"tag":220,"props":9899,"children":9900},{"style":227},[9901],{"type":179,"value":580},{"type":173,"tag":196,"props":9903,"children":9904},{},[9905],{"type":179,"value":9906},"Your component should implement the following:",{"type":173,"tag":9908,"props":9909,"children":9910},"ol",{},[9911,9921,9933],{"type":173,"tag":611,"props":9912,"children":9913},{},[9914,9919],{"type":173,"tag":202,"props":9915,"children":9916},{"className":167},[9917],{"type":179,"value":9918},"v-model",{"type":179,"value":9920}," for getting the markdown code.",{"type":173,"tag":611,"props":9922,"children":9923},{},[9924,9926,9931],{"type":179,"value":9925},"prop ",{"type":173,"tag":202,"props":9927,"children":9928},{"className":167},[9929],{"type":179,"value":9930},"isEditing",{"type":179,"value":9932}," is a boolean with the information if the editing is started and the component is shown. (this is optional)",{"type":173,"tag":611,"props":9934,"children":9935},{},[9936,9938],{"type":179,"value":9937},"when finished editing your component has to emit ",{"type":173,"tag":202,"props":9939,"children":9940},{"className":167},[9941],{"type":179,"value":9942},"endEdit",{"type":173,"tag":196,"props":9944,"children":9945},{},[9946,9948,9953],{"type":179,"value":9947},"You should be aware that you get the full markdown file content so this includes the front-matter. You can use ",{"type":173,"tag":202,"props":9949,"children":9950},{"className":167},[9951],{"type":179,"value":9952},"gray-matter",{"type":179,"value":9954}," to split and join the markdown and the front-matter.",{"type":173,"tag":189,"props":9956,"children":9958},{"id":9957},"usecache",[9959],{"type":173,"tag":202,"props":9960,"children":9961},{"className":167},[9962],{"type":179,"value":9963},"useCache",{"type":173,"tag":607,"props":9965,"children":9966},{},[9967,9975],{"type":173,"tag":611,"props":9968,"children":9969},{},[9970,9971],{"type":179,"value":623},{"type":173,"tag":202,"props":9972,"children":9973},{"className":167},[9974],{"type":179,"value":1429},{"type":173,"tag":611,"props":9976,"children":9977},{},[9978,9979],{"type":179,"value":1366},{"type":173,"tag":202,"props":9980,"children":9981},{"className":167},[9982],{"type":179,"value":1438},{"type":173,"tag":196,"props":9984,"children":9985},{},[9986,9987,9991,9993,9998,10000,10005],{"type":179,"value":7375},{"type":173,"tag":202,"props":9988,"children":9989},{"className":167},[9990],{"type":179,"value":5537},{"type":179,"value":9992},", the production server (",{"type":173,"tag":202,"props":9994,"children":9995},{"className":167},[9996],{"type":179,"value":9997},"nuxt start",{"type":179,"value":9999},") will use cached version of the content (generated after running ",{"type":173,"tag":202,"props":10001,"children":10002},{"className":167},[10003],{"type":179,"value":10004},"nuxt build",{"type":179,"value":10006},") instead of parsing files. This improves app startup time, but makes app unaware of any content changes.",{"type":173,"tag":182,"props":10008,"children":10010},{"id":10009},"defaults",[10011],{"type":179,"value":10012},"Defaults",{"type":173,"tag":210,"props":10014,"children":10016},{"className":1629,"code":10015,"filename":4956,"language":1631,"meta":167,"style":167},"export default {\n  content: {\n    editor: '~/.nuxt/content/editor.vue',\n    apiPrefix: '_content',\n    dir: 'content',\n    fullTextSearchFields: ['title', 'description', 'slug', 'text'],\n    nestedProperties: [],\n    liveEdit: true,\n    useCache: false,\n    markdown: {\n      remarkPlugins: [\n        'remark-squeeze-paragraphs',\n        'remark-slug',\n        'remark-autolink-headings',\n        'remark-external-links',\n        'remark-footnotes'\n      ],\n      rehypePlugins: [\n        'rehype-minify-whitespace',\n        'rehype-sort-attribute-values',\n        'rehype-sort-attributes',\n        'rehype-raw'\n      ],\n      prism: {\n        theme: 'prismjs/themes/prism.css'\n      }\n    },\n    yaml: {},\n    csv: {},\n    xml: {},\n    extendParser: {}\n  }\n}\n",[10017],{"type":173,"tag":202,"props":10018,"children":10019},{"__ignoreMap":167},[10020,10035,10050,10079,10108,10136,10221,10242,10262,10282,10297,10312,10332,10352,10372,10392,10408,10420,10436,10456,10476,10496,10512,10523,10539,10564,10571,10579,10596,10612,10628,10645,10652],{"type":173,"tag":220,"props":10021,"children":10022},{"class":222,"line":223},[10023,10027,10031],{"type":173,"tag":220,"props":10024,"children":10025},{"style":408},[10026],{"type":179,"value":411},{"type":173,"tag":220,"props":10028,"children":10029},{"style":408},[10030],{"type":179,"value":416},{"type":173,"tag":220,"props":10032,"children":10033},{"style":227},[10034],{"type":179,"value":421},{"type":173,"tag":220,"props":10036,"children":10037},{"class":222,"line":244},[10038,10042,10046],{"type":173,"tag":220,"props":10039,"children":10040},{"style":233},[10041],{"type":179,"value":4987},{"type":173,"tag":220,"props":10043,"children":10044},{"style":227},[10045],{"type":179,"value":2084},{"type":173,"tag":220,"props":10047,"children":10048},{"style":227},[10049],{"type":179,"value":421},{"type":173,"tag":220,"props":10051,"children":10052},{"class":222,"line":262},[10053,10058,10062,10066,10071,10075],{"type":173,"tag":220,"props":10054,"children":10055},{"style":233},[10056],{"type":179,"value":10057},"    editor",{"type":173,"tag":220,"props":10059,"children":10060},{"style":227},[10061],{"type":179,"value":2084},{"type":173,"tag":220,"props":10063,"children":10064},{"style":227},[10065],{"type":179,"value":2089},{"type":173,"tag":220,"props":10067,"children":10068},{"style":329},[10069],{"type":179,"value":10070},"~/.nuxt/content/editor.vue",{"type":173,"tag":220,"props":10072,"children":10073},{"style":227},[10074],{"type":179,"value":494},{"type":173,"tag":220,"props":10076,"children":10077},{"style":227},[10078],{"type":179,"value":4176},{"type":173,"tag":220,"props":10080,"children":10081},{"class":222,"line":300},[10082,10087,10091,10095,10100,10104],{"type":173,"tag":220,"props":10083,"children":10084},{"style":233},[10085],{"type":179,"value":10086},"    apiPrefix",{"type":173,"tag":220,"props":10088,"children":10089},{"style":227},[10090],{"type":179,"value":2084},{"type":173,"tag":220,"props":10092,"children":10093},{"style":227},[10094],{"type":179,"value":2089},{"type":173,"tag":220,"props":10096,"children":10097},{"style":329},[10098],{"type":179,"value":10099},"_content",{"type":173,"tag":220,"props":10101,"children":10102},{"style":227},[10103],{"type":179,"value":494},{"type":173,"tag":220,"props":10105,"children":10106},{"style":227},[10107],{"type":179,"value":4176},{"type":173,"tag":220,"props":10109,"children":10110},{"class":222,"line":344},[10111,10116,10120,10124,10128,10132],{"type":173,"tag":220,"props":10112,"children":10113},{"style":233},[10114],{"type":179,"value":10115},"    dir",{"type":173,"tag":220,"props":10117,"children":10118},{"style":227},[10119],{"type":179,"value":2084},{"type":173,"tag":220,"props":10121,"children":10122},{"style":227},[10123],{"type":179,"value":2089},{"type":173,"tag":220,"props":10125,"children":10126},{"style":329},[10127],{"type":179,"value":1295},{"type":173,"tag":220,"props":10129,"children":10130},{"style":227},[10131],{"type":179,"value":494},{"type":173,"tag":220,"props":10133,"children":10134},{"style":227},[10135],{"type":179,"value":4176},{"type":173,"tag":220,"props":10137,"children":10138},{"class":222,"line":361},[10139,10144,10148,10152,10156,10160,10164,10168,10172,10176,10180,10184,10188,10193,10197,10201,10205,10209,10213,10217],{"type":173,"tag":220,"props":10140,"children":10141},{"style":233},[10142],{"type":179,"value":10143},"    fullTextSearchFields",{"type":173,"tag":220,"props":10145,"children":10146},{"style":227},[10147],{"type":179,"value":2084},{"type":173,"tag":220,"props":10149,"children":10150},{"style":281},[10151],{"type":179,"value":2475},{"type":173,"tag":220,"props":10153,"children":10154},{"style":227},[10155],{"type":179,"value":494},{"type":173,"tag":220,"props":10157,"children":10158},{"style":329},[10159],{"type":179,"value":1719},{"type":173,"tag":220,"props":10161,"children":10162},{"style":227},[10163],{"type":179,"value":494},{"type":173,"tag":220,"props":10165,"children":10166},{"style":227},[10167],{"type":179,"value":1812},{"type":173,"tag":220,"props":10169,"children":10170},{"style":227},[10171],{"type":179,"value":2089},{"type":173,"tag":220,"props":10173,"children":10174},{"style":329},[10175],{"type":179,"value":5389},{"type":173,"tag":220,"props":10177,"children":10178},{"style":227},[10179],{"type":179,"value":494},{"type":173,"tag":220,"props":10181,"children":10182},{"style":227},[10183],{"type":179,"value":1812},{"type":173,"tag":220,"props":10185,"children":10186},{"style":227},[10187],{"type":179,"value":2089},{"type":173,"tag":220,"props":10189,"children":10190},{"style":329},[10191],{"type":179,"value":10192},"slug",{"type":173,"tag":220,"props":10194,"children":10195},{"style":227},[10196],{"type":179,"value":494},{"type":173,"tag":220,"props":10198,"children":10199},{"style":227},[10200],{"type":179,"value":1812},{"type":173,"tag":220,"props":10202,"children":10203},{"style":227},[10204],{"type":179,"value":2089},{"type":173,"tag":220,"props":10206,"children":10207},{"style":329},[10208],{"type":179,"value":179},{"type":173,"tag":220,"props":10210,"children":10211},{"style":227},[10212],{"type":179,"value":494},{"type":173,"tag":220,"props":10214,"children":10215},{"style":281},[10216],{"type":179,"value":3907},{"type":173,"tag":220,"props":10218,"children":10219},{"style":227},[10220],{"type":179,"value":4176},{"type":173,"tag":220,"props":10222,"children":10223},{"class":222,"line":377},[10224,10229,10233,10238],{"type":173,"tag":220,"props":10225,"children":10226},{"style":233},[10227],{"type":179,"value":10228},"    nestedProperties",{"type":173,"tag":220,"props":10230,"children":10231},{"style":227},[10232],{"type":179,"value":2084},{"type":173,"tag":220,"props":10234,"children":10235},{"style":281},[10236],{"type":179,"value":10237}," []",{"type":173,"tag":220,"props":10239,"children":10240},{"style":227},[10241],{"type":179,"value":4176},{"type":173,"tag":220,"props":10243,"children":10244},{"class":222,"line":387},[10245,10250,10254,10258],{"type":173,"tag":220,"props":10246,"children":10247},{"style":233},[10248],{"type":179,"value":10249},"    liveEdit",{"type":173,"tag":220,"props":10251,"children":10252},{"style":227},[10253],{"type":179,"value":2084},{"type":173,"tag":220,"props":10255,"children":10256},{"style":4056},[10257],{"type":179,"value":6132},{"type":173,"tag":220,"props":10259,"children":10260},{"style":227},[10261],{"type":179,"value":4176},{"type":173,"tag":220,"props":10263,"children":10264},{"class":222,"line":404},[10265,10270,10274,10278],{"type":173,"tag":220,"props":10266,"children":10267},{"style":233},[10268],{"type":179,"value":10269},"    useCache",{"type":173,"tag":220,"props":10271,"children":10272},{"style":227},[10273],{"type":179,"value":2084},{"type":173,"tag":220,"props":10275,"children":10276},{"style":4056},[10277],{"type":179,"value":4059},{"type":173,"tag":220,"props":10279,"children":10280},{"style":227},[10281],{"type":179,"value":4176},{"type":173,"tag":220,"props":10283,"children":10284},{"class":222,"line":424},[10285,10289,10293],{"type":173,"tag":220,"props":10286,"children":10287},{"style":233},[10288],{"type":179,"value":5710},{"type":173,"tag":220,"props":10290,"children":10291},{"style":227},[10292],{"type":179,"value":2084},{"type":173,"tag":220,"props":10294,"children":10295},{"style":227},[10296],{"type":179,"value":421},{"type":173,"tag":220,"props":10298,"children":10299},{"class":222,"line":458},[10300,10304,10308],{"type":173,"tag":220,"props":10301,"children":10302},{"style":233},[10303],{"type":179,"value":5726},{"type":173,"tag":220,"props":10305,"children":10306},{"style":227},[10307],{"type":179,"value":2084},{"type":173,"tag":220,"props":10309,"children":10310},{"style":281},[10311],{"type":179,"value":5969},{"type":173,"tag":220,"props":10313,"children":10314},{"class":222,"line":526},[10315,10319,10324,10328],{"type":173,"tag":220,"props":10316,"children":10317},{"style":227},[10318],{"type":179,"value":5977},{"type":173,"tag":220,"props":10320,"children":10321},{"style":329},[10322],{"type":179,"value":10323},"remark-squeeze-paragraphs",{"type":173,"tag":220,"props":10325,"children":10326},{"style":227},[10327],{"type":179,"value":494},{"type":173,"tag":220,"props":10329,"children":10330},{"style":227},[10331],{"type":179,"value":4176},{"type":173,"tag":220,"props":10333,"children":10334},{"class":222,"line":534},[10335,10339,10344,10348],{"type":173,"tag":220,"props":10336,"children":10337},{"style":227},[10338],{"type":179,"value":5977},{"type":173,"tag":220,"props":10340,"children":10341},{"style":329},[10342],{"type":179,"value":10343},"remark-slug",{"type":173,"tag":220,"props":10345,"children":10346},{"style":227},[10347],{"type":179,"value":494},{"type":173,"tag":220,"props":10349,"children":10350},{"style":227},[10351],{"type":179,"value":4176},{"type":173,"tag":220,"props":10353,"children":10354},{"class":222,"line":547},[10355,10359,10364,10368],{"type":173,"tag":220,"props":10356,"children":10357},{"style":227},[10358],{"type":179,"value":5977},{"type":173,"tag":220,"props":10360,"children":10361},{"style":329},[10362],{"type":179,"value":10363},"remark-autolink-headings",{"type":173,"tag":220,"props":10365,"children":10366},{"style":227},[10367],{"type":179,"value":494},{"type":173,"tag":220,"props":10369,"children":10370},{"style":227},[10371],{"type":179,"value":4176},{"type":173,"tag":220,"props":10373,"children":10374},{"class":222,"line":556},[10375,10379,10384,10388],{"type":173,"tag":220,"props":10376,"children":10377},{"style":227},[10378],{"type":179,"value":5977},{"type":173,"tag":220,"props":10380,"children":10381},{"style":329},[10382],{"type":179,"value":10383},"remark-external-links",{"type":173,"tag":220,"props":10385,"children":10386},{"style":227},[10387],{"type":179,"value":494},{"type":173,"tag":220,"props":10389,"children":10390},{"style":227},[10391],{"type":179,"value":4176},{"type":173,"tag":220,"props":10393,"children":10394},{"class":222,"line":565},[10395,10399,10404],{"type":173,"tag":220,"props":10396,"children":10397},{"style":227},[10398],{"type":179,"value":5977},{"type":173,"tag":220,"props":10400,"children":10401},{"style":329},[10402],{"type":179,"value":10403},"remark-footnotes",{"type":173,"tag":220,"props":10405,"children":10406},{"style":227},[10407],{"type":179,"value":4201},{"type":173,"tag":220,"props":10409,"children":10410},{"class":222,"line":574},[10411,10416],{"type":173,"tag":220,"props":10412,"children":10413},{"style":281},[10414],{"type":179,"value":10415},"      ]",{"type":173,"tag":220,"props":10417,"children":10418},{"style":227},[10419],{"type":179,"value":4176},{"type":173,"tag":220,"props":10421,"children":10422},{"class":222,"line":583},[10423,10428,10432],{"type":173,"tag":220,"props":10424,"children":10425},{"style":233},[10426],{"type":179,"value":10427},"      rehypePlugins",{"type":173,"tag":220,"props":10429,"children":10430},{"style":227},[10431],{"type":179,"value":2084},{"type":173,"tag":220,"props":10433,"children":10434},{"style":281},[10435],{"type":179,"value":5969},{"type":173,"tag":220,"props":10437,"children":10438},{"class":222,"line":7915},[10439,10443,10448,10452],{"type":173,"tag":220,"props":10440,"children":10441},{"style":227},[10442],{"type":179,"value":5977},{"type":173,"tag":220,"props":10444,"children":10445},{"style":329},[10446],{"type":179,"value":10447},"rehype-minify-whitespace",{"type":173,"tag":220,"props":10449,"children":10450},{"style":227},[10451],{"type":179,"value":494},{"type":173,"tag":220,"props":10453,"children":10454},{"style":227},[10455],{"type":179,"value":4176},{"type":173,"tag":220,"props":10457,"children":10458},{"class":222,"line":7931},[10459,10463,10468,10472],{"type":173,"tag":220,"props":10460,"children":10461},{"style":227},[10462],{"type":179,"value":5977},{"type":173,"tag":220,"props":10464,"children":10465},{"style":329},[10466],{"type":179,"value":10467},"rehype-sort-attribute-values",{"type":173,"tag":220,"props":10469,"children":10470},{"style":227},[10471],{"type":179,"value":494},{"type":173,"tag":220,"props":10473,"children":10474},{"style":227},[10475],{"type":179,"value":4176},{"type":173,"tag":220,"props":10477,"children":10478},{"class":222,"line":7944},[10479,10483,10488,10492],{"type":173,"tag":220,"props":10480,"children":10481},{"style":227},[10482],{"type":179,"value":5977},{"type":173,"tag":220,"props":10484,"children":10485},{"style":329},[10486],{"type":179,"value":10487},"rehype-sort-attributes",{"type":173,"tag":220,"props":10489,"children":10490},{"style":227},[10491],{"type":179,"value":494},{"type":173,"tag":220,"props":10493,"children":10494},{"style":227},[10495],{"type":179,"value":4176},{"type":173,"tag":220,"props":10497,"children":10498},{"class":222,"line":7965},[10499,10503,10508],{"type":173,"tag":220,"props":10500,"children":10501},{"style":227},[10502],{"type":179,"value":5977},{"type":173,"tag":220,"props":10504,"children":10505},{"style":329},[10506],{"type":179,"value":10507},"rehype-raw",{"type":173,"tag":220,"props":10509,"children":10510},{"style":227},[10511],{"type":179,"value":4201},{"type":173,"tag":220,"props":10513,"children":10514},{"class":222,"line":8000},[10515,10519],{"type":173,"tag":220,"props":10516,"children":10517},{"style":281},[10518],{"type":179,"value":10415},{"type":173,"tag":220,"props":10520,"children":10521},{"style":227},[10522],{"type":179,"value":4176},{"type":173,"tag":220,"props":10524,"children":10525},{"class":222,"line":8009},[10526,10531,10535],{"type":173,"tag":220,"props":10527,"children":10528},{"style":233},[10529],{"type":179,"value":10530},"      prism",{"type":173,"tag":220,"props":10532,"children":10533},{"style":227},[10534],{"type":179,"value":2084},{"type":173,"tag":220,"props":10536,"children":10537},{"style":227},[10538],{"type":179,"value":421},{"type":173,"tag":220,"props":10540,"children":10541},{"class":222,"line":8017},[10542,10547,10551,10555,10560],{"type":173,"tag":220,"props":10543,"children":10544},{"style":233},[10545],{"type":179,"value":10546},"        theme",{"type":173,"tag":220,"props":10548,"children":10549},{"style":227},[10550],{"type":179,"value":2084},{"type":173,"tag":220,"props":10552,"children":10553},{"style":227},[10554],{"type":179,"value":2089},{"type":173,"tag":220,"props":10556,"children":10557},{"style":329},[10558],{"type":179,"value":10559},"prismjs/themes/prism.css",{"type":173,"tag":220,"props":10561,"children":10562},{"style":227},[10563],{"type":179,"value":4201},{"type":173,"tag":220,"props":10565,"children":10566},{"class":222,"line":8025},[10567],{"type":173,"tag":220,"props":10568,"children":10569},{"style":227},[10570],{"type":179,"value":6318},{"type":173,"tag":220,"props":10572,"children":10573},{"class":222,"line":8033},[10574],{"type":173,"tag":220,"props":10575,"children":10576},{"style":227},[10577],{"type":179,"value":10578},"    },\n",{"type":173,"tag":220,"props":10580,"children":10581},{"class":222,"line":8041},[10582,10587,10591],{"type":173,"tag":220,"props":10583,"children":10584},{"style":233},[10585],{"type":179,"value":10586},"    yaml",{"type":173,"tag":220,"props":10588,"children":10589},{"style":227},[10590],{"type":179,"value":2084},{"type":173,"tag":220,"props":10592,"children":10593},{"style":227},[10594],{"type":179,"value":10595}," {},\n",{"type":173,"tag":220,"props":10597,"children":10598},{"class":222,"line":8841},[10599,10604,10608],{"type":173,"tag":220,"props":10600,"children":10601},{"style":233},[10602],{"type":179,"value":10603},"    csv",{"type":173,"tag":220,"props":10605,"children":10606},{"style":227},[10607],{"type":179,"value":2084},{"type":173,"tag":220,"props":10609,"children":10610},{"style":227},[10611],{"type":179,"value":10595},{"type":173,"tag":220,"props":10613,"children":10614},{"class":222,"line":8849},[10615,10620,10624],{"type":173,"tag":220,"props":10616,"children":10617},{"style":233},[10618],{"type":179,"value":10619},"    xml",{"type":173,"tag":220,"props":10621,"children":10622},{"style":227},[10623],{"type":179,"value":2084},{"type":173,"tag":220,"props":10625,"children":10626},{"style":227},[10627],{"type":179,"value":10595},{"type":173,"tag":220,"props":10629,"children":10630},{"class":222,"line":8857},[10631,10636,10640],{"type":173,"tag":220,"props":10632,"children":10633},{"style":233},[10634],{"type":179,"value":10635},"    extendParser",{"type":173,"tag":220,"props":10637,"children":10638},{"style":227},[10639],{"type":179,"value":2084},{"type":173,"tag":220,"props":10641,"children":10642},{"style":227},[10643],{"type":179,"value":10644}," {}\n",{"type":173,"tag":220,"props":10646,"children":10647},{"class":222,"line":8865},[10648],{"type":173,"tag":220,"props":10649,"children":10650},{"style":227},[10651],{"type":179,"value":571},{"type":173,"tag":220,"props":10653,"children":10655},{"class":222,"line":10654},33,[10656],{"type":173,"tag":220,"props":10657,"children":10658},{"style":227},[10659],{"type":179,"value":580},{"type":173,"tag":1107,"props":10661,"children":10662},{},[10663],{"type":179,"value":1283},{"title":167,"searchDepth":244,"depth":244,"links":10665},[10666,10667,10688],{"id":5033,"depth":244,"text":5036},{"id":5069,"depth":244,"text":5072,"children":10668},[10669,10670,10671,10672,10673,10674,10675,10676,10677,10678,10679,10680,10681,10682,10683,10684,10685,10686,10687],{"id":5075,"depth":262,"text":5081},{"id":5171,"depth":262,"text":5171},{"id":5271,"depth":262,"text":5277},{"id":5407,"depth":262,"text":5413},{"id":5511,"depth":262,"text":5517},{"id":1293,"depth":262,"text":1293},{"id":6510,"depth":262,"text":6516},{"id":6553,"depth":262,"text":5058},{"id":6605,"depth":262,"text":5064},{"id":6656,"depth":262,"text":6662},{"id":6679,"depth":262,"text":6685},{"id":6701,"depth":262,"text":6707},{"id":7002,"depth":262,"text":7008},{"id":9414,"depth":262,"text":9414},{"id":9484,"depth":262,"text":9484},{"id":9534,"depth":262,"text":9534},{"id":9579,"depth":262,"text":9585},{"id":9824,"depth":262,"text":9824},{"id":9957,"depth":262,"text":9963},{"id":10009,"depth":244,"text":10012},"content:7.v1:1.getting-started:6.configuration.md","7.v1/1.getting-started/6.configuration.md",1699441248276]