(Discussion originated from https://lists.oasis-open.org/archives/docbook/201604/msg00003.html)
Currently, we have tip
, note
, important
, warning
, and caution
as admonition elements. The list is sorted from lowest to highest "severity".
Although you can always markup your "dangerours note" with caution
and role
, this solution is considered inappropriate for the following reasons:
<danger>
role
feels awkward)<danger>
expresses a higher risk of injury and/or death than <caution>
(or any other admonition elements).It would be great if the committee can discuss this proposal.
Add the element danger
to the other admonitions. Here is a short RNC code snippet:
div {
db.danger.role.attribute = attribute role { text }
db.danger.attlist =
db.danger.role.attribute?
& db.common.attributes
& db.common.linking.attributes
db.danger =
## A note of danger
element danger { db.danger.attlist, db.admonition.contentmodel }
}