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.

 

The title can be omitted:

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

 

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.

 

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.

 

[!TIP] Boxes and typed quotes are different ways to achieve typed alerts.