EDITOR
Editor Blocks

Code editor: multi-language

7min

Our code editor is where you can show off code examples that can be easily copied.

You can add multiple tabs using the same language and use drag-and-drop to reorganize tabs.

Document image


When you add a new tab, you can also change the name to something like a file, e.g., main.js

See our example:

main.js
Go
Python
MacOS
PHP
C#
Text


Markdown

Code block with a single tab

Node.js


Use the following Markdown to generate a code block with a single code example:

Markdown


Code blocks without language

Text
Text
Text


Use the following Markdown to generate a code block without specifying the language:

Markdown


Code editor with multiple tabs

PHP
Java
Go
JS


Use the following Markdown to generate a Code block with multiple tabs:

Markdown





🤔
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.



Updated 06 Sep 2024
Doc contributor
Doc contributor
Doc contributor
Doc contributor
Did this page help you?