All pages
Powered by GitBook
1 of 26

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Blocks

Annotations

This paragraph contains an . It can be opened by clicking it.

In codeblocks

// Some code
and an .

Expandables

Empty

This is an empty expandable (body)

Cards

2 basic cards with text:

Cards with cover

Cards with centered text and images

Cards with different column types

Cards full-width

Cards with different column types and headers

With content

Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in mauris nisi. Fusce suscipit hendrerit ex nec laoreet. Mauris dolor diam, posuere non accumsan at, auctor a lectus. Maecenas porttitor purus ipsum, bibendum volutpat metus tristique in. Fusce et quam sed purus pulvinar dignissim id ut nisi. Fusce malesuada nec leo quis laoreet. Sed elit ligula, porta sed lobortis at, porttitor porttitor sem.

Donec id pulvinar ex, ac consequat odio. Nulla eu ante bibendum, aliquet sapien nec, facilisis metus. Duis non convallis neque, accumsan iaculis risus. Nulla sed ultrices ex, et interdum tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse porta felis imperdiet ante congue vestibulum. Sed eu mattis turpis. Praesent pharetra turpis eu ligula finibus, non interdum dui posuere. Vivamus facilisis, diam ac luctus lacinia, turpis odio pharetra ex, vitae suscipit orci turpis tincidunt massa.

Hello world

Bonjour le monde

Hola Mundo

Cover

Hello world

Cover

Bonjour le monde

Centered text

Text on the right

Cover

Hola Mundo

Hello world

Bonjour le monde

Some intro text

A short oneA tag that is quite longAnother one

Short intro text

A short one

Another text

Another one

Hello world

Bonjour le monde

Hola Mundo

Intro text

Some intro text

Enum values
A short oneA tag that is quite longAnother one
Intro text

Short intro text

Enum values
A short one
Intro text

Another text

Enum values
Another one

Hints

Colors

Info hints are great for showing general information, or providing tips and tricks.

Success hints are good for showing positive actions or achievements.

Warning hints are good for showing important information or non-critical warnings.

Danger hints are good for highlighting destructive actions or raising attention to critical information.

With blocks in it

First paragraph

Second paragraph

  • List item

  • Second list item

With a divider:


After the divider

Code

Code block with lines and no wrapping

function CodeHighlightLine(props: {
    block: DocumentBlockCode;
    line: HighlightLine;
    lineIndex: number;
    isLast: boolean;
    withLineNumbers: boolean;
    withWrap: boolean;
    context: ContentRefContext;
}) {
    const { block, line, isLast, withLineNumbers, context } = props;

    return (
        <span
            className={tcls(
                'flex',
                'flex-row',
                'px-4',
                line.highlighted ? 'bg-slate-200' : null,
                withLineNumbers
                    ? [
                          'before:shrink-0',
                          'before:absolute',
                          'before:left-0',
                          'before:pl-4',
                          line.highlighted ? 'before:bg-slate-200' : 'before:bg-slate-100',
                          'before:text-slate-400',
                          'before:content-[counter(line)]',
                          '[counter-increment:line]',
                          getLineNumberGutterWidth(block),
                      ]
                    : [],
            )}
        >
            <span className="flex-1">
                <CodeHighlightTokens tokens={line.tokens} context={context} />
                {isLast ? null : !withLineNumbers && line.tokens.length === 0 && 0 ? (
                    <span className="ew">{'\u200B'}</span>
                ) : (
                    '\n'
                )}
            </span>
        </span>
    );
}

Code block with line numbers and wrapping

function CodeHighlightLine(props: {
    block: DocumentBlockCode;
    line: HighlightLine;
    lineIndex: number;
    isLast: boolean;
    withLineNumbers: boolean;
    withWrap: boolean;
    context: ContentRefContext;
}) {
    const { block, line, isLast, withLineNumbers, context } = props;

    return (
        <span
            className={tcls(
                'flex',
                'flex-row',
                'px-4',
                line.highlighted ? 'bg-slate-200' : null,
                withLineNumbers
                    ? [
                          'before:shrink-0',
                          'before:absolute',
                          'before:left-0',
                          'before:pl-4',
                          line.highlighted ? 'before:bg-slate-200' : 'before:bg-slate-100',
                          'before:text-slate-400',
                          'before:content-[counter(line)]',
                          '[counter-increment:line]',
                          getLineNumberGutterWidth(block),
                      ]
                    : [],
            )}
        >
            <span className="flex-1">
                <CodeHighlightTokens tokens={line.tokens} context={context} />
                {isLast ? null : !withLineNumbers && line.tokens.length === 0 && 0 ? (
                    <span className="ew">{'\u200B'}</span>
                ) : (
                    '\n'
                )}
            </span>
        </span>
    );
}

Code block with wrapping but no line numbers

Code block with full-width option

Math

A math block that should render with KaTeX:

f(x)=xโˆ—e2piiฮพxf(x) = x * e^{2 pi i \xi x}f(x)=xโˆ—e2piiฮพx

A math block that should be rendered with MathJax:

ฯƒ_{i,BTC} =min($9600,\text{ } $2500)

A math inline with KaTex: f(x)=xโˆ—e2piiฮพxf(x) = x * e^{2 pi i \xi x}f(x)=xโˆ—e2piiฮพx and one with MathJax ฯƒ_{i,BTC} =min($9600,\text{ } $2500)

Another one with MathJax:

\text{Hourly Funding Payment} = \text{Position Notional Value} \times \text{Funding Rate}\

And a bigger one with KaTeX:

1(ฯ•5โˆ’ฯ•)e25ฯ€=1+eโˆ’2ฯ€1+eโˆ’4ฯ€1+eโˆ’6ฯ€1+eโˆ’8ฯ€1+โ‹ฏ\displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }(ฯ•5โ€‹โ€‹โˆ’ฯ•)e52โ€‹ฯ€1โ€‹=1+1+1+1+1+โ‹ฏeโˆ’8ฯ€โ€‹eโˆ’6ฯ€โ€‹eโˆ’4ฯ€โ€‹eโˆ’2ฯ€โ€‹

Long inline math 1(ฯ•5โˆ’ฯ•)e25ฯ€=1+eโˆ’2ฯ€1+eโˆ’4ฯ€1+eโˆ’6ฯ€1+eโˆ’8ฯ€1+โ‹ฏ1(ฯ•5โˆ’ฯ•)e25ฯ€=1+eโˆ’2ฯ€1+eโˆ’4ฯ€1+eโˆ’6ฯ€1+eโˆ’8ฯ€1+โ‹ฏ1(ฯ•5โˆ’ฯ•)e25ฯ€=1+eโˆ’2ฯ€1+eโˆ’4ฯ€1+eโˆ’6ฯ€1+eโˆ’8ฯ€1+โ‹ฏ1(ฯ•5โˆ’ฯ•)e25ฯ€=1+eโˆ’2ฯ€1+eโˆ’4ฯ€1+eโˆ’6ฯ€1+eโˆ’8ฯ€1+โ‹ฏ1(ฯ•5โˆ’ฯ•)e25ฯ€=1+eโˆ’2ฯ€1+eโˆ’4ฯ€1+eโˆ’6ฯ€1+eโˆ’8ฯ€1+โ‹ฏ1(ฯ•5โˆ’ฯ•)e25ฯ€=1+eโˆ’2ฯ€1+eโˆ’4ฯ€1+eโˆ’6ฯ€1+eโˆ’8ฯ€1+โ‹ฏ\displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } } \displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } } \displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } } \displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } } \displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } } \displaystyle \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }(ฯ•5โ€‹โ€‹โˆ’ฯ•)e52โ€‹ฯ€1โ€‹=1+1+1+1+1+โ‹ฏeโˆ’8ฯ€โ€‹eโˆ’6ฯ€โ€‹eโˆ’4ฯ€โ€‹eโˆ’2ฯ€โ€‹(ฯ•5โ€‹โ€‹โˆ’ฯ•)e52โ€‹ฯ€1โ€‹=1+1+1+1+1+โ‹ฏeโˆ’8ฯ€โ€‹eโˆ’6ฯ€โ€‹eโˆ’4ฯ€โ€‹eโˆ’2ฯ€โ€‹(ฯ•5โ€‹โ€‹โˆ’ฯ•)e52โ€‹ฯ€1โ€‹=1+1+1+1+1+โ‹ฏeโˆ’8ฯ€โ€‹eโˆ’6ฯ€โ€‹eโˆ’4ฯ€โ€‹eโˆ’2ฯ€โ€‹(ฯ•5โ€‹โ€‹โˆ’ฯ•)e52โ€‹ฯ€1โ€‹=1+1+1+1+1+โ‹ฏeโˆ’8ฯ€โ€‹eโˆ’6ฯ€โ€‹eโˆ’4ฯ€โ€‹eโˆ’2ฯ€โ€‹(ฯ•5โ€‹โ€‹โˆ’ฯ•)e52โ€‹ฯ€1โ€‹=1+1+1+1+1+โ‹ฏeโˆ’8ฯ€โ€‹eโˆ’6ฯ€โ€‹eโˆ’4ฯ€โ€‹eโˆ’2ฯ€โ€‹(ฯ•5โ€‹โ€‹โˆ’ฯ•)e52โ€‹ฯ€1โ€‹=1+1+1+1+1+โ‹ฏeโˆ’8ฯ€โ€‹eโˆ’6ฯ€โ€‹eโˆ’4ฯ€โ€‹eโˆ’2ฯ€โ€‹

