Callouts, or admonitions, are styled content blocks used in documentation and blogs to highlight important information such as tips, warnings, or notes. Their purpose is to improve readability by drawing attention to key details. Advantages include clearer communication, reduced risk of overlooked information, and a more structured, professional presentation.

Error Test

Note

Helpful advice for doing things better or more easily.

GitHub Test

Note

Useful information that users should know, even when skimming content.

Tip

Helpful advice for doing things better or more easily.

Important

Key information users need to know to achieve their goal.

Warning

Urgent info that needs immediate user attention to avoid problems.

Caution

Advises about risks or negative outcomes of certain actions.

Callout Overview

Abstract

Abstract: This paper discusses the advantages and challenges of microservice architecture.

Caution

Advises about risks or negative outcomes of certain actions.

Code

Code snippet:

function fetchData() {
  return axios.get("/api/data");
}
Conclusion

Conclusion: Based on the analysis above, we’ve decided to implement Docker containerization.

Danger

Danger! Critical security vulnerability detected in the system. Immediate action required.

Error

Error: Unable to connect to database. Please check your connection settings.

Example

Example:

def hello_world():
    print("Hello, World!")
Experiment

Experiment: Testing the impact of new caching strategies on system performance.

Goal

Goal: Reduce service response time by 30% by the end of this quarter.

Idea

Idea: Implement a machine learning-based code quality detection system.

Important

Key information users need to know to achieve their goal.

Info

System status: All services are operating normally. Current uptime: 99.99%.

Memo

Memo: Technical review meeting scheduled for next Tuesday at 2:00 PM.

Note

Useful information that users should know, even when skimming content.

Notification

System notification: Your password will expire in 30 days.

Question

Question: How can we optimize database query performance?

Quote

“Code is like humor. When you have to explain it, it’s bad.” - Cory House

Success

Congratulations! Your code has been successfully deployed to production.

Task

To-do list:

  • Update documentation
  • Deploy new version
Tip

Helpful advice for doing things better or more easily.

Warning

Urgent info that needs immediate user attention to avoid problems.

Customisation

Adding a custom title to a callout style

Summary

This is a summary using the TIP callout!

Summary

This is a summary using the IDEA callout!

Header Only Mode

It is possible to only show the header!

This paper discusses the advantages of microservice architecture
Ensure all tests pass before merging to main branch
Execute npm install to install all dependencies
We’ve decided to implement Docker containerization
Critical security vulnerability detected in the system
Error: Unable to connect to database. Please check your connection settings
Git commit message format: “feat: add user authentication”
Testing new caching strategy with Redis
Reduce service response time by 30% by the end of this quarter
Implement a machine learning-based code quality detection system
Please review and update your security settings
Current system status: All services are operating normally with 99.9% uptime
Technical review meeting scheduled for next Tuesday at 2:00 PM
Always backup your data before performing system updates
System notification: Your password will expire in 30 days
How can we optimize database query performance?
“Code is like humor. When you have to explain it, it’s bad.” - Cory House
Congratulations! Your code has been successfully deployed to production
Review and update API documentation by Friday
Use Ctrl + C to quickly terminate a running program
Warning: This operation will delete all data

Foldable Admonitions

Here are the details regarding API usage:
  • Endpoint: /api/v1/users is used to fetch the user list.
  • Authentication: A valid Bearer token must be provided in the request header.
  • Rate Limiting: 100 requests are allowed per minute.
Click here to view the tips

Nested Admonitions

Can admonitions be nested?
Yes!, they can.

[!example] You can even use multiple layers of nesting.

Some of the callout styles available for use and examples of thier rendering

98cb3b2 (added style and overflow to codeblock render) [!NOTE] Useful information that users should know, even when skimming content.

Tip

Helpful advice for doing things better or more easily.

Important

Key information users need to know to achieve their goal.

Warning

Urgent info that needs immediate user attention to avoid problems.

Caution

Advises about risks or negative outcomes of certain actions.

Radiation hazard

Do not approach or handle without protective gear.

IDEA

This is a summary using the IDEA callout!

MEMO

This is a summary using the MEMO callout!

You can choose to only to show the header!
System notification: Your password will expire in 30 days
Congratulations! Your code has been successfully deployed to production
Warning: This operation will delete all data.
Click here to view the tips

This is a closed tip

Click here to view the tips

This is the tip YAY

Code

sample code here

Using custom short code and styling

This is a note.

This is a warning.

This is dangerous.