asciidoctor/asciidoctor-doctest

View on GitHub
data/examples/asciidoc/admonition.adoc

Summary

Maintainability
Test Coverage
// .note
NOTE: This is a note.

// .note-with-title
.Title of note
NOTE: This is a note with title.

// .note-with-id-and-role
[#note-1.yellow]
NOTE: This is a note with id and role.

// .note-block
[NOTE]
====
This is a note with complex content.

* It contains a list.
====

// .tip
TIP: This is a tip.

// .tip-with-title
.Title of tip
TIP: This is a tip with title.

// .tip-with-id-and-role
[#tip-1.blue]
TIP: This is a tip with id and role.

// .tip-block
[TIP]
====
This is a tip with complex content.

* It contains a list.
====

// .important
IMPORTANT: This is an important notice.

// .important-with-title
.Title of important notice
IMPORTANT: This is an important notice with title.

// .important-with-id-and-role
[#important-1.red]
IMPORTANT: This is an important notice with id and role.

// .important-block
[IMPORTANT]
====
This is an important notice with complex content.

* It contains a list.
====

// .caution
CAUTION: This is a caution.

// .caution-with-title
.Title of caution
CAUTION: This is a caution with title.

// .caution-with-id-and-role
[#caution-1.red]
CAUTION: This is a caution with id and role.

// .caution-block
[CAUTION]
====
This is a caution with complex content.

* It contains a list.
====

// .warning
WARNING: This is a warning.

// .warning-with-title
.Title of warning
WARNING: This is a warning with title.

// .warning-with-id-and-role
[#warning-1.red]
WARNING: This is a warning with id and role.

// .warning-block
[WARNING]
====
This is a warning with complex content.

* It contains a list.
====