/
The .box docs ↗ function creates a special box container with an inline title and block content.
.box {Box title}
Welcome to the **Quarkdown wiki**!
Here you'll learn how to get started with your first document.Welcome to the Quarkdown wiki! Here you’ll learn how to get started with your first document.
You can omit the title:
.box
Welcome to the **Quarkdown wiki**!
Here you'll learn how to get started with your first document.Welcome to the Quarkdown wiki! Here you’ll learn how to get started with your first document.
A box can have a type, which defaults to callout if not specified. The available types are:
callouttipnotewarningerror.box {Box title} type:{tip}
This is a tip box!
.box {Box title} type:{note}
This is a note box!
.box {Box title} type:{warning}
This is a warning box!This is a tip box!
This is a note box!
This is a warning box!
If you omit the title, set .doclang, and the locale is supported, the box title is automatically localized.
.box type:{tip}
This is a tip box!
.box type:{note}
This is a note box!
.box type:{warning}
This is a warning box!This is a tip box!
This is a note box!
This is a warning box!
Boxes and typed quotes are two different ways to create typed alerts.