arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Interactive blocks

In addition to the default Markdown you can write, GitBook has a number of out-of-the-box interactive blocks you can use. You can find interactive blocks by pressing / from within the editor.

hashtag
Tabs

Each tab is like a mini page — it can contain multiple other blocks, of any type. So you can add code blocks, images, integration blocks and more to individual tabs in the same tab block.

Add images, embedded content, code blocks, and more.

hashtag
Expandable sections

chevron-rightClick me to expandhashtag

Expandable blocks are helpful in condensing what could otherwise be a lengthy paragraph. They are also great in step-by-step guides and FAQs.

hashtag
Drawings

hashtag
Embedded content

circle-info

GitBook supports thousands of embedded websites out-of-the-box, simply by pasting their links. Feel free to check out which ones.

are supported nativelyarrow-up-right
const handleFetchEvent = async (request, context) => {
    return new Response({message: "Hello World"});
};