Code editor: multi-language
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.

When you add a new tab, you can also change the name to something like a file, e.g., main.js
See our example:
Use the following Markdown to generate a code block with a single code example:
Use the following Markdown to generate a code block without specifying the language:
Use the following Markdown to generate a Code block with multiple tabs:

Find other blocks
Discover new ways and blocks to create stunning and functional documentation pages.

Need help? ⬇️
Use the blue chat bubble from bottom right corner.
Or try AI Chat (from search box) for quick answers.

Your opinion matters
Use the below feedback form, anonymously.
Or ask a question in Q&A section and our team or AI will give you a solution.