# Set language on /code in RichText

**URL:** <https://community.prismic.io/t/set-language-on-code-in-richtext/17903>\
**Category:** Developing with Prismic\
**Tags:** rich-text, page-builder, slice-machine\
**Created:** [October 29, 2024, 9:11pm UTC](https://community.prismic.io/t/set-language-on-code-in-richtext/17903 "2024-10-29T21:11:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ezekiel](https://avatars.discourse-cdn.com/v4/letter/e/848f3c/32.png) [@Ezekiel](https://community.prismic.io/u/Ezekiel)\
**Post date:** [October 30, 2024, 12:37pm UTC](https://community.prismic.io/t/set-language-on-code-in-richtext/17903/2 "2024-10-30T12:37:08Z")

</div>

Hi @avaneeshsamsi,

Ways to get this done were discussed in this thread:

> [@Add Custom Code Block/highlighter to nextJs](https://community.prismic.io/t/add-custom-code-block-highlighter-to-nextjs/14404):
>
> Seriously, guys, I need your help! I was going through Prismic's blog a while ago, and I noticed they have code samples well highlighted on their blog posts. For example, this post [https://prismic.io/blog/svelte-sveltekit-tutorial](https://prismic.io/blog/svelte-sveltekit-tutorial) is well highlighted with code samples. I have been looking for ways to add code highlighter to my newly created [blog](https://brightsidecodes.com) but not really working. I need a way to get that done ASAP so that I can start writing really good articles. Please!

Let me know if you find what you're looking for there 🙂

---

_[View the full topic](https://community.prismic.io/t/set-language-on-code-in-richtext/17903)._
