Blocks are small, self-contained pieces of content such as text paragraphs, headings, galleries, slideshows, and more. You can also add dynamic content like Pagelists, Filelists, or custom snippets. The block editor offers an intuitive editing experience and lets users freely compose a page from multiple blocks.
Depending on the template, a page can provide one or several block editors for different sections. Block editors also support embedded content from services like YouTube or Vimeo simply by pasting a URL.
Adding Blocks
Start by clicking anywhere in the block editor to add your first block. Hit Enter ⏎ to add more blocks wherever you like. Then pick a block type by clicking the + icon or typing / — mix and match to build your page your way. You can also adjust block settings by clicking the small handle next to the + icon in the top-right corner of each block.
Moving Blocks Around
You can easily rearrange blocks by dragging the little handle in the top-right corner of a block — just move them wherever you like!
Block Types
Below is a list of all available blocks, along with an overview of the supported embed services. You can mix and match these blocks to create your content, and easily embed media from popular services where supported.
| Paragraph | This is the default block and contains basic text. |
| Heading | Headings levels 1-6. |
| Layout Section | Layout sections can be used to create complex layouts. They can contain any other type of block, can be nested and styled. A section can also be used to create a typical card. |
| Collapsible Section | Collapsible sections can be used to create accordion elements, like typical FAQ sections. Like Layout Sections, they can contain one or more blocks of any type. |
| Component | Components are reusable groups of blocks. Edit them once in a central place and they’ll update everywhere on your site. |
| List | A list of items, either ordered or unordered. Lists can also be nested. |
| Table | A table builder with flexible amounts of rows and columns. |
| Callout Box | A callout box is used to highlight and emphasize specific parts of your content. |
| Blockquote | A quote block including an author field. |
| Delimiter | A horizontal line that can be used as a delimiter bewteen blocks. |
| Image | A single image with an optional caption. Images can also link to other pages. |
| Video | A single video with an optional caption. |
| Image Gallery | A gallery for combining multiple images into flexible, responsive masonry, row, or grid layouts, with a built-in lightbox. |
| Image Slideshow | A slideshow that combines multiple images into a responsive carousel. |
| Buttons | A set of up to two customizable buttons to create call-to-action links. |
| Table of Contents | A simple, nested table of contents including headings of levels 2-4. |
| Source Code | A block to display source code snippets including syntax highlighting, language selection and optional line numbers. |
| Math / TeX | The Math block is based on KaTeX and can render mathematical formulas as well as other TeX-compatible content. |
| HTML / Markdown | A block for raw Markdown or HTML markup. |
| Mail Form | A customizable email form that can be used on contact pages. |
| Pagelist | A block that uses templates to render a selection of pages, making it ideal for building navigations, portfolio pages, or blogs. |
| Filelist | Similar to a Pagelist, a Filelist is a block that renders a selection of files using templates. |
| Snippet | A block the can be used to render snipptes of Automad's template language within the block editor. |
Embedding Content
Automad supports content from the following platforms, which can be embedded as blocks by simply pasting a URL: