---
title: "Markdown"
description: "How to write docs with the MDC syntax."
canonical_url: "https://lab.nnsvn.me/docs/getting-started/writing/markdown"
---

> Index of every page on this site: [llms.txt](https://lab.nnsvn.me/llms.txt)

<ct-card-group>
<ct-card icon="lucide:arrow-big-down" title="MDC Syntax" to="https://content.nuxt.com/docs/files/markdown#mdc-syntax" target="_blank">

Read the detailed MDC usage guide in the **Nuxt Content** Docs.

</ct-card>

<ct-card icon="lucide:box" title="Components" to="/docs/components/prose">

See MDC components provided by **Nuxt Starter Kit**.

</ct-card>
</ct-card-group>

## VS Code Integration

### The MDC extension

[Nuxt MDC](https://marketplace.visualstudio.com/items?itemName=Nuxt.mdc) is a VS Code extension that provides syntax highlighting and autocompletion for the MDC syntax.

Launch VS Code Quick Open <shortcut value="Ctrl">



</shortcut>

 + <shortcut value="P">



</shortcut>

, paste the following command, and press enter.

```text
ext install Nuxt.mdc
```

### Enable component metadata completions

<ct-alert>

Requires `Nuxt.mdc >= 0.3.1`

</ct-alert>

<ct-steps :level="4">

#### VSCode settings

```json [.vscode/settings.json]line-numbers
{
  "mdc.enableComponentMetadataCompletions": true // [!code ++]
}
```

#### Install the `nuxt-component-meta` module

Add nuxt-component-meta dependency to your project:

<ct-pm-install name="nuxt-component-meta">



</ct-pm-install>

Add nuxt-component-meta to the modules section of your nuxt.config.ts and optionally configure the module:

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  modules: ['nuxt-component-meta'],
};
```

Once your project has been built or running on the dev server, the extension will automatically scan your project for component metadata and provide suggestions based on the components discovered with zero additional configuration.

</ct-steps>

## Tips

### Hide title from toc

<ct-badge variant="outline">

0.4.7

</ct-badge>

Set title `id` to `hide-toc` will hide the heading from toc.

```mdc
:h2[Footnotes]{id="hide-toc"}
```

## Sitemap

See the full [sitemap](https://lab.nnsvn.me/sitemap.md) for all pages.
