box - iamgio/quarkdown GitHub Wiki

The .box allows creating a special box container.

A box features 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.
Box result

 

The title can be omitted:

.box
  Welcome to the **Quarkdown wiki**!  
  Here you'll learn how to get started with your first document.
Title-less box

 

A box can have a type, which is callout by default, if not specified. Available types are:

  • callout
  • tip
  • note
  • warning
  • error
.docname {Test}
.docauthor {iamgio}
.doclang {english}
.doctype {paged}
.theme {darko} layout:{minimal}

.box {Box title} type:{tip}
  Welcome to the **Quarkdown wiki**!  
  Here you'll learn how to get started with your first document.

.box {Box title} type:{note}
  Welcome to the **Quarkdown wiki**!  
  Here you'll learn how to get started with your first document.

.box {Box title} type:{warning}
  Welcome to the **Quarkdown wiki**!  
  Here you'll learn how to get started with your first document.
Typed boxes

 

If the title is omitted, .doclang is set and the set locale is supported, the box title is automatically localized.

.box type:{tip}
  Welcome to the **Quarkdown wiki**!  
  Here you'll learn how to get started with your first document.

.box type:{note}
  Welcome to the **Quarkdown wiki**!  
  Here you'll learn how to get started with your first document.

.box type:{warning}
  Welcome to the **Quarkdown wiki**!  
  Here you'll learn how to get started with your first document.
Typed title-less boxes

 

Tip

Boxes and typed quotes are different ways to achieve typed alerts.

⚠️ **GitHub.com Fallback** ⚠️