---
title: "Discussion on \"Adding code blocks to sanity studio for a NextJS blog\" | Hashnode"
description: "Discussion on \"Adding code blocks to sanity studio for a NextJS blog\". By default, when using the blog template to intializd Sanity, code blocks aren't support out of the box. As my personal blog would always have a lot of code"
url: "https://hashnode.com/posts/adding-code-blocks-to-sanity-studio-for-a-nextjs-blog/60c7c9a2bbd8c506819ae89f"
---

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

Discussion

# [Adding code blocks to sanity studio for a NextJS blog](https://phn.hashnode.dev/adding-code-blocks-to-sanity-studio-for-a-nextjs-blog?utm_source=hashnode&utm_medium=feed)

By default, when using the blog template to intializd Sanity, code blocks aren't support out of the box. As my personal blog would always have a lot of code

Jun 14, 2021 · 3 min read · phn.hashnode.dev  
Read the article

-   [#blogging](https://hashnode.com/tag/blogging)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#blog](https://hashnode.com/tag/blog)
-   [#nextjs](https://hashnode.com/tag/nextjs)

## Written by

[phn](https://hashnode.com/@phn)

@phn · On my way to the beach

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

web development enthusiast | Dreaming about becoming location independent some day

I am developer from Switzerland, but currently working remotely as a full-stack developer for a spanish based startup from around the world

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
