[{"data":1,"prerenderedAt":2656},["ShallowReactive",2],{"\u002Fdocs\u002Fguidelines\u002Fwriting-content":3,"dl-navigation-docs":1769,"shared":2109,"surroundings-\u002Fdocs\u002Fguidelines\u002Fwriting-content":2651},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":1760,"extension":1761,"ignore":6,"meta":1762,"navigation":1763,"path":1764,"seo":1765,"sitemap":1766,"stem":1767,"__hash__":1768},"docs\u002Fdocs\u002F02.guidelines\u002F04.writing-content.md","Writing Content",null,{"type":8,"value":9,"toc":1723},"minimark",[10,14,50,83,95,158,292,327,393,476,566,608,676,692,723,753,798,814,840,997,1065,1358,1381,1390,1467,1499,1526,1535,1559,1627,1657],[11,12,13],"p",{},"Let's jump into what you're here for. Let's write some content.",[11,15,16,17,21,22,26,27,30,31,35,36,41,42,45,46,49],{},"Since ",[18,19,20],"strong",{},"DocLayer"," is built on top of ",[23,24,25],"dl-link",{},"$nuxt-content",", any content you create should follow its conventions and rules, in return giving you full range of its powerful features. ",[18,28,29],{},"DocLayer Boilerplate"," (",[23,32,34],{"label":33},"that you've just installed","$docs-getting-started-installation",") is a ready-to-use application, that you can jump in and start writing. Even better, it's designed to be easily extended: by adding new content ",[37,38,40],"a",{"href":39},"#collections","collections",", creating new pages, using or building new components, utilities and helpers as needed. But remember, ",[18,43,44],{},"most of the tools and features that you might need, are probably already here",". Read the documentation to ",[18,47,48],{},"get wider perspective"," of what's available out of the box.",[51,52,54,65,68],"dl-callout",{"title":53},"false",[11,55,56,59,60,64],{},[18,57,58],{},"This page is essential for understanding which internal features you can use while writing your content",". It provides a high-level overview of what's available and what you might still need, whether that's something we can build or you can create yourself. Remember, we're always ",[23,61,63],{"label":62},"open to contributions","$docs-project-contribution"," in any area related to this project.",[11,66,67],{},"Please note that in some cases there may be overlap with the Nuxt Content documentation, but we've focused on highlighting the most important aspects, particularly those relevant to DocLayer.",[11,69,70,71,74,75,78,79,82],{},"Finally, whether you have a ",[18,72,73],{},"feature suggestion"," or want to ",[18,76,77],{},"contribute code",", ",[18,80,81],{},"your input is greatly appreciated",". Thank you in advance!",[51,84,87],{"title":85,"type":86},"Use this app as an reference","note",[11,88,89,90,94],{},"The best advice before you start would be to use this ",[23,91,93],{"label":92},"docs application","$dl-repo"," as a reference: browse through our repository and review the pages one by one. You'll find the best examples of how to define any type of content and control its appearance.",[96,97,98,102,120],"dl-section",{"id":40},[99,100,101],"h2",{"id":40},"Collections",[11,103,104,105,107,108,113,114,119],{},"To get started writing content with DocLayer on top of ",[23,106,25],{},", you need to use ",[37,109,40],{"href":110,"rel":111},"https:\u002F\u002Fcontent.nuxt.com\u002Fdocs\u002Fgetting-started#content-collections",[112],"nofollow",". Collections are data models that the application. Before you'll write the first content pages and have them appear in the app structure, you need to define your collection data model. This is typically done in the ",[115,116],"dl-tooltip",{"tooltip":117,"label":118},"In-app file path: root directory","`content.config.ts`"," file.",[51,121,122],{"title":53,"type":86},[11,123,124,125,129,130,133,134,133,137,140,141,145,146,149,150,154,155,157],{},"Please note that the ",[126,127,128],"code",{},"content.config.ts"," file ",[18,131,132],{},"is automatically created each time you run the"," ",[126,135,136],{},"prepare",[18,138,139],{},"script",". This is one of several ",[23,142,144],{"label":143,"hash":143},"automations","$docs-guidelines-internals"," that occur during the process. Because this ",[18,147,148],{},"file is deleted before being regenerated",", Nuxt Content may briefly report that it is missing before it is added again. When you start the app, this file will be in place and ready to use. You can disable this mechanism by setting the ",[23,151,34],{"label":152,"hash":153},"`rootPrep.configs`","rootprep"," module option to ",[126,156,53],{},".",[96,159,161,165,168,196,206,209,222,241,246,252,278],{"id":160},"default-collections",[162,163,164],"h3",{"id":160},"Default collections",[11,166,167],{},"By default, DocLayer includes the following predefined collections:",[169,170,171,178,184,190],"ul",{},[172,173,174,177],"li",{},[126,175,176],{},"docs"," - for creating rich documentation(s),",[172,179,180,183],{},[126,181,182],{},"blog"," - for publishing engaging articles,",[172,185,186,189],{},[126,187,188],{},"landing"," - for welcoming your visitors and customers,",[172,191,192,195],{},[126,193,194],{},"shared"," - data-type collection for shared components.",[11,197,198,199,201,202,205],{},"In your ",[126,200,128],{}," file, you'll see that ",[18,203,204],{},"these collections are imported"," directly from the module. This provides you with a ready-to-use data model for organizing your content.",[11,207,208],{},"It will look like this:",[210,211,212],"dl-code",{"tabs":128},[213,214,220],"pre",{"className":215,"code":217,"language":218,"meta":219},[216],"language-ts","import { defineContentConfig } from '@nuxt\u002Fcontent';\nimport { collections } from '.\u002F.nuxt\u002Fdoclayer\u002Fcontent.config';\n\nexport default defineContentConfig({\n  collections,\n});\n\"cref:b0oui2\"\n","ts","",[126,221,217],{"__ignoreMap":219},[11,223,224,225,228,229,236,237,157],{},"Each ",[18,226,227],{},"collection lends with its own dedicated schema",", validated using ",[18,230,231],{},[37,232,235],{"href":233,"rel":234},"https:\u002F\u002Fzod.dev",[112],"zod",". This ensures that whenever you work with your content’s data model, you’ll receive helpful suggestions and automatic validation for correctness. The schema covers not only standard page metadata like title and description, but also includes custom fields, fields for SEO, schema.org, and LLMs. More about schema and the full reference of it ",[23,238,240],{"label":239},"you can find here","$docs-reference-content-schema",[242,243,245],"h4",{"id":244},"predefined-collections","Predefined collections",[11,247,248,249,251],{},"Additionally, DocLayer provides couple of predefined collections, so you don't need to configure them in your ",[126,250,128],{}," file. These are:",[169,253,254,263,270],{},[172,255,256,259,260,262],{},[126,257,258],{},"articles"," - with ",[126,261,182],{}," collection schema,",[172,264,265,259,268,262],{},[126,266,267],{},"guides",[126,269,176],{},[172,271,272,259,275,277],{},[126,273,274],{},"tutorials",[126,276,176],{}," collection schema.",[11,279,280,281,284,285,287,288,291],{},"Just create its corresponding folder in the ",[126,282,283],{},"content"," directory. For example, for ",[126,286,258],{}," collection, create ",[126,289,290],{},"content\u002Farticles"," directory and add your content files inside it. DocLayer will handle the rest.",[96,293,295,298,302,305,308,317],{"id":294},"defining-custom-collection",[162,296,297],{"id":294},"Defining custom collection",[299,300,301],"dl-prompter",{},"register new content collection",[299,303,304],{},"add new content collection to the app",[11,306,307],{},"You can easily define your own custom collection by extending the existing ones or build new from scratch, reusing the schemas provided by DocLayer. Here’s how you can do it:",[210,309,311],{"tabs":128,"max-height":310},"100rem",[213,312,315],{"className":313,"code":314,"language":218,"meta":219},[216],"import { defineContentConfig, defineCollection } from '@nuxt\u002Fcontent';\nimport { collections, collectionSchema } from '.\u002F.nuxt\u002Fdoclayer\u002Fcontent.config';\n\nimport * as zod from 'zod';\n\nexport default defineContentConfig({\n  collections: {\n    ...collections,\n    myCollection: defineCollection({\n      type: 'page',\n      source: 'my-collection\u002F**',\n      \u002F\u002F reuse schema provided by DocLayer\n      schema: collectionSchema,\n      \u002F\u002F or extend the existing one provided by DocLayer\n      schema: collectionSchema.extend({\n        customField: z.string().optional(),\n      }),\n      \u002F\u002F or define your own schema\n      schema: z.object({\n        title: z.string().min(3),\n        description: z.string().min(10).max(160),\n        \u002F\u002F ...\n      }),\n    }),\n  },\n});\n\"cref:havup5\"\n",[126,316,314],{"__ignoreMap":219},[11,318,319,320,323,324,326],{},"Remember that ",[18,321,322],{},"any rule you apply should correspond"," with ",[23,325,25],{}," conventions.",[96,328,330,333,336,355,358,374,388],{"id":329},"collection-pages",[162,331,332],{"id":329},"Collection pages",[299,334,335],{},"creating content pages within the content collection",[11,337,338,339,342,343,345,346,349,350,157],{},"By default, all predefined collections in DocLayer are of type ",[126,340,341],{},"page",". The only collection with a predefined path is ",[126,344,188],{},", set to ",[126,347,348],{},"content\u002Flanding\u002Findex.md"," This serves as the main application entrypoint (the index). Any other collection you define will be treated as dynamic and resolved using ",[23,351,354],{"label":352,"path":353},"Nuxt's dynamic routes mechanism","guide\u002Fdirectory-structure\u002Fapp\u002Fpages#dynamic-routes","$nuxt-docs",[11,356,357],{},"This is how the page structure looks like:",[210,359,360,368],{},[213,361,366],{"className":362,"code":364,"language":365,"meta":219},[363],"language-bash","pages\u002F\n├── [...collection]\u002F   # dynamic collection route, defined as \u002F:collection(.*)*\n│   └── [...slug].vue  # dynamic page for dynamic collections (e.g., content\u002Fdocs\u002F01.getting-started\u002F01.index.md)\n└── index.vue          # landing \u002F home page (content\u002Flanding\u002Findex.md)\n\"cref:8ufupg\"\n","bash",[126,367,364],{"__ignoreMap":219},[369,370,371],"template",{"v-slot:ui":219},[11,372,373],{},"{ \"actions\": \"hidden\" }",[11,375,376,377,379,380,383,384,387],{},"Now, if you create a new collection, let's say ",[126,378,274],{},", adding new ",[126,381,382],{},"content\u002Ftutorials\u002Fmy-first-tutorial.md"," file, it will be automatically available at the ",[126,385,386],{},"\u002Ftutorials\u002Fmy-first-tutorial"," URL, resolved as an dynamic page.",[11,389,390,391,119],{},"Before creating new pages within a new folder structure, remember to register the new collection in the ",[115,392],{"tooltip":117,"label":118},[96,394,396,399,408,421,424,427,463,466],{"id":395},"collection-layouts",[162,397,398],{"id":395},"Collection layouts",[11,400,401,402,405,406,157],{},"DocLayer offers two main layouts for your pages: ",[126,403,404],{},"default"," and ",[126,407,188],{},[169,409,410,416],{},[172,411,412,413,415],{},"The ",[126,414,404],{}," layout is used for dynamic documentation pages. It includes features like a sidebar navigation, ToC and\nother tools to help users browse and read docs easily.",[172,417,412,418,420],{},[126,419,188],{}," layout is designed for landing pages, providing a clean, single-column design that focuses attention on\nthe main content.",[11,422,423],{},"Layouts are automatically matched to collection based on type. This is how it looks like visually:",[11,425,426],{},"[[esc]]",[428,429,430,443],"table",{},[431,432,433],"thead",{},[434,435,436,440],"tr",{},[437,438,439],"th",{},"Documentation Page Layout",[437,441,442],{},"Landing Page Layout",[444,445,446],"tbody",{},[434,447,448,457],{},[449,450,451],"td",{},[452,453],"dl-image",{":iui":454,"caption":455,"src":456},"{\"base\": \"mt-0!\"}","`default`","\u002Fimages\u002Fss-003.png",[449,458,459],{},[452,460],{":iui":454,"caption":461,"src":462},"`landing`","\u002Fimages\u002Fss-002.png",[11,464,465],{},"[[\u002Fesc]]",[51,467,468],{"title":53,"type":86},[11,469,470,471,475],{},"If you want to override or create your own, custom layout define one in the ",[115,472],{"tooltip":473,"label":474},"In-app path: app\u002Flayouts","`layouts`"," directory. Remember that any new layout should be either assigned to existing or new application page.",[96,477,479,482,502,511,523,532,536,543,546,560],{"id":478},"creating-new-content-pages-within-the-collection",[162,480,481],{"id":478},"Creating new content pages within the collection",[11,483,484,485,487,488,490,491,494,495,498,499,157],{},"Following ",[23,486,25],{}," rules any content page you create should be placed within the ",[126,489,283],{}," directory. Each collection should have its own subdirectory. For example, documentation pages should go into ",[126,492,493],{},"content\u002Fdocs",", blog articles into ",[126,496,497],{},"content\u002Fblog",", and landing page into ",[126,500,501],{},"content\u002Flanding",[11,503,504,507,508,510],{},[23,505,506],{},"$dl-boilerplate"," provides a ready-to-use structure for your content, which you can find in the ",[126,509,283],{}," directory. Here's how it looks like:",[210,512,513,519],{},[213,514,517],{"className":515,"code":516,"language":365,"meta":219},[363],"content\u002F\n├── docs\u002F\n│   ├── 01.getting-started\u002F\n│   │   ├── 01-introduction.md\n│   │   ├── 02-installation.md\n│   │   └── ...\n│   └── ...\n├── blog\u002F\n│   ├── 01-01-2025-article.md\n│   └── ...\n└── landing\u002F\n    └── index.md\n\"cref:3wknas\"\n",[126,518,516],{"__ignoreMap":219},[369,520,521],{"v-slot:ui":219},[11,522,373],{},[51,524,525],{"title":53,"type":86},[11,526,527,528,531],{},"This structure exists ",[18,529,530],{},"only for demonstration purposes",". You can modify it as needed, adding or removing folders and files to suit your project's requirements.",[242,533,535],{"id":534},"nesting-within-collections","Nesting within collections",[11,537,538,539,542],{},"DocLayer currently supports up to 2 levels of nesting within your content collections. This means ",[18,540,541],{},"you can organize your content with one subdirectory"," inside each collection directory, but you cannot nest folders deeper than that.",[11,544,545],{},"For example:",[169,547,548,554],{},[172,549,550,551],{},"✅ ",[126,552,553],{},"content\u002Fdocs\u002F01.getting-started\u002F01-introduction.md",[172,555,556,557],{},"❌ ",[126,558,559],{},"content\u002Fdocs\u002F01.getting-started\u002F01-introduction\u002Fextra.md",[11,561,562,563,565],{},"This 2-level structure helps DocLayer automatically generate clear, accordion-style navigation, making it easier for users to understand and traverse your documentation. If you choose not to use subdirectories, all your pages within a collection (such as ",[126,564,182],{},") will appear as a flat list, under one accordion item.",[96,567,569,572,582,585,595],{"id":568},"navigation",[99,570,571],{"id":568},"Navigation",[11,573,574,575,578,579,581],{},"Each collection, whether it is a top-level collection or nested one level deep, should contain a ",[126,576,577],{},".navigation.yml"," file inside. For collections with two levels of nesting, each section directory should also include its own ",[126,580,577],{}," file. This file defines the sidebar navigation heading and icon for that section.",[11,583,584],{},"This is a simple example of how this should looks like:",[210,586,587],{"tabs":577},[213,588,593],{"className":589,"code":591,"language":592,"meta":219},[590],"language-yml","title: Getting Started\nicon: rocket\n\"cref:0inkr9\"\n","yml",[126,594,591],{"__ignoreMap":219},[51,596,597],{"title":53,"type":86},[11,598,599,600,603,604,157],{},"Under the hood, DocLayer uses a predefined set of ",[126,601,602],{},"lucide"," icons that you can also use in your navigation. You can ",[23,605,144],{"label":606,"hash":607},"read more about the icon setup here","nuxticon",[96,609,611,614,647,662],{"id":610},"defining-collection-entrypoints",[162,612,613],{"id":610},"Defining collection entrypoints",[11,615,616,617,620,621,623,624,626,627,629,630,633,634,636,637,639,640,643,644,157],{},"By default, DocLayer treats any ",[126,618,619],{},"index.md"," file as the main entry point for its collection. For example, ",[126,622,348],{}," acts as the homepage of your application. In the ",[126,625,182],{}," collection, an ",[126,628,619],{}," file will serve as the main articles listing page, resulting in a user-friendly URL like ",[126,631,632],{},"\u002Fblog",". In a nested structure such as ",[126,635,176],{},", an ",[126,638,619],{}," file inside a subdirectory (e.g., ",[126,641,642],{},"content\u002Fdocs\u002F01.getting-started\u002Findex.md",") will represent the main page for that section, generating a URL like ",[126,645,646],{},"\u002Fdocs\u002Fgetting-started",[51,648,650],{"title":53,"type":649},"warning",[11,651,652,653,656,657,661],{},"Please don't use ",[126,654,655],{},"path"," metadata field in ",[37,658,660],{"href":659},"#frontmatter","frontmatter",", as it may lead to unexpected behavior. It's not supported yet.",[11,663,664,665,668,669,672,673,157],{},"Finally, if you need to have full URL for the first page within the collection (for example ",[126,666,667],{},"\u002Fdocs","), you can create a dedicated file for it, like ",[126,670,671],{},"content\u002Fdocs\u002F01-getting-started\u002F01-getting-started.md",". This will be executed to the URL of ",[126,674,675],{},"\u002Fdocs\u002Fgetting-started\u002Fgetting-started",[96,677,679,682],{"id":678},"excluding-pages-from-navigation",[162,680,681],{"id":678},"Excluding pages from navigation",[11,683,684,685,688,689,691],{},"If you want to exclude a specific page from appearing in the sidebar navigation, you can do so by adding ",[126,686,687],{},"navigation: false"," in the ",[37,690,660],{"href":659}," of that page. This is useful for pages that are meant to be standalone or not part of the main documentation flow.",[96,693,695,698],{"id":694},"ordering-pages-in-navigation",[162,696,697],{"id":694},"Ordering pages in navigation",[11,699,700,701,704,705,708,709,78,712,715,716,78,719,722],{},"To control the order of pages in the sidebar navigation, add numbers at the beginning of your folder and file names. Start with ",[126,702,703],{},"0"," or ",[126,706,707],{},"1",". If you have many pages, use two-digit numbers (like ",[126,710,711],{},"01",[126,713,714],{},"02",", ..., ",[126,717,718],{},"10",[126,720,721],{},"11",", etc.) to keep the sorting consistent and in the correct order. Not using numbers will lead to alphabetic sorting.",[96,724,726,729,732,742],{"id":725},"using-custom-navigation-labels",[162,727,728],{"id":725},"Using custom navigation labels",[299,730,731],{},"how to use different navigation labels than the page title",[11,733,734,735,738,739,741],{},"By default, the navigation link label is taken from the page's title. If you want the navigation to display a label different from the page title, add a ",[126,736,737],{},"navigation: label"," field in the ",[37,740,660],{"href":659}," of that page. This is helpful when you want to customize how a page appears in the sidebar navigation.",[210,743,745],{"tabs":744},"content.md",[213,746,751],{"className":747,"code":749,"language":750,"meta":219},[748],"language-markdown","---\ntitle: Getting Started with DocLayer\nnavigation:\n  label: Getting Started with DocLayer\n---\n\"cref:u45f0q\"\n","markdown",[126,752,749],{"__ignoreMap":219},[96,754,756,759,768,783],{"id":755},"using-navigation-badges",[162,757,758],{"id":755},"Using navigation badges",[11,760,761,762,738,765,767],{},"To add a badge to a navigation item, include a ",[126,763,764],{},"navigation: badge",[37,766,660],{"href":659}," of that page. This is useful when you want to show users the status of the page - for example, if it has been updated, is new, in development, or any other status you want to indicate.",[210,769,771,777],{"tabs":770},"content.md, badge.d.ts",[213,772,775],{"className":773,"code":774,"language":750,"meta":219},[748],"---\ntitle: Getting Started with DocLayer\nnavigation:\n  badge:\n    label: new\n    type: note\n  # or simple string value, defaults to the `info` type\n  badge: new\n---\n\"cref:szjvia\"\n",[126,776,774],{"__ignoreMap":219},[213,778,781],{"className":779,"code":780,"language":218,"meta":219},[216],"type Badge =\n  | {\n      label: string;\n      type: 'info' | 'note' | 'warning' | 'alert';\n      size: 'sm' | 'md' | 'lg';\n      rounded: boolean;\n      icon: boolean;\n      glow: boolean;\n    }\n  | string;\n\"cref:r76fgl\"\n",[126,782,780],{"__ignoreMap":219},[11,784,785,786,790,791,794,795,157],{},"Feature is handled by the ",[23,787,789],{"label":788},"`DlBadge`","$docs-components-badge"," component, and supports the same types - use any of them as needed. You can also provide a simple string value for the ",[126,792,793],{},"badge"," label, and the type will be inferred automatically as ",[126,796,797],{},"info",[96,799,801,804],{"id":800},"writing-content",[99,802,803],{"id":800},"Writing content",[11,805,806,809,810,813],{},[18,807,808],{},"It's all Markdown"," - plain, simple, and powerful. You can use any ",[23,811,812],{},"$markdown"," features you like. We've handled proper and consistent implementation for all types of content, from basic paragraphs to tables, images, and quotes, all the way to specialized internal components for extra functionality.",[96,815,817,820,830],{"id":816},"markdownlint",[162,818,819],{"id":816},"Markdownlint",[11,821,822,823,133,826,829],{},"To help you write well-formatted Markdown, the Boilerplate app has ",[23,824,825],{},"$markdownlint",[18,827,828],{},"installed by default",". If you're starting from scratch, we recommend adding it, as it can be a great and powerful addition to your workflow.",[51,831,832],{"title":53,"type":86},[11,833,834,157],{},[835,836,839],"dl-renderer",{":data":837,"inline":838,"parse":838},"{\"about\": \"the internal setup of `markdownlint`\", \"link\": \"$docs-guidelines-internals\", \"hash\": \"markdownlint\"}","true","rref:inline-read-more-about",[96,841,842,845,856,864,871,885,907,931,935,957,965,975,979],{"id":660},[162,843,844],{"id":660},"Frontmatter",[11,846,847,848,851,852,855],{},"Each content file starts with a ",[115,849,844],{"tooltip":850,"lock-width":838},"In web development, Frontmatter refers to a YAML block at the top of Markdown files containing metadata like title, description, etc."," section, enclosed by triple dashes: ",[126,853,854],{},"---",". This section contains metadata about the page, such as its title, description, and other relevant information. Here's an example of a frontmatter section:",[210,857,858],{"tabs":619},[213,859,862],{"className":860,"code":861,"language":750,"meta":219},[748],"---\ntitle: Introduction\ndescription: Welcome to DocLayer! This is the introduction to our documentation.\n---\n\nYour content goes here.\n\"cref:zqqwkk\"\n",[126,863,861],{"__ignoreMap":219},[11,865,866,867,870],{},"You can include various fields in the frontmatter, depending on your needs and the\n",[23,868,240],{"label":869},"collection's schema",". Common fields include:",[169,872,873,879],{},[172,874,875,878],{},[126,876,877],{},"title"," - the title of the page,",[172,880,881,884],{},[126,882,883],{},"description"," - a brief description of the page's content.",[11,886,887,888,891,892,78,895,898,899,902,903,157],{},"These ",[18,889,890],{},"fields are required, as they will be used for page metadata"," and internal navigation. Additionally, we've made it easy to manage ",[18,893,894],{},"SEO",[18,896,897],{},"schema.org",", and ",[18,900,901],{},"LLM","-related metadata straight from the frontmatter. You can ",[23,904,906],{"label":905},"read more about defining metadata here","$docs-guidelines-defining-metadata",[11,908,909,911,912,915,916,133,919,923,924,930],{},[23,910,25],{}," also provides a ",[18,913,914],{},"mechanism to define and use custom fields in your frontmatter",", which you can access within the document using ",[126,917,918],{},"$doc.\u003Cfield-name>",[23,920,25],{"label":921,"path":922},"handler","\u002Fdocs\u002Ffiles\u002Fmarkdown#binding-data",". This is especially useful for repeating values. Though, ",[18,925,926,927],{},"remember that the field must be defined in the ",[37,928,869],{"href":929},"#default-collections"," to be recognized and validated.",[242,932,934],{"id":933},"local-data-binding","Local data binding",[11,936,937,938,133,941,133,944,947,948,704,952,956],{},"We've set the ",[18,939,940],{},"initial",[126,942,943],{},"_local",[18,945,946],{},"object that you can use to define page-focused data",", such as short repeatable strings or URLs that may be referenced multiple times on the page or with the ",[23,949,951],{"label":950},"`DlLink`","$docs-components-link",[23,953,955],{"label":954},"`DlTooltip`","$docs-components-tooltip"," components. Here’s how you can define it:",[210,958,959],{"tabs":744},[213,960,963],{"className":961,"code":962,"language":750,"meta":219},[748],"---\ntitle: Your Page Title\ndescription: Your Page Description\n_local:\n  customProperty: custom value\n---\n\nMy {{ $doc._local.customProperty }} will be displayed here.\n\n\u003C!-- results in: My custom value will be displayed here. -->\n\"cref:znnj8a\"\n",[126,964,962],{"__ignoreMap":219},[11,966,967,968,971,972,974],{},"With this approach, ",[18,969,970],{},"you don't need to add new data fields to the content schema"," for local, page-specific information - just use the ",[126,973,943],{}," object as needed.",[242,976,978],{"id":977},"global-data-binding","Global data binding",[11,980,981,982,985,986,989,990,993,994,157],{},"For global data that you want to use across multiple pages, you can use the ",[126,983,984],{},"dl.inDocData"," object, which is defined within your application's configuration. This data is automatically injected into each page's context and can be accessed using ",[126,987,988],{},"$doc.\u003Cglobal-field-name>",". Note that ",[18,991,992],{},"locally defined data always takes precedence over global data",". ",[835,995,839],{":data":996,"inline":838},"{\"about\": \"the internal setup of `dl.inDocData` object\", \"link\": \"$docs-guidelines-configuration\", \"hash\": \"dlindocdata\"}",[96,998,1000,1003,1010,1035,1049],{"id":999},"headings",[162,1001,1002],{"id":999},"Headings",[11,1004,1005,1006,1009],{},"To organize and structure your content effectively, ",[18,1007,1008],{},"it's essential to use headings throughout your pages",". Headings not only break up your content for better readability, but also help users navigate to specific sections and builds the Table of Contents (right-side panel).",[11,1011,1012,1013,1016,1017,1020,1021,405,1024,133,1027,1030,1031,1034],{},"DocLayer, together with its dedicated layout structure and ",[37,1014,819],{"href":1015},"#markdownlint",", ensures a clear and accessible heading hierarchy, that supports both accessibility and SEO best practices. By default, the ",[126,1018,1019],{},"H1"," heading is reserved for the main page title and appears at the top of it. All other headings should be used respectively within the page content. ",[126,1022,1023],{},"H2",[126,1025,1026],{},"H3",[18,1028,1029],{},"headings are recognized as a key navigation points and are included in the page's Table of Contents"," (right-side panel of the content page). Additional headings (",[126,1032,1033],{},"H4"," and below) can be used as needed to further organization of your content - generating links - into sections and subsections.",[11,1036,1037,1038,1040,1041,1043,1044,1048],{},"Behind the scenes, each top-level ",[126,1039,1023],{}," \u002F ",[126,1042,1026],{}," block is wrapped in a ",[23,1045,1047],{"label":1046},"`DlSection`","$docs-components-section"," so the ToC can track the full section (not only the heading element). You keep writing plain Markdown - the wrapper is applied in memory before parse.",[51,1050,1051],{"title":53},[11,1052,1053,1054,1057,1058,1060,1061,1064],{},"Search engines (like Google) ",[18,1055,1056],{},"no longer rely strictly on heading hierarchy for SEO",", so headings can technically be used interchangeably. However, for the best accessibility and reading experience, it's still important to maintain the correct order - from ",[126,1059,1023],{}," to ",[126,1062,1063],{},"H6"," (within the content).",[96,1066,1068,1071,1087,1095,1101,1104,1108,1111,1119,1129,1136,1144,1157,1168,1176,1180,1195,1203,1213,1217,1224,1232,1253,1269,1273,1276,1284,1297,1309,1313,1316,1319,1327,1334,1342,1350],{"id":1067},"components",[162,1069,1070],{"id":1067},"Components",[11,1072,1073,1075,1076,1081,1082,1086],{},[23,1074,25],{}," includes the ",[18,1077,1078],{},[23,1079,1080],{},"$mdc"," parser, allowing you to use both Vue and ",[115,1083,1085],{"tooltip":1084},"regular HTML elements","native components"," directly within your Markdown files.",[11,1088,1089,1090,1094],{},"In addition, DocLayer provides a unified set of ",[23,1091,1093],{"label":1092},"built-in Vue components","$docs-components"," to help you enrich your content. These components are thoughtfully designed to work seamlessly with your Markdown, offering enhanced functionality and interactivity.",[11,1096,1097,1098,157],{},"Below is a brief guide on how to use both types (block & inline) of components in your content, and to learn how to use any custom specific component please refer to the ",[23,1099,1093],{"label":1100},"full list here",[11,1102,1103],{},"There are two main component types you can use:",[242,1105,1107],{"id":1106},"block-component","Block component",[11,1109,1110],{},"These are ideal for displaying larger or more complex content, such as code blocks, tabs, or callouts. To define them you need to use this type of notation within your Markdown files:",[210,1112,1113],{"tabs":744},[213,1114,1117],{"className":1115,"code":1116,"language":750,"meta":219},[748],"::block-component\n\nYour component content goes here.\n\n::\n\"cref:af9h7w\"\n",[126,1118,1116],{"__ignoreMap":219},[11,1120,1121,1122,1125,1126,157],{},"This notation can be also used to define a ",[115,1123,1124],{"tooltip":1084},"native block components"," like ",[126,1127,1128],{},"div",[11,1130,1131,1132,1135],{},"Everything what you put inside the block will be treated by Vue as a default slot, any named slot should be prefixed with ",[126,1133,1134],{},"#slot-name"," notation. Like this:",[210,1137,1138],{"tabs":744},[213,1139,1142],{"className":1140,"code":1141,"language":750,"meta":219},[748],"::block-component\n\nYour default slot content goes here.\n\n#slot-name\nYour named slot content goes here.\n\n::\n\"cref:eltbk2\"\n",[126,1143,1141],{"__ignoreMap":219},[51,1145,1146],{"title":53,"type":86},[11,1147,1148,1149,1152,1153,157],{},"On ",[18,1150,1151],{},"how to define components and their internals you can read within the MDC documentation"," and dedicated guide that ",[23,1154,1156],{"label":1155},"can be found here","$remark-mdc",[11,1158,1159,1160,1163,1164,1167],{},"Sometimes ",[18,1161,1162],{},"when you're nesting content components, you may encounter readability issues"," - especially if the parent component is very wide, making it difficult to see where it starts and ends. To solve this, simply use additional ",[126,1165,1166],{},":"," delimiters to wrap the content of the parent component. Like this:",[210,1169,1170],{"tabs":744},[213,1171,1174],{"className":1172,"code":1173,"language":750,"meta":219},[748],"::block-component\n\nYour component content goes here.\n\n:::block-component\n\nYour component content goes here.\n\n:::\n\n::\n\"cref:haqiua\"\n",[126,1175,1173],{"__ignoreMap":219},[242,1177,1179],{"id":1178},"inline-components","Inline components",[11,1181,1182,1183,704,1186,1189,1190,704,1192,1194],{},"Best for simple, in-line elements like ",[23,1184,951],{"label":1185},"links",[23,1187,955],{"label":1188},"tooltips",". It's also a perfect solution to use native HTML elements like ",[126,1191,126],{},[126,1193,11],{},". This is how you can define these components:",[210,1196,1197],{"tabs":744},[213,1198,1201],{"className":1199,"code":1200,"language":750,"meta":219},[748],":inline-component[slot content]\n\n:code[some code here]\n\n:p[some content inside paragraph]\n\"cref:dp177b\"\n",[126,1202,1200],{"__ignoreMap":219},[51,1204,1206],{"title":1205,"type":86},"Side note",[11,1207,1208,1209,1212],{},"Interestingly ",[18,1210,1211],{},"any inline component can technically be defined using block syntax"," as well. However, this is rarely practical, since inline components are only meant to handle the default slot and to be used directly within the content flow.",[242,1214,1216],{"id":1215},"defining-properties","Defining properties",[11,1218,1219,1220,1223],{},"Finally, it's worth mentioning that all properties for MDC components should be added inside curly braces ",[126,1221,1222],{},"{}",", written as strings and separated by spaces. Like this:",[210,1225,1226],{"tabs":744},[213,1227,1230],{"className":1228,"code":1229,"language":750,"meta":219},[748],":inline-component[content]{first-prop=\"first prop data\" second-prop=\"second prop data\"}\n\n::block-component{first-prop=\"first prop data\" second-prop=\"second prop data\"}\n\ncontent\n\n::\n\"cref:yu5axn\"\n",[126,1231,1229],{"__ignoreMap":219},[11,1233,1234,1235,78,1238,1241,1242,1245,1246,993,1249,1252],{},"Properties also include native attributes like ",[126,1236,1237],{},"style",[126,1239,1240],{},"class",", or ",[126,1243,1244],{},"attr",". However, these can only be applied to ",[115,1247,1085],{"tooltip":1248},"regular HTML components",[23,1250,1093],{"label":1251},"Custom components"," have their own properties that are handled separately.",[11,1254,1255,1256,704,1259,1262,1263,704,1266,157],{},"In most cases, values passed to properties should be strings. However, sometimes you may need to pass a boolean value. You can do this by providing the value as a string, like ",[126,1257,1258],{},"prop=\"true\"",[126,1260,1261],{},"prop=\"false\"",", or by using the boolean value directly, like ",[126,1264,1265],{},"prop=true",[126,1267,1268],{},"prop=false",[242,1270,1272],{"id":1271},"defining-dynamic-properties","Defining dynamic properties",[11,1274,1275],{},"If you want to pass primitive dynamic data to a component property, you can define the property as such. For example:",[210,1277,1278],{"tabs":744},[213,1279,1282],{"className":1280,"code":1281,"language":750,"meta":219},[748],"---\ndynamicData: dynamic value\n---\n\n:inline-component[content]{:prop=\"dynamicData\"}\n\"cref:2uxktb\"\n",[126,1283,1281],{"__ignoreMap":219},[11,1285,1286,1287,1290,1291,1293,1294,157],{},"However, ",[18,1288,1289],{},"any dynamic data defined locally (file-based) must be registered and set within the collection schema"," to be recognized, which can be confusing, often leading to unexpected behavior. To avoid that we've added a dedicated ",[126,1292,943],{}," object that you can use to handle page-focused data. ",[835,1295,839],{":data":1296,"inline":838},"{\"about\": \"the internal setup of `_local` object\", \"link\": \"$docs-guidelines-writing-content\", \"hash\": \"local-data-binding\"}",[51,1298,1299],{"title":53,"type":86},[11,1300,1301,1302,1305,1306,157],{},"To ensure convenient, consistent, and fast usage, we provide an \"extending props\" mechanism that can process any dynamic data you define, whether global or local. This feature is a part of the ",[126,1303,1304],{},"DlWrapper"," component, which serves as the foundation for all custom content components. ",[835,1307,839],{":data":1308,"inline":838},"{\"about\": \"dynamic data setup within `DlWrapper` component\", \"link\": \"$docs-components-building\", \"hash\": \"dlwrapper\"}",[242,1310,1312],{"id":1311},"resolving-slots","Resolving slots",[11,1314,1315],{},"Block and inline components resolve slots differently. Block components can use named slots, while inline components only support the default slot.",[11,1317,1318],{},"This is how it's resolved:",[210,1320,1321],{"tabs":744},[213,1322,1325],{"className":1323,"code":1324,"language":750,"meta":219},[748],":inline-component[default slot resolves here]\n\n::block-component\n\ndefault slot resolves here\n\n#named\nnamed slot resolves here\n\n::\n\"cref:8blhxe\"\n",[126,1326,1324],{"__ignoreMap":219},[11,1328,1329,1330,1333],{},"It's worth noting that ",[18,1331,1332],{},"slots can resolve primitive dynamic data",", such as strings and\u002For numbers. However, keep in mind that Vue's internal parsing may strip out special characters, so using advanced Markdown formatting is not recommended. Use it like this:",[210,1335,1336],{"tabs":744},[213,1337,1340],{"className":1338,"code":1339,"language":750,"meta":219},[748],":inline-component[{{ $doc.title }}]\n\"cref:4rwwbb\"\n",[126,1341,1339],{"__ignoreMap":219},[11,1343,1344,1345,1349],{},"If you want to include Markdown formatting, it's best to use the ",[23,1346,1348],{"label":1347},"`DlFormat` component","$docs-components-format"," within the slot, like this:",[210,1351,1352],{"tabs":744},[213,1353,1356],{"className":1354,"code":1355,"language":750,"meta":219},[748],":inline-component[:dl-format[{{ $doc.title }}]]\n\"cref:3lzwvr\"\n",[126,1357,1355],{"__ignoreMap":219},[96,1359,1361,1364],{"id":1360},"shared-components",[162,1362,1363],{"id":1360},"Shared components",[11,1365,1366,1367,1372,1373,1377,1378,157],{},"Sometimes, you may want to reuse the same component in multiple pages or collections. Since ",[18,1368,1369,1371],{},[23,1370,25],{}," does not natively support strictly shared Markdown components",", we provide the ",[23,1374,1376],{"label":1375},"`DlRenderer`","$docs-components-renderer"," component, which lets you ",[18,1379,1380],{},"render any shared segment of Markdown code",[96,1382,1384,1387],{"id":1383},"recipes",[99,1385,1386],{"id":1383},"Recipes",[11,1388,1389],{},"There may be situations where you want to extend Markdown's capabilities, but the solution isn't immediately obvious. Here are some ideas to help you make your content even better.",[96,1391,1393,1396,1399,1407,1418,1433,1437,1452],{"id":1392},"displaying-code-within-tables",[162,1394,1395],{"id":1392},"Displaying code within tables",[11,1397,1398],{},"Formatting tables in Markdown can be tricky, especially if you want more control over the content inside each cell, like adding code. Inline components are a great solution for this. For example, if you want to include a code snippet inside a table cell without too much extra markup, you can do something like this:",[210,1400,1401],{"tabs":744},[213,1402,1405],{"className":1403,"code":1404,"language":750,"meta":219},[748],"\u003C!-- header of your table -->\n\n| :dl-code-inline{code=\"Record\u003Cstring, string>\"} | table cell content |\n\n\u003C!-- the rest of your table -->\n\"cref:jrbfla\"\n",[126,1406,1404],{"__ignoreMap":219},[11,1408,1409,1410,1413,1414,1417],{},"This approach is especially useful when defining types - such as unions - where the ",[126,1411,1412],{},"|"," separator would otherwise break the table formatting. On the other hand you can always escape this separator by using the ",[126,1415,1416],{},"\\"," character.",[11,1419,1420,1421,78,1423,1426,1427,1429,1430,157],{},"You can do the same also with native HTML elements. Use tags like ",[126,1422,11],{},[126,1424,1425],{},"span",", or any other text\u002Finline elements you need. Style them (with ",[126,1428,1237],{}," prop) within the table accordingly, they will be properly rendered inside the Markdown table. Finally, it's also possible to use any of ",[23,1431,1093],{"label":1432},"DocLayer's inline components",[242,1434,1436],{"id":1435},"displaying-block-level-components-within-the-table-cells","Displaying block-level components within the table cells",[11,1438,1439,1440,1442,1443,1446,1447,1451],{},"Additionally, to display code blocks within table cells, you can use the ",[23,1441,1376],{"label":1375}," component together with a shared Markdown component (placed in the ",[126,1444,1445],{},"_shared"," directory) that contains the ",[23,1448,1450],{"label":1449},"`DlCode`","$docs-components-code"," block. Here’s how you can do it:",[210,1453,1455,1461],{"tabs":1454},"code-component.md, content.md",[213,1456,1459],{"className":1457,"code":1458,"language":750,"meta":219},[748],"::dl-code\n\n```ts\nconst value = 'some value';\n```\n\n::\n\"cref:55vkk7\"\n",[126,1460,1458],{"__ignoreMap":219},[213,1462,1465],{"className":1463,"code":1464,"language":750,"meta":219},[748],"| :dl-renderer[rref:code-component] | table cell content |\n",[126,1466,1464],{"__ignoreMap":219},[96,1468,1470,1474,1484,1491],{"id":1469},"making-table-s-first-column-sticky",[162,1471,1473],{"id":1472},"making-tables-first-column-sticky","Making table's first column sticky",[11,1475,1159,1476,1479,1480,1483],{},[18,1477,1478],{},"when you're using tables for comparisons"," and the ",[18,1481,1482],{},"content exceeds the normal table width",", it can be difficult to keep track of the first column, which usually contains the item definition. In these cases, it's helpful to make the first column sticky so it stays visible while you scroll horizontally.",[11,1485,1486,1487,1490],{},"To achieve that just ",[18,1488,1489],{},"leave the first row heading cell empty",". Like this:",[210,1492,1493],{"tabs":744},[213,1494,1497],{"className":1495,"code":1496,"language":750,"meta":219},[748],"| | table heading cell content |\n\"cref:d84xef\"\n",[126,1498,1496],{"__ignoreMap":219},[96,1500,1502,1510,1518],{"id":1501},"style-instead-of-class-for-native-components",[162,1503,1504,1506,1507,1509],{"id":1501},[126,1505,1237],{}," instead of ",[126,1508,1240],{}," for native components",[11,1511,1512,1513,704,1515,1517],{},"Sometimes when you're using native inline components, like ",[126,1514,1128],{},[126,1516,11],{},", you may want to add some styling to them. Since Tailwind CSS is available, you might be tempted to use utility classes. However, during rendering, these classes may not always be recognized or applied - especially if you use custom values for e.g., sizes, colors, etc. Instead of using classes, use plain inline styles, like this:",[210,1519,1520],{},[213,1521,1524],{"className":1522,"code":1523,"language":750,"meta":219},[748],":div[Some content inside your div block]{style=\"width: 10rem;\"}\n\"cref:qtc356\"\n",[126,1525,1523],{"__ignoreMap":219},[96,1527,1529,1532],{"id":1528},"vscode-tricks",[99,1530,1531],{"id":1528},"VSCode Tricks",[11,1533,1534],{},"While creating new content, we've found several helpful workflow tips that can make working with content more efficient and effective.",[96,1536,1538,1541],{"id":1537},"content-soft-wrap",[162,1539,1540],{"id":1537},"Content soft wrap",[11,1542,1543,1544,1546,1547,30,1551,1554,1555,1558],{},"When you start with ",[23,1545,506],{},", VSCode settings may have long line wrapping disabled. This often happens due to formatting issues with elements like tables. To quickly enable word wrapping for improved readability - especially for long paragraphs or complex table layouts - use the ",[1548,1549,1550],"nuxt-kbd",{},"Alt",[1548,1552,1553],{},"Option"," on Mac) + ",[1548,1556,1557],{},"Z"," keyboard shortcut.",[96,1560,1562,1565,1577,1580,1624],{"id":1561},"markdown-breadcrumbs",[162,1563,1564],{"id":1561},"Markdown breadcrumbs",[11,1566,1567,1568,1576],{},"When editing large documentation files or nested content, it's useful to quickly understand where you are in the document structure. ",[18,1569,1570,1571,1575],{},"VSCode displays ",[115,1572,1574],{"tooltip":1573,"lock-width":838},"Breadcrumbs (or a breadcrumb trail) are a secondary navigation system. They visually display a user's location within a site’s hierarchy and allow for quick jumps to higher-level pages or sections.","breadcrumbs"," at the top of the editor for Markdown files",", outlining the current heading hierarchy.",[11,1578,1579],{},"If breadcrumbs aren't visible, you can enable them via:",[1581,1582,1583,1596],"ol",{},[172,1584,1585,1588,1589,1592,1593,157],{},[18,1586,1587],{},"Menu:"," Go to ",[126,1590,1591],{},"View"," → ",[126,1594,1595],{},"Show Breadcrumbs",[172,1597,1598,1601,1602,1605,1606,1605,1609,1612,1613,1605,1616,1605,1618,1620,1621,157],{},[18,1599,1600],{},"Command Palette:"," Open with ",[1548,1603,1604],{},"Ctrl"," + ",[1548,1607,1608],{},"Shift",[1548,1610,1611],{},"P"," (Windows\u002FLinux) or ",[1548,1614,1615],{},"Cmd",[1548,1617,1608],{},[1548,1619,1611],{}," (Mac), you'll see the top-located panel, then search for ",[126,1622,1623],{},"> View: Toggle Breadcrumbs",[11,1625,1626],{},"Breadcrumbs help you navigate your Markdown headings efficiently by letting you click any part of the path to quickly jump between sections or headings in your file.",[96,1628,1630,1634,1651],{"id":1629},"support-for-tailwind-s-custom-utilities",[162,1631,1633],{"id":1632},"support-for-tailwinds-custom-utilities","Support for Tailwind's custom utilities",[11,1635,1636,1637,1640,1641,1643,1644,78,1647,1650],{},"To ensure full editor support and autocomplete for all custom Tailwind CSS utilities and directives used in this project, a ",[126,1638,1639],{},".vscode\u002Ftailwind.json"," file is included with ",[23,1642,506],{},". You don’t need to manually edit or use this file during content authoring - instead, it exists so VSCode can recognize project-specific extensions like ",[126,1645,1646],{},"@utility",[126,1648,1649],{},"@apply"," or custom design tokens when you're editing CSS and other files that use Tailwind syntax.",[11,1652,1653,1654,1656],{},"You don't have to manage or update ",[126,1655,1639],{}," yourself - it's maintained in the project so the editor can offer a seamless content and styling workflow with all custom Tailwind rules available.",[96,1658,1660,1663,1666,1669,1705],{"id":1659},"reloading-typescript-server",[162,1661,1662],{"id":1659},"Reloading TypeScript server",[11,1664,1665],{},"If you find that editor features like autocompletion or type-checking aren't working correctly - especially after updating dependencies, making changes to types, or installing new modules - you may need to reload the TypeScript server in VSCode. This ensures you get up-to-date intellisense and error reporting for your Markdown or code files.",[11,1667,1668],{},"To reload the TypeScript server:",[1670,1671,1672,1691],"dl-stepper",{},[369,1673,1674],{"v-slot:step-1|Open command palette":219},[11,1675,1676,1677,1605,1679,1605,1681,1683,1684,1605,1686,1605,1688,1690],{},"Open the command palette with ",[1548,1678,1604],{},[1548,1680,1608],{},[1548,1682,1611],{}," (or ",[1548,1685,1615],{},[1548,1687,1608],{},[1548,1689,1611],{}," on Mac). You'll see the top-located panel.",[369,1692,1693],{"v-slot:step-2|Restart server":219},[11,1694,1695,1696,1700,1701,1704],{},"Start typing “",[1697,1698,1699],"em",{},"> TypeScript: Reload Project","” or “",[1697,1702,1703],{},"> TypeScript: Restart TS server","” and select the relevant command from the dropdown.",[11,1706,1707,1708,1711,1712,157],{},"You should notice that autocompletion and type-checking are restored almost immediately. This is particularly helpful after major edits to ",[126,1709,1710],{},".d.ts"," files or when new packages are introduced. The ",[18,1713,1714,1715,704,1719,1722],{},"procedure might be also valid after restarting the app after rebuilding ",[23,1716,1718],{"label":655,"hash":1717},"dlpathmap","$docs-guidelines-configuration",[23,1720,1376],{"label":1721},"component"," registries",{"title":219,"searchDepth":1724,"depth":1724,"links":1725},2,[1726,1734,1741,1748,1754],{"id":40,"depth":1724,"text":101,"children":1727},[1728,1730,1731,1732,1733],{"id":160,"depth":1729,"text":164},3,{"id":294,"depth":1729,"text":297},{"id":329,"depth":1729,"text":332},{"id":395,"depth":1729,"text":398},{"id":478,"depth":1729,"text":481},{"id":568,"depth":1724,"text":571,"children":1735},[1736,1737,1738,1739,1740],{"id":610,"depth":1729,"text":613},{"id":678,"depth":1729,"text":681},{"id":694,"depth":1729,"text":697},{"id":725,"depth":1729,"text":728},{"id":755,"depth":1729,"text":758},{"id":800,"depth":1724,"text":803,"children":1742},[1743,1744,1745,1746,1747],{"id":816,"depth":1729,"text":819},{"id":660,"depth":1729,"text":844},{"id":999,"depth":1729,"text":1002},{"id":1067,"depth":1729,"text":1070},{"id":1360,"depth":1729,"text":1363},{"id":1383,"depth":1724,"text":1386,"children":1749},[1750,1751,1752],{"id":1392,"depth":1729,"text":1395},{"id":1472,"depth":1729,"text":1473},{"id":1501,"depth":1729,"text":1753},"style instead of class for native components",{"id":1528,"depth":1724,"text":1531,"children":1755},[1756,1757,1758,1759],{"id":1537,"depth":1729,"text":1540},{"id":1561,"depth":1729,"text":1564},{"id":1632,"depth":1729,"text":1633},{"id":1659,"depth":1729,"text":1662},"Write Markdown with Nuxt Content, DocLayer and prebuilt utilities","md",{},true,"\u002Fdocs\u002Fguidelines\u002Fwriting-content",{"title":5,"description":1760},{"loc":1764},"docs\u002F02.guidelines\u002F04.writing-content","pi68VRlaPPRxs319imUG59UPErDiM2Uy8okUdevn9Jo",[1770],{"title":1771,"path":667,"stem":176,"children":1772,"page":1818},"Docs",[1773,1791,1819,1928,1957,1988,2011,2026,2068,2089],{"title":1774,"path":646,"stem":1775,"children":1776,"description":6,"icon":1790},"Getting Started","docs\u002F01.getting-started\u002F01.index",[1777,1780,1785],{"title":1778,"path":646,"stem":1775,"description":1779},"Introduction","What DocLayer is, who it’s for, and how it can help",{"title":1781,"path":1782,"stem":1783,"description":1784},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F01.getting-started\u002F02.installation","How to install and run DocLayer",{"title":1786,"path":1787,"stem":1788,"description":1789},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":1792,"description":6,"icon":1793,"path":1794,"stem":1795,"children":1796,"page":1818},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[1797,1802,1807,1808,1813],{"title":1798,"path":1799,"stem":1800,"description":1801},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":1803,"path":1804,"stem":1805,"description":1806},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":5,"path":1764,"stem":1767,"description":1760},{"title":1809,"path":1810,"stem":1811,"description":1812},"Defining Metadata","\u002Fdocs\u002Fguidelines\u002Fdefining-metadata","docs\u002F02.guidelines\u002F05.defining-metadata","Set global and per-page SEO metadata for your DocLayer app",{"title":1814,"path":1815,"stem":1816,"description":1817},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":1070,"path":1820,"stem":1821,"children":1822,"description":6,"label":1778,"icon":1927},"\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[1823,1826,1831,1836,1841,1846,1851,1856,1861,1866,1871,1876,1881,1886,1892,1897,1902,1907,1912,1917,1922],{"title":1824,"path":1820,"stem":1821,"description":1825,"label":1778},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":1827,"path":1828,"stem":1829,"description":1830,"label":1304},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper",{"title":1832,"path":1833,"stem":1834,"description":1835},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":1837,"path":1838,"stem":1839,"description":1840},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":1842,"path":1843,"stem":1844,"description":1845},"DlCode","\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":1847,"path":1848,"stem":1849,"description":1850},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":1852,"path":1853,"stem":1854,"description":1855},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":1847,"path":1857,"stem":1858,"description":1850,"badge":1859},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":1860,"glow":1763},"new",{"title":1862,"path":1863,"stem":1864,"description":1865},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":1867,"path":1868,"stem":1869,"description":1870},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":1872,"path":1873,"stem":1874,"description":1875},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":1877,"path":1878,"stem":1879,"description":1880},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":1882,"path":1883,"stem":1884,"description":1885},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":1887,"path":1888,"stem":1889,"description":1890,"badge":1891},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":1860,"glow":1763},{"title":1893,"path":1894,"stem":1895,"description":1896},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":1898,"path":1899,"stem":1900,"description":1901},"DlGrid","\u002Fdocs\u002Fcomponents\u002Fgrid","docs\u002F03.components\u002F14.grid","Lay out named content items in a responsive grid",{"title":1903,"path":1904,"stem":1905,"description":1906},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":1908,"path":1909,"stem":1910,"description":1911},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":1913,"path":1914,"stem":1915,"description":1916},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":1918,"path":1919,"stem":1920,"description":1921},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":1923,"path":1924,"stem":1925,"description":1926},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":1929,"path":1930,"stem":1931,"children":1932,"description":6,"label":1778,"icon":1956},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[1933,1936,1940,1945,1950],{"title":1934,"path":1930,"stem":1931,"description":1935,"label":1778},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":1929,"path":1937,"stem":1938,"description":1939},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":1941,"path":1942,"stem":1943,"description":1944},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":1946,"path":1947,"stem":1948,"description":1949},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":1951,"path":1952,"stem":1953,"description":1954,"label":1955},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":1958,"path":1959,"stem":1960,"children":1961,"description":6,"label":1965,"icon":1987},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[1962,1966,1971,1977,1982],{"title":1963,"path":1959,"stem":1960,"description":1964,"label":1965},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":1967,"path":1968,"stem":1969,"description":1970},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":1972,"path":1973,"stem":1974,"description":1975,"label":1972,"badge":1976},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":1860,"glow":1763},{"title":1978,"path":1979,"stem":1980,"description":1981},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":1983,"path":1984,"stem":1985,"description":1986},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":1989,"path":1990,"stem":1991,"children":1992,"description":6,"label":1778,"icon":2010},"Search ✨","\u002Fdocs\u002Fsearch","docs\u002F06.search\u002F01.index",[1993,1996,2001,2005],{"title":1994,"path":1990,"stem":1991,"description":1995,"label":1778},"Search Module Introduction","Brief intro into built-in DocLayer’s Search Module",{"title":1997,"path":1998,"stem":1999,"description":2000},"Installation & Usage","\u002Fdocs\u002Fsearch\u002Fusage","docs\u002F06.search\u002F02.usage","Wire DocLayer’s Search Module into your app",{"title":1803,"path":2002,"stem":2003,"description":2004},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":2006,"path":2007,"stem":2008,"description":2009},"API Reference","\u002Fdocs\u002Fsearch\u002Freference","docs\u002F06.search\u002F04.reference","API reference for DocLayer’s Search Module","scan-search",{"title":2012,"path":2013,"stem":2014,"children":2015,"description":6,"icon":2025},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[2016,2019],{"title":2017,"path":2013,"stem":2014,"description":2018},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":2020,"path":2021,"stem":2022,"description":2023,"label":2024},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":2027,"description":6,"icon":2028,"path":2029,"stem":2030,"children":2031,"page":1818},"Advanced","file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[2032,2038,2043,2048,2053,2058,2063],{"title":2033,"path":2034,"stem":2035,"description":2036,"label":2037},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":2039,"path":2040,"stem":2041,"description":2042},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":2044,"path":2045,"stem":2046,"description":2047},"CLI","\u002Fdocs\u002Fadvanced\u002Fcli","docs\u002F09.advanced\u002F04.cli","Use Command Line Interface to extensively menage your DocLayer project",{"title":2049,"path":2050,"stem":2051,"description":2052},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":2054,"path":2055,"stem":2056,"description":2057},"AI Tuning","\u002Fdocs\u002Fadvanced\u002Fai-tuning","docs\u002F09.advanced\u002F06.ai-tuning","Templates and rules for AGENTS.md, coding agents, and content-author AI",{"title":2059,"path":2060,"stem":2061,"description":2062},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":2064,"path":2065,"stem":2066,"description":2067},"Troubleshooting","\u002Fdocs\u002Fadvanced\u002Ftroubleshooting","docs\u002F09.advanced\u002F08.troubleshooting","Known DocLayer issues and quick fixes",{"title":2069,"description":6,"icon":2070,"path":2071,"stem":2072,"children":2073,"page":1818},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[2074,2079,2084],{"title":2075,"path":2076,"stem":2077,"description":2078},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":2080,"path":2081,"stem":2082,"description":2083},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":2085,"path":2086,"stem":2087,"description":2088},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":2006,"description":6,"icon":2090,"path":2091,"stem":2092,"children":2093,"page":1818},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[2094,2099,2104],{"title":2095,"path":2096,"stem":2097,"description":2098},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":2100,"path":2101,"stem":2102,"description":2103},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":2105,"path":2106,"stem":2107,"description":2108},"Content Schema","\u002Fdocs\u002Freference\u002Fcontent-schema","docs\u002F99.reference\u002F02.content-schema","API Reference for DocLayer’s Content Schema",[2110,2132,2153,2174,2205,2221,2239,2265,2285,2330,2350,2362,2378,2395,2407,2467,2485,2511,2536,2567,2611,2638],{"id":2111,"data":6,"extension":1761,"meta":2112,"stem":2130,"__hash__":2131},"shared\u002Fcode-type-header-logo-path.md",{"body":2113},{"type":8,"value":2114,"toc":2128},[2115],[210,2116,2117,2123],{},[213,2118,2121],{"className":2119,"code":2120,"language":218,"meta":219},[216],"type DocLayerConfig = {\n  \u002F\u002F rest of the AppConfig interface\n  headerLogoPath:\n    | string\n    | {\n        light: string;\n        dark: string;\n        fallback?: string;\n      };\n};\n\"cref:k9e5ul\"\n",[126,2122,2120],{"__ignoreMap":219},[369,2124,2125],{"v-slot:ui":219},[11,2126,2127],{},"{\"actions\": \"hidden\", \"base\": \"mt-0!\"}",{"title":219,"searchDepth":1724,"depth":1724,"links":2129},[],"code-type-header-logo-path","551Sg_POiUffLU346shstXNFdKuMuK4ToyOLqIJp1Ws",{"id":2133,"data":6,"extension":1761,"meta":2134,"stem":2151,"__hash__":2152},"shared\u002Fcode-type-module-options-root-prep.md",{"body":2135},{"type":8,"value":2136,"toc":2149},[2137],[210,2138,2139,2145],{},[213,2140,2143],{"className":2141,"code":2142,"language":218,"meta":219},[216],"type ModuleOptions = {\n  rootPrep:\n    | {\n        components: boolean;\n        configs: boolean;\n        public: boolean;\n      }\n    | boolean;\n};\n\"cref:bqm9nh\"\n",[126,2144,2142],{"__ignoreMap":219},[369,2146,2147],{"v-slot:ui":219},[11,2148,2127],{},{"title":219,"searchDepth":1724,"depth":1724,"links":2150},[],"code-type-module-options-root-prep","CDd6YiejS7_3Pl2ETS054y-cran1P92f4jEUZTnpnOI",{"id":2154,"data":6,"extension":1761,"meta":2155,"stem":2172,"__hash__":2173},"shared\u002Fcode-type-search-debug-options.md",{"body":2156},{"type":8,"value":2157,"toc":2170},[2158],[210,2159,2160,2166],{},[213,2161,2164],{"className":2162,"code":2163,"language":218,"meta":219},[216],"type DebugOptions =\n  | {\n      mint: boolean;\n      parser: boolean;\n      assistant: boolean;\n      compression: boolean;\n    }\n  | boolean;\n\"cref:4kwyr2\"\n",[126,2165,2163],{"__ignoreMap":219},[369,2167,2168],{"v-slot:ui":219},[11,2169,2127],{},{"title":219,"searchDepth":1724,"depth":1724,"links":2171},[],"code-type-search-debug-options","9sgMqYFmn561p6df7FEuf-1-dyKAqrO_HYGdARynLlA",{"id":2175,"data":6,"extension":1761,"meta":2176,"stem":2203,"__hash__":2204},"shared\u002Finline-read-more-about.md",{"body":2177},{"type":8,"value":2178,"toc":2201},[2179],[11,2180,2184,2185,78,2190],["Reactive",2181],{"className":2182},[2183],"mt-0!","More about ",["Reactive",2186],[2187,2188],"dl-format",{":content":2189},"about",["Reactive",2191],[23,2192,2194,1412,2198],{"label":2193},"you can read here",[2195,2196],"binding",{"value":2197},"$doc.link",[2195,2199],{"value":2200},"$doc.hash",{"title":219,"searchDepth":1724,"depth":1724,"links":2202},[],"inline-read-more-about","O5VeK2Uv84witk_mAupYbHJxwXAmNoSKDgtmvyvLQwU",{"id":2206,"data":6,"extension":1761,"meta":2207,"stem":2219,"__hash__":2220},"shared\u002Fsection-exported-types.md",{"body":2208},{"type":8,"value":2209,"toc":2217},[2210],[11,2211,2212,2213,2216],{},"You can refer to the exported types, which are available for use throughout your application. All of them can be accessed from the ",[126,2214,2215],{},"@vuehouse\u002Fdl\u002Ftypes"," entrypoint.",{"title":219,"searchDepth":1724,"depth":1724,"links":2218},[],"section-exported-types","SyCNSGhT7VGICRHuO3fNO2QfyQUf7s10wVMGQyTfBFk",{"id":2222,"data":6,"extension":1761,"meta":2223,"stem":2237,"__hash__":2238},"shared\u002Fsection-highlighter-marker-disclaimer.md",{"body":2224},{"type":8,"value":2225,"toc":2235},[2226],[2227,2228,2229],"blockquote",{},[11,2230,412,2231,2234],{},[126,2232,2233],{},"!"," character has been escaped manually to demonstrate the code usage, remove the backslash when using it.",{"title":219,"searchDepth":1724,"depth":1724,"links":2236},[],"section-highlighter-marker-disclaimer","DvlAILaQ9PE_c-B8f_1AYbrRaXRnOq9Ldr_Uc8qwkqE",{"id":2240,"data":6,"extension":1761,"meta":2241,"stem":2263,"__hash__":2264},"shared\u002Fsection-newly-added.md",{"body":2242},{"type":8,"value":2243,"toc":2261},[2244],[51,2245,2246],{"title":53},[11,2247,2248,2252,2253,2260],{},[2249,2250,1860],"dl-badge",{":iui":2251,"glow":838,"size":1761},"{ \"base\": \"mr-1 align-text-top\" }"," Available from the ",[126,2254,2257],{"className":2255},[2256],"whitespace-nowrap",[2195,2258],{"value":2259},"$doc.version"," release.",{"title":219,"searchDepth":1724,"depth":1724,"links":2262},[],"section-newly-added","ALhVdWjkGXgjt6I9nIikz7fUkwkGy62V3bicM903qW8",{"id":2266,"data":6,"extension":1761,"meta":2267,"stem":2283,"__hash__":2284},"shared\u002Fsection-optional-tool.md",{"body":2268},{"type":8,"value":2269,"toc":2281},[2270],[51,2271,2272],{"title":53,"type":86},[11,2273,2274,2275,688,2278,157],{},"This tool is not a part of the DocLayer module. Its usage is opinionated and ",[18,2276,2277],{},"optionally included",[23,2279,506],{"label":2280},"Boilerplate application",{"title":219,"searchDepth":1724,"depth":1724,"links":2282},[],"section-optional-tool","OWRAq0rKvbIllQHS-mJRS8L2qkNiiQ8RMiFBIBiZmnY",{"id":2286,"data":6,"extension":1761,"meta":2287,"stem":2328,"__hash__":2329},"shared\u002Fsection-props-extending.md",{"body":2288},{"type":8,"value":2289,"toc":2326},[2290],[51,2291,2293,2304],{"title":2292,"type":86},"Why to use built-in property extending?",[11,2294,2295,2296,2303],{},"You might ask ",[18,2297,2298,2299],{},"why this approach is better than simply ",[23,2300,2302],{"hash":1271,"label":2301},"passing regular dynamic properties","$docs-guidelines-writing-content"," to your content components?",[169,2305,2306,2313,2320,2323],{},[172,2307,2308,2309,157],{},"First, it’s not limited to local data - you can provide data from parent components as well as from the global registry, managed by the ",[23,2310,1718],{"hash":2311,"label":2312},"dlindocdata","`dl.inDocData` object",[172,2314,2315,2316,2319],{},"Second, dynamic property binding with the ",[126,2317,2318],{},"$doc"," handler isn’t possible when using regular dynamic props, since those values are resolved as static data, which can make data binding inconsistent.",[172,2321,2322],{},"Third, you can mix static and dynamic content for the same property.",[172,2324,2325],{},"Finally, with this approach, data binding happens at the component level, is cached, and reused for future renders, rather than being resolved each time during Markdown parsing.",{"title":219,"searchDepth":1724,"depth":1724,"links":2327},[],"section-props-extending","_KvOHw4F9cNT3FPfJPu3rKhnly5pt4adBb6EQXsJM8s",{"id":2331,"data":6,"extension":1761,"meta":2332,"stem":2348,"__hash__":2349},"shared\u002Fsection-props-intro.md",{"body":2333},{"type":8,"value":2334,"toc":2346},[2335],[11,2336,2337,2338,2343,2344,157],{},"Here are the properties you can use with the ",[126,2339,2340],{},[2195,2341],{"value":2342},"$doc.componentName"," component. Each property should be set on an individual component instance; they do not affect the global configuration. More about defining properties in MDC components ",[23,2345,2302],{"hash":1215,"label":2193},{"title":219,"searchDepth":1724,"depth":1724,"links":2347},[],"section-props-intro","SKoDIW1kVb4amM1MgbWMvvgRr9IWPabKr58_xl1Q-GM",{"id":2351,"data":6,"extension":1761,"meta":2352,"stem":2360,"__hash__":2361},"shared\u002Fsection-props-iui-description.md",{"body":2353},{"type":8,"value":2354,"toc":2358},[2355],[11,2356,2357],{},"Special property dedicated to inline components, can be used to add TW classes for certain component markup elements.",{"title":219,"searchDepth":1724,"depth":1724,"links":2359},[],"section-props-iui-description","Se96jxhroK3WLRE4HXYqDeoYv1lpUd8qv4vZ8us54sI",{"id":2363,"data":6,"extension":1761,"meta":2364,"stem":2376,"__hash__":2377},"shared\u002Fsection-props-ui-default.md",{"body":2365},{"type":8,"value":2366,"toc":2374},[2367],[11,2368,2370],{"style":2369},"white-space: nowrap;",[37,2371,2373],{"href":2372},"#styling","see below",{"title":219,"searchDepth":1724,"depth":1724,"links":2375},[],"section-props-ui-default","5mkrOeoYp1BToIddCkwyzzTWeOQvj1gDVRYHJJl7kow",{"id":2379,"data":6,"extension":1761,"meta":2380,"stem":2393,"__hash__":2394},"shared\u002Fsection-props-ui-description.md",{"body":2381},{"type":8,"value":2382,"toc":2391},[2383],[11,2384,2386,2387,2390],{"style":2385},"min-width: 16rem;","The component ",[126,2388,2389],{},"ui"," object. Defines the Tailwind classes for the component's HTML markup elements.",{"title":219,"searchDepth":1724,"depth":1724,"links":2392},[],"section-props-ui-description","xXl6RjZ54x2VpJv6H1mJ7OSCTSOfMTtRD1_VyiC0tjI",{"id":2396,"data":6,"extension":1761,"meta":2397,"stem":2405,"__hash__":2406},"shared\u002Fsection-props-ui-type.md",{"body":2398},{"type":8,"value":2399,"toc":2403},[2400],[126,2401,2402],{"style":2369},"() => UI",{"title":219,"searchDepth":1724,"depth":1724,"links":2404},[],"section-props-ui-type","AuxEvFbnpnbFrEjJrYiNJVZsYmI8RkEnH9RjkkuoaSQ",{"id":2408,"data":6,"extension":1761,"meta":2409,"stem":2465,"__hash__":2466},"shared\u002Fsection-remote-model-callout.md",{"body":2410},{"type":8,"value":2411,"toc":2463},[2412],[51,2413,2415,2421,2431,2434,2443,2452],{"title":2414},"DocLayer's Remote Model",[11,2416,2417,2420],{},[18,2418,2419],{},"DocLayer offers a prebuilt remote API for the AI Assistant",", providing advanced features like context focusing, deterministic intelligent caching, and optimized code extraction to deliver precise, high-quality answers (almost) every time.",[11,2422,2423,157],{},[18,2424,2425,2426,2430],{},"Our carefully fine-tuned model is available through the ",[23,2427,2429],{"label":2428},"🫠 Early Supporter Program","$docs-project-support"," - help us to build the best product possible securing the most advanced features for the best price",[11,2432,2433],{},"Here’s how you can configure it:",[210,2435,2437],{"tabs":2436},"nuxt.config.ts",[213,2438,2441],{"className":2439,"code":2440,"language":218,"meta":219},[216],"export default defineNuxtConfig({\n  \u002F\u002F the rest of the nuxt.config.ts\n  modules: ['@vuehouse\u002Fdl-search'],\n  dlSearch: {\n    assistant: {\n      model: {\n        type: 'dl',\n        config: {\n          endpoint: 'https:\u002F\u002Fvue.house\u002Fapi',\n          token: process.env.DL_API_TOKEN,\n        },\n      },\n    },\n  },\n});\n\"cref:96cag8\"\n",[126,2442,2440],{"__ignoreMap":219},[11,2444,2445,2446,993,2449,157],{},"To try our API please ",[23,2447,2448],{},"$mailto-vue-house",[18,2450,2451],{},"It's free",[11,2453,2454,2455,133,2458,157],{},"Remote ",[18,2456,2457],{},"API operates with a dedicated",[23,2459,2462],{"label":2460,"hash":2461},"DocLayer AI Kit","ai-kit","$docs-search-usage",{"title":219,"searchDepth":1724,"depth":1724,"links":2464},[],"section-remote-model-callout","C3AapTL9Uu5tqauRWl5GqZc8aOld3-yEvscN9Dwfp2M",{"id":2468,"data":6,"extension":1761,"meta":2469,"stem":2483,"__hash__":2484},"shared\u002Fsection-slots-ui-description.md",{"body":2470},{"type":8,"value":2471,"toc":2481},[2472],[11,2473,2474,2475,2477,2478,157],{},"Dedicated slot for defining the component’s ",[126,2476,2389],{}," object. More about styling MDC components ",[23,2479,2480],{"label":2193},"$docs-components-building",{"title":219,"searchDepth":1724,"depth":1724,"links":2482},[],"section-slots-ui-description","HFR6PT0KFzSBW9WnqIk5KdPqHjGTTl3za3mklYIIYUY",{"id":2486,"data":6,"extension":1761,"meta":2487,"stem":2509,"__hash__":2510},"shared\u002Fsection-styling-css-classes-intro.md",{"body":2488},{"type":8,"value":2489,"toc":2507},[2490],[11,2491,2492,2493,2497,2498,2502,2503,2506],{},"Below are the CSS utility classes used by the ",[126,2494,2495],{},[2195,2496],{"value":2342}," component. They make use of the ",[37,2499,2501],{"href":2500},"#css-variables","CSS variables"," described above and ",[37,2504,2505],{"href":2372},"define the default styling"," for the component's markup elements.",{"title":219,"searchDepth":1724,"depth":1724,"links":2508},[],"section-styling-css-classes-intro","VRtlxQ59m9iNVrWHp9r1OAy2lkklqQPtKbRIkwVCY6A",{"id":2512,"data":6,"extension":1761,"meta":2513,"stem":2534,"__hash__":2535},"shared\u002Fsection-styling-css-variables-intro.md",{"body":2514},{"type":8,"value":2515,"toc":2532},[2516],[11,2517,2518,2519,2522,2523,2527,2528,157],{},"Here is a set of CSS variables you can ",[18,2520,2521],{},"use to customize the appearance"," of the ",[126,2524,2525],{},[2195,2526],{"value":2342}," component globally. More about theming and styling with CSS variables, ",[23,2529,2531],{"hash":2530,"label":2193},"css-variables","$docs-guidelines-theming",{"title":219,"searchDepth":1724,"depth":1724,"links":2533},[],"section-styling-css-variables-intro","Vk6yVXoMwLNtqisCZhk9m2F3-wHKjiujWtBBZbTJcD4",{"id":2537,"data":6,"extension":1761,"meta":2538,"stem":2565,"__hash__":2566},"shared\u002Fsection-styling-intro.md",{"body":2539},{"type":8,"value":2540,"toc":2563},[2541,2554],[51,2542,2544],{"title":2543,"type":86},"Styling from Markdown",[11,2545,2546,2547,2550,2551,157],{},"Every DocLayer component ",[18,2548,2549],{},"can be styled directly within your Markdown file"," using dedicated slot\u002Fproperty configuration. This allows you to customize the appearance of the component's markup elements without modifying global styles. More about components styling ",[23,2552,2480],{"hash":2553,"label":2193},"styling-inside-the-markdown-files",[11,2555,2556,2557],{},"Below you'll find the default set of Tailwind classes for the component's dedicated markup elements. ",[2187,2558,2559],{},[2195,2560],{"defaultValue":2561,"value":2562},"undefined","$doc.extend",{"title":219,"searchDepth":1724,"depth":1724,"links":2564},[],"section-styling-intro","8V_zEj7QXax6dzKp918ZNy97d9u4qk6TaE40wI5JWEs",{"id":2568,"data":6,"extension":1761,"meta":2569,"stem":2609,"__hash__":2610},"shared\u002Fsection-utility-exports-disclaimer.md",{"body":2570},{"type":8,"value":2571,"toc":2607},[2572],[51,2573,2574,2581,2600],{"title":53,"type":86},[11,2575,2576,2577,2580],{},"This utility is ",[18,2578,2579],{},"exported from the module"," package.",[210,2582,2585,2591],{"dynamic":2583,"tabs":2584},"utilityName","file.ts",[213,2586,2589],{"className":2587,"code":2588,"language":218,"meta":219},[216],"import { :dl-dynamic: } from '@vuehouse\u002Fdl\u002Fexports';\n\"cref:zseli7\"\n",[126,2590,2588],{"__ignoreMap":219},[369,2592,2593],{"v-slot:props":219},[11,2594,2595,2596,2599],{},"{\"dynamic\": \"",[2195,2597],{"value":2598},"$doc.utilityName","\" }",[11,2601,2602,2603,2606],{},"You can use it this way ",[18,2604,2605],{},"when the global context is not available"," and utility can't be loaded automatically by Nuxt.",{"title":219,"searchDepth":1724,"depth":1724,"links":2608},[],"section-utility-exports-disclaimer","FXCXHiiD49oOkbSwsKFpp4m0gsXkZdnUwCwWnVjwucI",{"id":2612,"data":6,"extension":1761,"meta":2613,"stem":2636,"__hash__":2637},"shared\u002Ftooltip-app-config-path.md",{"body":2614},{"type":8,"value":2615,"toc":2634},[2616],[115,2617,2620],{"label":2618,"tooltip":2619},"`app.config.ts`","In-app file path: app\u002Fapp.config.ts",[369,2621,2622],{"v-slot:props":219},[11,2623,2624,2625,2629,2630,2633],{},"{\"tooltip\": \"In-app file path: ",[2195,2626],{"defaultValue":2627,"value":2628},"app\u002Fapp.config.ts","$doc.tooltip","\", \"label\": \"",[2195,2631],{"defaultValue":2618,"value":2632},"$doc.label","\"}",{"title":219,"searchDepth":1724,"depth":1724,"links":2635},[],"tooltip-app-config-path","WVDQKyALt7paYD6Tr7K10fmQ27d2XjzO_oxDKHCgSdc",{"id":2639,"data":6,"extension":1761,"meta":2640,"stem":2649,"__hash__":2650},"shared\u002Ftooltip-rag.md",{"body":2641},{"type":8,"value":2642,"toc":2647},[2643],[115,2644],{"label":2645,"lock-width":838,"tooltip":2646},"**RAG**","RAG stands for Retrieval-Augmented Generation. It is an AI solution that enhances the accuracy and reliability of Large Language Models by allowing them to reference data outside their original training set when generating answers. In most cases, this data is provided locally.",{"title":219,"searchDepth":1724,"depth":1724,"links":2648},[],"tooltip-rag","fDKuZzfT8d6JNox0uI1P0_ktG8kYWiz7WGsWWo7gTGs",[2652,2653,2654,2655],{"title":1798,"path":1799,"stem":1800,"description":1801,"children":-1},{"title":1803,"path":1804,"stem":1805,"description":1806,"children":-1},{"title":1809,"path":1810,"stem":1811,"description":1812,"children":-1},{"title":1814,"path":1815,"stem":1816,"description":1817,"children":-1},1795796059557]