Files
docs/articles/hubs/blocks.md
Robert Wallach b2aee5c4d0 Update blocks.md
2018-04-10 11:28:23 -05:00

38 lines
1.3 KiB
Markdown

# Blocks
![Blocks](https://github.com/stoplightio/docs/blob/develop/assets/gifs/Blocks.gif?raw=true)
## What
Blocks are the micro-level building blocks of Hubs. They house multiple forms of content and allow for simple restructuring and modification.
>Hovering over a Block reveals additional tooling including: Preview, Cut, Copy, Reference External Source, and Delete
## Block Types
### Text Block
* A markup editor for adding any textual elements to your Hub
### JSON Schema
* A block for describing the structure of a JSON object
### HTTP Request Maker
* A block for making HTTP requests
### Code
* A block for inserting code snippets
### Image
* A block for inserting images
### Tabs
* An upper level block for organizing text within tabs
### Callout
* A text block with color for emphasis
### HTML
* Include arbitrary HTML in your hubs when the other base block types don't quite do the trick
---
**Related Articles**
- [Documentation with Hubs](/documentation/introduction)
- [Routing](/documentation/getting-started/routing)
- [Headers](/documentation/getting-started/header-footer)
- [Pages](/documentation/getting-started/pages)
- [Subpages](/documentation/getting-started/subpages)
- [Referencing Other Data Sources](/documentation/referencing-other-data-sources)
- [Publishing](/documentation/publishing)