Inline Images

his paragraph contains inline images, this first one was using the "original" size, and then this one is using the line size.

This image has intrinsic 400px width, but renders as 300px:

Some customers add Cards with inline images instead of Cover images. When they do, we should still respect the 300px width despite the Card being under 250px. The contents of the images should be centered.

Finally, we should make sure to render tiny inline images correctly:

11x11

16x16

22x22

Images in links should not zoom when clicked, for .

Lists

Unordered list

  • First item

  • Second item

Integrations

A mermaid block:

A GitHub file:

A linear issue

A mailchimp block

Page links

Link to another page

Link to a file

Link to another space

Link to a private space

Stepper

1

First step

Content of the step

With another line, and an image

Embeds

Embed as a card, handled by an integration:

Embed as a card, not handled by an integration

Embed of a youtube video

Embed with a caption

Embed full-width

Icons

This text contains some icons!!

Icons can also be used in headings!

function CodeHighlightLine(props: {
    block: DocumentBlockCode;
    line: HighlightLine;
    lineIndex: number;
    isLast: boolean;
    withLineNumbers: boolean;
    withWrap: boolean;
    context: ContentRefContext;
}) {
    const { block, line, isLast, withLineNumbers, context } = props;

    return (
        <span
            className={tcls(
                'flex',
                'flex-row',
                'px-4',
                line.highlighted ? 'bg-slate-200' : null,
                withLineNumbers
                    ? [
                          'before:shrink-0',
                          'before:absolute',
                          'before:left-0',
                          'before:pl-4',
                          line.highlighted ? 'before:bg-slate-200' : 'before:bg-slate-100',
                          'before:text-slate-400',
                          'before:content-[counter(line)]',
                          '[counter-increment:line]',
                          getLineNumberGutterWidth(block),
                      ]
                    : [],
            )}
        >
            <span className="flex-1">
                <CodeHighlightTokens tokens={line.tokens} context={context} />
                {isLast ? null : !withLineNumbers && line.tokens.length === 0 && 0 ? (
                    <span className="ew">{'\u200B'}</span>
                ) : (
                    '\n'
                )}
            </span>
        </span>
    );
}
// Some code

Emojis

This text contains some ๐Ÿ˜‡ emojis!!

Emojis can also be used in ๐ŸŽ‰ headings!

Diversity: ๐Ÿ‘ฉ

And other emojis: man detective๐Ÿ•ต๏ธ, women detective๐Ÿ•ต๏ธโ€โ™€๏ธ

And with a !

