Notes
The three groupings below are not part of the DITA specification, but are an editorial convention applied here to make it easier to scan for shared default styling and escalating semantic weight. DITA defines these twelve @type values as a flat, unranked list.
Default Note <note>
Informational Notes (@type)
These types carry no implied risk; the reader can skip the contents without missing anything needed to complete the task. Loosely modeled on the "Note" and "Tip" tier of GitHub's documentation style guide.
Advisory Notes (@type)
These types ask the reader to do or avoid something, rather than just providing background. Skipping one can cause wasted effort or a failed step. Loosely modeled on the "Important" tier of GitHub's documentation style guide.
Hazard Notes (@type)
Unlike the two groupings above, the order of these types align with the ANSI Z535 signal words, which DITA cites directly as the basis for these four @type values. The same four values also apply to <hazardstatement>, a related but distinct element built for ANSI/ISO-compliant hazard messages. See Hazard Statement Domain Elements to learn more.
Testing for Longer Notes
This note contains multiple block elements.
- Bullet list item one
- Bullet list item two
- Bullet list item three
Inline formatting: bold, italic, underline, and codeph.
Codeblock testing:
<topic id="sample-topic">
<title>Sample Topic</title>
</topic>
Table rendering inside a note:
| Setting | Value |
|---|---|
| Environment | Production |
| Status | Active |
<p> elements are used. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<p> element. All subsequent lines are.
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae.
In this note, all lines (including the first one) are wrapped in a <p> element.
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae.