Join our community

Get access to the complete guide to developing and deploying fast, production-ready Nuxt apps.

Markdown Rendering with Nuxt MDC and Shiki Syntax Highlighting

In this lesson, you'll improve your application's user experience by implementing markdown parsing and syntax highlighting. You'll use the Nuxt MDC module to render markdown content and configure Shiki for syntax highlighting, making code snippets display with appropriate styling. This approach will make your AI-generated responses more readable and visually appealing.

Nuxt MDC Module: https://nuxt.com/modules/mdc

Shiki Syntax Highlighter: https://shiki.matsu.io/

Shiki Themes: https://shiki.matsu.io/themes