You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Callouts, or “admonitions”, highlight a particular block of text that exists slightly apart from the narrative of your page, such as a note or a warning.
Highlight important information: Admonitions draw attention to specific content that may require special attention, such as warnings, tips, notes, or important instructions. This ensures critical information stands out from the main text.
Convey urgency or caution: Admonitions are often used to alert users to potential risks, such as system warnings, common pitfalls, or security issues. They prevent mistakes by clearly marking these sections as something to be cautious about.
Provide additional context: They can offer extra insights, best practices, or useful tips that enhance the user's understanding. These sections are often optional but valuable for users who want more context without disrupting the flow of the primary content.
Improve readability: By visually differentiating certain content, admonitions make the documentation more scannable. Users can quickly identify crucial information (like warnings or recommendations) while skimming through the document.
Enhance user experience: Admonitions break up dense technical content and create a more engaging and interactive reading experience. They often use icons or colored boxes to signal specific meanings (e.g., warnings in red, notes in blue).
Organize content: Admonitions help structure information by grouping related content under recognizable labels like "Warning," "Note," or "Tip." This helps users process information more efficiently and find what they need faster.
Required
Warning: This admonition highlights potential hazards or risks that could lead to significant issues, such as data loss, system failure, or security vulnerabilities. It alerts users to exercise caution and take specific actions to avoid problems.
Note: This type of admonition provides important additional information that users should be aware of. It may clarify a point, offer helpful context, or highlight considerations that could enhance understanding or usability.
Tip: Tips offer practical advice or best practices that can help users achieve better results or avoid common pitfalls. They provide suggestions that are not critical but can improve the user experience or efficiency.
Caution: This admonition indicates a situation that may lead to minor problems or errors if not handled properly. It encourages users to be mindful and take precautions to prevent these issues.
Best practice
Use admonitions judiciously. Overloading documentation with admonitions can dilute their effectiveness and overwhelm users. Reserve them for genuinely important information.
Activity
bmorelli25 commentedon Nov 7, 2024
Something else to consider on the topic of admonitions — cc @KOTungseth
KOTungseth commentedon Nov 11, 2024
Context: elastic-docs-v3/issues/4
I'm also including my own notes ⬇️
Purpose
Highlight important information: Admonitions draw attention to specific content that may require special attention, such as warnings, tips, notes, or important instructions. This ensures critical information stands out from the main text.
Convey urgency or caution: Admonitions are often used to alert users to potential risks, such as system warnings, common pitfalls, or security issues. They prevent mistakes by clearly marking these sections as something to be cautious about.
Provide additional context: They can offer extra insights, best practices, or useful tips that enhance the user's understanding. These sections are often optional but valuable for users who want more context without disrupting the flow of the primary content.
Improve readability: By visually differentiating certain content, admonitions make the documentation more scannable. Users can quickly identify crucial information (like warnings or recommendations) while skimming through the document.
Enhance user experience: Admonitions break up dense technical content and create a more engaging and interactive reading experience. They often use icons or colored boxes to signal specific meanings (e.g., warnings in red, notes in blue).
Organize content: Admonitions help structure information by grouping related content under recognizable labels like "Warning," "Note," or "Tip." This helps users process information more efficiently and find what they need faster.
Required
Warning: This admonition highlights potential hazards or risks that could lead to significant issues, such as data loss, system failure, or security vulnerabilities. It alerts users to exercise caution and take specific actions to avoid problems.
Note: This type of admonition provides important additional information that users should be aware of. It may clarify a point, offer helpful context, or highlight considerations that could enhance understanding or usability.
Tip: Tips offer practical advice or best practices that can help users achieve better results or avoid common pitfalls. They provide suggestions that are not critical but can improve the user experience or efficiency.
Caution: This admonition indicates a situation that may lead to minor problems or errors if not handled properly. It encourages users to be mindful and take precautions to prevent these issues.
Best practice
Use admonitions judiciously. Overloading documentation with admonitions can dilute their effectiveness and overwhelm users. Reserve them for genuinely important information.
Update supported admonition types (#124)
fix: resolve merge conflicts; use :::warning::: for destructive callo…