# Improve Code Block Language Selection

**URL:** <https://community.openai.com/t/improve-code-block-language-selection/1407728>\
**Category:** Feature requests\
**Tags:** chatgpt, user-experience\
**Created:** [October 19, 2026, 12:35pm UTC](https://community.openai.com/t/improve-code-block-language-selection/1407728 "2026-10-19T12:35:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sujaysaha2982007](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sujaysaha2982007](https://community.openai.com/u/sujaysaha2982007)\
**Post date:** [October 19, 2026, 12:35pm UTC](https://community.openai.com/t/improve-code-block-language-selection/1407728/1 "2026-10-19T12:35:26Z")

</div>

Problem  
When I type three backticks (```) in the ChatGPT message composer, it automatically creates a code block before I can specify the programming language.

For example, I want to write:

```javascript
console.log("Hello");

```

However, as soon as I type the opening three backticks, the editor creates a code block. If I then type javascript, it treats it as ordinary text inside the block instead of recognizing it as the language identifier.

This makes it difficult to create syntax-highlighted code blocks directly in the composer.

Suggestion  
Add an option to select the programming language after the editor automatically creates a code block.

For example:

1. Type three backticks to create a code block.
2. A language selector appears, allowing the user to choose JavaScript, Python, C, HTML, CSS, or another language.
3. The selected language is applied to the code block for appropriate syntax highlighting.

This would make code formatting more intuitive and eliminate the need to work around the editor’s automatic formatting behavior.

Expected Benefit  
This feature would improve the coding experience, make Markdown less of a barrier for beginners, and allow users to create properly formatted code blocks directly in ChatGPT.
