# How to insert the programming language for a code block?

**URL:** <https://community.fibery.io/t/how-to-insert-the-programming-language-for-a-code-block/5720>\
**Category:** Get Help\
**Created:** [January 19, 2024, 6:23pm UTC](https://community.fibery.io/t/how-to-insert-the-programming-language-for-a-code-block/5720 "2024-01-19T18:23:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuri\_BC](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yuri_bc/32/8803_2.png) [@Yuri\_BC](https://community.fibery.io/u/Yuri_BC)\
**Post date:** [January 19, 2024, 6:23pm UTC](https://community.fibery.io/t/how-to-insert-the-programming-language-for-a-code-block/5720/1 "2024-01-19T18:23:33Z")

</div>

In a rich text field, when I insert

![](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/b/b67693590e31f91fdfdf9dd37862b53ca109bb17.png)  
Only the code block is show, and the programming language is not preselected, it is always showing as Plain Text code block.

 ![](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/7/7e836b10f1a9ffd132319380d892a1594f11de85.png)

---

<div class="post-metadata">

**Author:** ![helloitse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/helloitse/32/498_2.png) [@helloitse](https://community.fibery.io/u/helloitse)\
**Post date:** [January 19, 2024, 6:31pm UTC](https://community.fibery.io/t/how-to-insert-the-programming-language-for-a-code-block/5720/2 "2024-01-19T18:31:01Z")

</div>

I’ve no experience in adding the language in via a short code but you can click on the words “Plain Text” in your screenshot. This is also a dropdown that lets you change the language!

---

<div class="post-metadata">

**Author:** ![Yuri\_BC](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yuri_bc/32/8803_2.png) [@Yuri\_BC](https://community.fibery.io/u/Yuri_BC)\
**Post date:** [January 19, 2024, 7:13pm UTC](https://community.fibery.io/t/how-to-insert-the-programming-language-for-a-code-block/5720/3 "2024-01-19T19:13:45Z")

</div>

Yes, but I like to prepopulate an empty JS codeblock in a rich text field using an automation.  
Either with the ‘Overwite Description’ action or using a script.
