#Nested code blocks do not use proper markdown

1 messages · Page 1 of 1 (latest)

silk barn
#

Currently, nested code blocks in both ChatGPT and ChatGPT API nest code blocks using three backticks ``` inside other code blocks using three backticks ```.

This causes the nested code block to terminate its parent block when it ends, resulting in some weird formatting. GitHub has already solved this by allowing parent code blocks with four backticks ```` to wrap code blocks using three backticks ```.

This is especially important when using ChatGPT questions about writing snippets in Markdown.

Here is a related conversation from GitHub, re the four backticks ```` solution:
https://support.github.com/ticket/personal/0/2042485

ChatGPT should employ this ASAP.