Blocks Section and Feature
Render the Docsy blocks/section and blocks/feature shortcodes together.
1 minute read
{{< blocks/section color="light" type="container" >}}
{{< blocks/feature icon="fa-layer-group" title="Title" >}}Description.{{< /blocks/feature >}}
{{< /blocks/section >}}
Example:
Reusable
Use shortcodes to compose reusable content patterns.
Declarative
Keep formatting examples inside Markdown instead of hard-coding HTML everywhere.
Documented
This page shows how each shortcode behaves when rendered.