First nested item

  • Second nested item

  • Third item

  • Ordered list

    1. First item

    2. Second item

      1. First nested item

        1. Second nested item

    Tasks

    Mix

    1. Ordered list item

      • Unordered list item

    UL With blocks

    • List item starting with a heading

      A paragraph below it.

    • Text before code block

    OL With blocks

    1. List item starting with a heading

      A paragraph below it.

    2. Text before code block

    Tasks With blocks

    2

    Second step

    This is the second step

    3

    This is the first step

    And it's good!

    example
    20KB
    openapi.yaml

    Links

    Links

    This is a . This is a mention of a heading .

    This is a in a different page. And this a mention .

    This is a . And this is a mention:

    This is a . And this is a mention

    This is a (public). And this is a mention

    This is a . And this is a mention

    Buttons

    Some text with a button and

    2 buttons next to each other:

    With text alignment

    Centeted:

    On the right:

    Files

    File blocks reference a file and are used to help users download specific files.

    File blocks can also have a caption:

    API blocks

    A first block:

    Webhooks :

    Models:

    Third item

    code block
    a second line
    Directly, a code block
    code block
    a second line
    Directly, a code block
    code block
    a second line
    Directly, a code block
    link
    20KB
    openapi.yaml
    454KB
    Screenshot 2024-02-16 at 10.54.58.png
    image
    613B
    22x22.png
    image
    This is a small version of the GitBook logo
    398B
    10x10.png
    image
    Event smaller

    Expressions

    TEST_1: This is the value of TEST_1

    TEST_2: This is the value of TEST_2

    This is a . And this is a mention .

    This is a . And this is a mention .

    A heading

    link to a heading
    link to a heading
    link to a page
    Text page
    link to the current space
    Test GitBook Open
    A heading
    Heading 3
    With icon

    A button with an icon:

    Primary button
    Secondary
    Button 1
    Button 2
    New button
    New button
    Blocks
    ๐ŸŒPage with emoji
    Page with icon

    Tabs

    A single tab:

    Tab with content:

    Marks

    The following text is bold and italic. Styles can also be combined.

    Keyboard maks X + Y + Ctrl + โŒ˜

    Other styles includes code text and colored text.

    And superscript and subscript.

    Headings

    Heading 1

    Heading 2

    Block Images

    Large image

    Alignment

    Image centered:

    An image on the left:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in mauris nisi. Fusce suscipit hendrerit ex nec laoreet. Mauris dolor diam, posuere non accumsan at, auctor a lectus. Maecenas porttitor purus ipsum, bibendum volutpat metus tristique in. Fusce et quam sed purus pulvinar dignissim id ut nisi. Fusce malesuada nec leo quis laoreet. Sed elit ligula, porta sed lobortis at, porttitor porttitor sem.

    Donec id pulvinar ex, ac consequat odio. Nulla eu ante bibendum, aliquet sapien nec, facilisis metus. Duis non convallis neque, accumsan iaculis risus. Nulla sed ultrices ex, et interdum tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse porta felis imperdiet ante congue vestibulum. Sed eu mattis turpis. Praesent pharetra turpis eu ligula finibus, non interdum dui posuere. Vivamus facilisis, diam ac luctus lacinia, turpis odio pharetra ex, vitae suscipit orci turpis tincidunt massa.

    This tab contains headings that can be linked to:

    First heading

    Content

    Second heading

    Content

    Tab with many long tab titles:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in mauris nisi. Fusce suscipit hendrerit ex nec laoreet. Mauris dolor diam, posuere non accumsan at, auctor a lectus. Maecenas porttitor purus ipsum, bibendum volutpat metus tristique in. Fusce et quam sed purus pulvinar dignissim id ut nisi. Fusce malesuada nec leo quis laoreet. Sed elit ligula, porta sed lobortis at, porttitor porttitor sem.

    Donec id pulvinar ex, ac consequat odio. Nulla eu ante bibendum, aliquet sapien nec, facilisis metus. Duis non convallis neque, accumsan iaculis risus. Nulla sed ultrices ex, et interdum tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse porta felis imperdiet ante congue vestibulum. Sed eu mattis turpis. Praesent pharetra turpis eu ligula finibus, non interdum dui posuere. Vivamus facilisis, diam ac luctus lacinia, turpis odio pharetra ex, vitae suscipit orci turpis tincidunt massa.

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in mauris nisi. Fusce suscipit hendrerit ex nec laoreet. Mauris dolor diam, posuere non accumsan at, auctor a lectus. Maecenas porttitor purus ipsum, bibendum volutpat metus tristique in. Fusce et quam sed purus pulvinar dignissim id ut nisi. Fusce malesuada nec leo quis laoreet. Sed elit ligula, porta sed lobortis at, porttitor porttitor sem.

    Donec id pulvinar ex, ac consequat odio. Nulla eu ante bibendum, aliquet sapien nec, facilisis metus. Duis non convallis neque, accumsan iaculis risus. Nulla sed ultrices ex, et interdum tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse porta felis imperdiet ante congue vestibulum. Sed eu mattis turpis. Praesent pharetra turpis eu ligula finibus, non interdum dui posuere. Vivamus facilisis, diam ac luctus lacinia, turpis odio pharetra ex, vitae suscipit orci turpis tincidunt massa.

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in mauris nisi. Fusce suscipit hendrerit ex nec laoreet. Mauris dolor diam, posuere non accumsan at, auctor a lectus. Maecenas porttitor purus ipsum, bibendum volutpat metus tristique in. Fusce et quam sed purus pulvinar dignissim id ut nisi. Fusce malesuada nec leo quis laoreet. Sed elit ligula, porta sed lobortis at, porttitor porttitor sem.

    Donec id pulvinar ex, ac consequat odio. Nulla eu ante bibendum, aliquet sapien nec, facilisis metus. Duis non convallis neque, accumsan iaculis risus. Nulla sed ultrices ex, et interdum tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse porta felis imperdiet ante congue vestibulum. Sed eu mattis turpis. Praesent pharetra turpis eu ligula finibus, non interdum dui posuere. Vivamus facilisis, diam ac luctus lacinia, turpis odio pharetra ex, vitae suscipit orci turpis tincidunt massa.

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in mauris nisi. Fusce suscipit hendrerit ex nec laoreet. Mauris dolor diam, posuere non accumsan at, auctor a lectus. Maecenas porttitor purus ipsum, bibendum volutpat metus tristique in. Fusce et quam sed purus pulvinar dignissim id ut nisi. Fusce malesuada nec leo quis laoreet. Sed elit ligula, porta sed lobortis at, porttitor porttitor sem.

    Donec id pulvinar ex, ac consequat odio. Nulla eu ante bibendum, aliquet sapien nec, facilisis metus. Duis non convallis neque, accumsan iaculis risus. Nulla sed ultrices ex, et interdum tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse porta felis imperdiet ante congue vestibulum. Sed eu mattis turpis. Praesent pharetra turpis eu ligula finibus, non interdum dui posuere. Vivamus facilisis, diam ac luctus lacinia, turpis odio pharetra ex, vitae suscipit orci turpis tincidunt massa.

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in mauris nisi. Fusce suscipit hendrerit ex nec laoreet. Mauris dolor diam, posuere non accumsan at, auctor a lectus. Maecenas porttitor purus ipsum, bibendum volutpat metus tristique in. Fusce et quam sed purus pulvinar dignissim id ut nisi. Fusce malesuada nec leo quis laoreet. Sed elit ligula, porta sed lobortis at, porttitor porttitor sem.

    Donec id pulvinar ex, ac consequat odio. Nulla eu ante bibendum, aliquet sapien nec, facilisis metus. Duis non convallis neque, accumsan iaculis risus. Nulla sed ultrices ex, et interdum tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse porta felis imperdiet ante congue vestibulum. Sed eu mattis turpis. Praesent pharetra turpis eu ligula finibus, non interdum dui posuere. Vivamus facilisis, diam ac luctus lacinia, turpis odio pharetra ex, vitae suscipit orci turpis tincidunt massa.

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in mauris nisi. Fusce suscipit hendrerit ex nec laoreet. Mauris dolor diam, posuere non accumsan at, auctor a lectus. Maecenas porttitor purus ipsum, bibendum volutpat metus tristique in. Fusce et quam sed purus pulvinar dignissim id ut nisi. Fusce malesuada nec leo quis laoreet. Sed elit ligula, porta sed lobortis at, porttitor porttitor sem.

    Donec id pulvinar ex, ac consequat odio. Nulla eu ante bibendum, aliquet sapien nec, facilisis metus. Duis non convallis neque, accumsan iaculis risus. Nulla sed ultrices ex, et interdum tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse porta felis imperdiet ante congue vestibulum. Sed eu mattis turpis. Praesent pharetra turpis eu ligula finibus, non interdum dui posuere. Vivamus facilisis, diam ac luctus lacinia, turpis odio pharetra ex, vitae suscipit orci turpis tincidunt massa.

    Links & tabs

    Individual tabs can be linked Second Tab or Mauris dolor diam.

    Colors

    Text colors:

    • Purple

    • Blue

    • Red

    • Orange

    • Yellow

    • Green

    Background colors:

    • Purple

    • Blue

    • Red

    • Orange

    • Yellow

    • Green

    Combined:

    • Purple

    • Blue

    • Red

    • Orange

    • Yellow

    • Green

    Heading 3

    Title 1

    Title 2

    Title 3

    Heading centered

    This text is also centered

    Heading on the right

    This text is also right

    it has a nice icon

    An image on the right:

    Alignment with caption

    Image centered:

    A caption that is longer than the image to test how the images is being positioned relative to it.

    An image on the left:

    A caption that is longer than the image to test how the images is being positioned relative to it.

    An image on the right:

    A caption that is longer than the image to test how the images is being positioned relative to it.

    Tables

    Basic text table

    A1

    B1

    C1

    A2

    B2

    C2

    A3

    B3

    C3

    With header

    A
    B
    C

    With header hidden

    With resized column (B being larger)

    A
    B
    C

    With text alignment (A to the right, B centered, C to the left)

    A
    B
    C

    Tables with different column types

    Table with full-width

    Table with ratings

    Rating A
    Rating B

    Table with files

    Table with checkbox

    Checkbox

    Table with content references

    Link

    Columns

    Left hand side!

    Right hand side!

    Test different widths

    Ut ligula ipsum, viverra vel hendrerit vitae

    Donec eu augue in dui test ultrices id ac sapien. Phasellus mauris lorem, ullamcorper ac elementum sit amet, facilisis sit amet sem.

    Test different widths

    Ut ligula ipsum, viverra vel hendrerit vitae

    Donec eu augue in dui test ultrices id ac sapien. Phasellus mauris lorem, ullamcorper ac elementum sit amet, facilisis sit amet sem.

    Ut ligula ipsum, viverra vel hendrerit vitae

    Donec eu augue in dui test ultrices id ac sapien. Phasellus mauris lorem, ullamcorper ac elementum sit amet, facilisis sit amet sem.

    Vertical alignment - top

    Donec eu augue in dui convallis ultrices id ac sapien. Phasellus mauris lorem, ullamcorper ac elementum sit amet, facilisis sit amet sem.

    Ut ligula ipsum, viverra vel hendrerit vitae

    Donec eu augue in dui test ultrices id ac sapien. Phasellus mauris lorem, ullamcorper ac elementum sit amet, facilisis sit amet sem.

    Vertical alignment - centered

    Ut ligula ipsum, viverra vel hendrerit vitae

    Donec eu augue in dui test ultrices id ac sapien. Phasellus mauris lorem, ullamcorper ac elementum sit amet, facilisis sit amet sem.

    Vertical alignment - bottom

    A1

    B1

    C1

    A2

    B2

    C2

    A3

    B3

    C3

    A1

    B1

    C1

    A2

    B2

    C2

    A3

    B3

    C3

    A1

    B1

    C1

    A2

    B2

    C2

    A3

    B3

    C3

    A1

    B1

    C1

    Pasted right-aligned paragraph

    Pasted right-aligned paragraph

    Pasted right-aligned paragraph

    Some intro text

    A short oneA tag that is quite longAnother one

    Short intro text

    A short one

    Another text

    Another one

    A1

    B1

    C1

    A2

    B2

    C2

    A3

    B3

    C3

    R1

    R2

    R3

    An image file

    An openAPI file

    No file

    Checked

    Not checked

    Checked

    Page

    Page with emoji

    Page with icon

    Text page
    ๐ŸŒPage with emoji
    Page with icon
    16x16.png16x16.png
    openapi.yaml
    Donec eu augue in dui convallis ultrices id ac sapien. Phasellus mauris lorem, ullamcorper ac elementum sit amet, facilisis sit amet sem.
    Donec eu augue in dui convallis ultrices id ac sapien. Phasellus mauris lorem, ullamcorper ac elementum sit amet, facilisis sit amet sem.
    Learn more
    Learn more
    Learn more
    https://github.com/GitbookIO/gitbook-open/blob/main/package.json#L2-L3
        "name": "gitbook",
        "version": "0.1.0",
    Sign up to our mailing list to receive updates!
    Render integration blocks
    RND-1853โ€ขDone
    Not found
    link to a different space
    Public Changelog
    GitBook Documentation
    link to a private space
    space
    link to a page in a private space
    A youtube video
    space
    GitHubWikipedia
    link to a page in a public space
    5 October: Theme-aware images, team owners and more
    Logo

    Add a new pet to the store.

    post

    Add a new pet to the store.

    Authorizations
    Body
    idinteger ยท int64OptionalExample: 10
    namestringRequiredExample: doggie
    photoUrlsstring[]Required
    statusstring ยท enumOptional

    pet status in the store

    Possible values:
    Responses
    200

    Successful operation

    400

    Invalid input

    422

    Validation exception

    default

    Unexpected error

    post

    Update an existing pet.

    put

    Update an existing pet by Id.

    Authorizations
    Body
    idinteger ยท int64OptionalExample: 10
    namestringRequiredExample: doggie
    photoUrlsstring[]Required
    statusstring ยท enumOptional

    pet status in the store

    Possible values:
    Responses
    200

    Successful operation

    400

    Invalid ID supplied

    404

    Pet not found

    422

    Validation exception

    default

    Unexpected error

    put

    Finds Pets by status.

    get

    Multiple status values can be provided with comma separated strings.

    Authorizations
    Query parameters
    statusstring ยท enumOptional

    Status values that need to be considered for filter

    Default: availablePossible values:
    Responses
    200

    successful operation

    400

    Invalid status value

    default

    Unexpected error

    get

    Deletes a pet.

    delete

    Delete a pet.

    Authorizations
    Path parameters
    petIdinteger ยท int64Required

    Pet id to delete

    Header parameters
    api_keystringOptional
    Responses
    200

    Pet deleted

    400

    Invalid pet value

    default

    Unexpected error

    delete
    {
      "id": 10,
      "name": "doggie",
      "category": {
        "id": 1,
        "name": "Dogs"
      },
      "photoUrls": [
        "text"
      ],
      "tags": [
        {
          "id": 1,
          "name": "text"
        }
      ],
      "status": "available"
    }
    {
      "id": 10,
      "name": "doggie",
      "category": {
        "id": 1,
        "name": "Dogs"
      },
      "photoUrls": [
        "text"
      ],
      "tags": [
        {
          "id": 1,
          "name": "text"
        }
      ],
      "status": "available"
    }
    [
      {
        "id": 10,
        "name": "doggie",
        "category": {
          "id": 1,
          "name": "Dogs"
        },
        "photoUrls": [
          "text"
        ],
        "tags": [
          {
            "id": 1,
            "name": "text"
          }
        ],
        "status": "available"
      }
    ]

    No content

    POST /api/v3/pet HTTP/1.1
    Host: 
    Authorization: Bearer YOUR_OAUTH2_TOKEN
    Content-Type: application/json
    Accept: */*
    Content-Length: 133
    
    {
      "id": 10,
      "name": "doggie",
      "category": {
        "id": 1,
        "name": "Dogs"
      },
      "photoUrls": [
        "text"
      ],
      "tags": [
        {
          "id": 1,
          "name": "text"
        }
      ],
      "status": "available"
    }
    PUT /api/v3/pet HTTP/1.1
    Host: 
    Authorization: Bearer YOUR_OAUTH2_TOKEN
    Content-Type: application/json
    Accept: */*
    Content-Length: 133
    
    {
      "id": 10,
      "name": "doggie",
      "category": {
        "id": 1,
        "name": "Dogs"
      },
      "photoUrls": [
        "text"
      ],
      "tags": [
        {
          "id": 1,
          "name": "text"
        }
      ],
      "status": "available"
    }
    GET /api/v3/pet/findByStatus HTTP/1.1
    Host: 
    Authorization: Bearer YOUR_OAUTH2_TOKEN
    Accept: */*
    
    DELETE /api/v3/pet/{petId} HTTP/1.1
    Host: 
    Authorization: Bearer YOUR_OAUTH2_TOKEN
    Accept: */*
    

    newPet

    Payload
    idinteger ยท int64Required
    namestringRequired
    tagstringOptional
    Responses
    200

    Return a 200 status to indicate that the data was received successfully

    Payload

    {
      "id": 1,
      "name": "text",
      "tag": "text"
    }