Content Blocks
Overview
Blocks provide a way to add different kinds of content to your documentation site, such as text and media, markdown-formatted text, galleries, and more.
Knapsack offers a range of content blocks to choose from, including System Blocks for embedding design system assets into your documentation and Embed Blocks for including third-party assets and resources.
Blocks give you a lot of flexibility and control over your documentation content, enabling you to add different types of content and organize your pages to meet your needs.
Types of content blocks
Knapsack provides a range of content blocks that can be used for embedding content and third-party resources directly within your system documentation:
Basic Blocks
This section provides a range of fundamental content blocks that enhance the structure and readability of your documentation. These blocks allow you to share important information, separate content, create links, organize data, and add rich textual content.
Design Blocks
This section provides detailed guidance on how to incorporate various design elements into your documentation. These blocks allow you to visually showcase your design components and provide valuable guidelines for their usage, ensuring consistency and clarity across your design system.
Embed Blocks
The “Embed Blocks” section provides a variety of blocks that allow you to embed external content directly into your documentation. These blocks enhance your documentation by integrating interactive and visual elements from various third-party platforms.
Media Blocks
This section offers a variety of blocks that allow you to incorporate different types of media into your documentation. These blocks enhance your documentation by adding interactive elements, visual content, and code examples, making it more engaging and informative for users.
Pattern Blocks
This section provides tools to visually represent and organize the patterns in your design system. These blocks help you display comprehensive views of your design patterns, making it easier for users to understand and navigate through your system’s components.
Other Blocks
This section includes additional blocks that provide flexibility and customization options for your documentation.