---
title: "Discussion on \"How to Create a Custom Code Block With Nuxt Content v2\" | Hashnode"
description: "Discussion on \"How to Create a Custom Code Block With Nuxt Content v2\". Code blocks are essential for blogs about software development. In this article, I want to show you how can define a custom code block component in Nuxt Content v2 with the following features:\n\nCustom styling for code blocks inside Markdown files\nSho..."
url: "https://hashnode.com/posts/how-to-create-a-custom-code-block-with-nuxt-content-v2-1/62a9b167b68bba1634b78ad1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Create a Custom Code Block With Nuxt Content v2](https://blog.mokkapps.de/how-to-create-a-custom-code-block-with-nuxt-content-v2-1?utm_source=hashnode&utm_medium=feed)

Code blocks are essential for blogs about software development. In this article, I want to show you how can define a custom code block component in Nuxt Content v2 with the following features: Custom styling for code blocks inside Markdown files Sho...

Jun 15, 2022 · 7 min read · blog.mokkapps.de  
Read the article

-   [#vuejs](https://hashnode.com/tag/vuejs)
-   [#nuxt](https://hashnode.com/tag/nuxt)

## Written by

[Michael Hoffmann](https://hashnode.com/@mokkapps)

@mokkapps · Munich, Germany

  
[View profile](https://hashnode.com/@mokkapps)

💚 I'm helping developers to become Vue experts | 👨🏻‍💻 Senior Frontend Developer | 🌴 Freelancer | ✍️ Blogger |

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
