Editor Blocks

Every block you can add to a page in the ReadMe editor, with the three ways to insert each one and the Markdown it produces in Raw Mode

Every block available in the ReadMe editor is listed here with the exact label you'll see on screen, what it does, and the Markdown shortcut that inserts it while typing. Blocks that carry their own options (Callout, Image, Code, and the four layout components) link to the page that documents those options.

Three Ways to Insert a Block

MethodHowWhen to use it
Insert panelClick the Blocks icon (the four small squares where the top-right one is slightly separated) located in the upper-right toolbar.Placing a block precisely between existing content
/menuType /on an empty line, then type to filter. Press Return to insert.Keeping your hands on the keyboard. This is the only menu that lists every block, including headings, lists, and embeds
Markdown shortcutType the Markdown syntax at the start of a line. The editor converts it as you type.Fastest for headings, lists, callouts, dividers, and code.

The Insert panel and the / menu contain different sets. The Insert panel holds the thirteen blocks below plus your project's Reusable Content and Custom Components. The / menu adds headings, lists, links, blockquotes, and four more embed types. Reusable Content and Custom Components are project-specific, so they are not documented on this page; see Reusable Content and Custom Components.

Blocks

Labels are exactly as they appear in the / menu. Where the Insert panel uses a different label, it is noted.

Text and Structure

BlockWhat it doesMarkdown shortcutRaw Mode
Heading 1Top-level section heading## Heading
Heading 2Section heading. Appears in the page's table of contents#### Heading
Heading 3Subsection heading. Appears in the page's table of contents.###### Heading
Bulleted ListUnordered list-- item
Numbered ListOrdered List1.1. item
ChecklistTask list with checkboxes- [ ]- [ ] item
BlockquoteIndented quotation>> text
DividerHorizontal rule between sections- - -- - -
LinkInserts a hyperlink. Also available as Add Link on the selection toolbar.None[text](url)
CalloutHighlighted box for information or warnings. Icon and color are configurable.> 📘
<Callout icon="📘" theme="info">
  ### hello world
</Callout>
CodeCode block with a language selector.``````text
```
TableGrid of rows and columns.None
| Item | Category | Price |
| :--- | :---: | ---: |
| Apples | Fruit | $2.50 |
| Broccoli | Vegetable | $1.99 |
| Almond Milk | Dairy Alternative | $3.49 |
ImageUploaded or linked image with alt text, caption, and frame options.! [ ] (url)! [alt] (url)
Custom HTMLRaw HTML rendered in place. < script > tags are stripped.None
<HTMLBlock>
  {`hello world`}
</HTMLBlock>
RecipeEmbeds a Recipe from your project's Recipes section.None
<Recipe slug="recipe-title-1" title="Recipe Title 1" />
Mermaid DiagramText-defined flowchart, sequence diagram, or other Mermaid chart. Labeled Mermaid Diag… in the Insert panel when truncated. See Creating Mermaid DiagramsNone
mermaid flowchart LR 
A --- B[fa:fa-spinner B] 
B --> C[fa:fa-check C] 
B --> D[fa:fa-ban D]

Components

These four are MDX components. Their props are documented on Built-in Components.

BlockWhat it does
AccordionCollapsible section with a title
CardsGrid of linked cards with an icon, title, and description.
ColumnsSide-by-side column layout
TabsTabbed Content panels

Embeds

BlockWhat it embedsIn the Insert Panel
YouTubeA YouTube video by URLYes
GitHub GistA public Gist by URLNo
PDFA PDF viewer by URLNo
JSFiddleA JSFiddle by URLNo
iFrameAny embeddable URL in an iframeNo

AI and Reuse

ItemWhat it does
Generate with AIFirst item in the /menu. Press Tab to draft content in place with Agent Owlbert
Reuse ContentInserts an existing Reusable Context block. Shortcut: <
New ContentCreates a new Reusable Content block from the current position
Glossary termType << to search and insert a term from your Glossary. Not listed in the / menu.

Selection Toolbar

Select any text to open the toolbar. From left to right:

ControlActionShortcut
Turn into (shows the current block type, such as Text)Converts the block to another type, such as a heading or list.None
BoldBold⌘B
ItalicItalic⌘I
StrikethroughStrikethroughNone
BlockquoteConverts the block to a blockquote.None
ListConverts the block to a bulleted, numbered, or check list.None
Add linkWraps the selection in a link.None
Inline codeFormats the selection as inline code.None
Edit with AIOpens the AI editor on the selection.None

Block Handle Menu

Hover any block and click the ≡ handle at its left edge. The handle also drags the block to a new position.

ItemAction
CopyCopies the block
DuplicateInserts an identical block below
Turn intoConverts the block to another type
Make ReusableSaves the block as Reusable Content
Add Line AboveInserts an empty paragraph above
Add Line BelowInserts an empty paragraph below
DeleteRemoves the block

What the Editor Does Not Do

The editor does not merge Raw Mode edits with rich-text edits. Turning on Raw Mode from the page's ⋮ menu locks the page for other editors until you turn it off. The Editor indicator in the bottom bar (for example, Editor: MDX-ish) shows which syntax the page is using.


Did this page help you?