---
title: "Nuxt Content"
description: "Configuring the Nuxt Content module."
canonical_url: "https://lab.nnsvn.me/docs/api/configuration/nuxt-content"
---

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

<ct-alert target="_blank" to="https://content.nuxt.com/get-started/configuration">

Read the detailed configuration guide in **Nuxt Content** Docs.

</ct-alert>

The default nuxt content config can be overridden in `nuxt.config.ts`.

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  // Here
  content: {
    // ...
  },

  compatibilityDate: '2026-01-30',
});
```

## Syntax Highlighting

### Theme

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  content: {
    build: {
      markdown: {
        highlight: {
          theme: {
            // Default theme
            default: 'github-light',
            // Theme used in dark-mode
            dark: 'github-dark',
          },
        },
      },
    },
  },
});
```

<ct-read-more to="https://shiki.style/themes">



</ct-read-more>

### Languages

The default highlighted languages are: `['json', 'js', 'ts', 'html', 'css', 'vue', 'diff', 'shell', 'markdown', 'mdc', 'yaml', 'bash', 'ini', 'dotenv']`.

If you need to highlight other languages, add them in your `nuxt.config.ts`.

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  content: {
    build: {
      markdown: {
        highlight: {
          preload: ['c', 'cpp'],
        },
      },
    },
  },
});
```

<ct-read-more to="https://shiki.style/languages">



</ct-read-more>

## Default Config

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  content: {
    build: {
      markdown: {
        highlight: {
          theme: {
            default: 'github-light',
            dark: 'github-dark',
          },
          preload: ['json', 'js', 'ts', 'html', 'css', 'vue', 'diff', 'shell', 'markdown', 'mdc', 'yaml', 'bash', 'ini', 'dotenv'],
        },
      },
    },
  },
});
```

## Sitemap

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