Markdown
Write Markdown directly in the editor to easily create content using common syntax
Last updated
Was this helpful?
Write Markdown directly in the editor to easily create content using common syntax
Last updated
Was this helpful?
Was this helpful?
Bold
**bold**
bold
Italic
_italic_
italic
Strikethrough
~strikethrough~
strikethrough
Inline code
`code`
When pasting Markdown content directly into the editor, it’s important to use the Paste and Match Style option (typically Shift + Cmd + V on Mac or Shift + Ctrl + V on Windows).
If you use the standard Paste option for content copied from another editor or from the web, it may be inserted as a code block instead of formatted text.
Heading 1: # A first-level title
Heading 2: ## A second-level title
Heading 3: ### A third-level title
```⏎
creates a new code block.
```py⏎
creates a new code block with Python syntax highlighting.
GitBook automatically detects and creates ordered and unordered lists as you type.
Begin a line with -
or *
to start an unordered bullet list.
Begin a line with 1.
to start a numbered list.
Begin a line with - [ ]
to start a task list.
Begin a line with >
to create a block quote. If you select an entire paragraph from start to end, typing >
will wrap the content in a block quote.
This is a block quote.
Type ---
then hit Enter
to create a divider on your page.
This is an example of a divider.
code