[TOC]
The doxygen-awesome-alerts extension provides support for GitHub's alert syntax. See [Markdown] An option to highlight a "Note" and "Warning" using blockquote (Beta) for more information.
- Ensure you have doxygen-awesome properly configured for this project
- Add
doxygen-awesome/doxygen-awesome-alerts.jstoHTML_EXTRA_FILESin your Doxyfile
Tip
If you have already created a custom HTML_HEADER you can skip the next 2 steps
-
Run
doxygen -w html header.html delete_me.html delete_me.cssin a command prompt and delete the files calleddelete_me -
Set
HTML_HEADERto the path of yourheader.htmlfile in your Doxyfile -
Add
<script type="text/javascript" src="$relpath^doxygen-awesome-alerts.js"></script>to the <head> node of your header.html
- Activate the extension by also putting
<script type="text/javascript">DoxygenAwesomeAlerts.init();</script>into your header.html's <head> node.
The supported tags
| Marker |
|---|
| [!NOTE] |
| [!TIP] |
| [!IMPORTANT] |
| [!WARNING] |
| [!CAUTION] |
will now be replaced in all quotes.
> [!NOTE]
> Highlights information that users should take into account, even when skimming.Note
Highlights information that users should take into account, even when skimming.
> [!TIP]
> Optional information to help a user be more successful.Tip
Optional information to help a user be more successful.
> [!IMPORTANT]
> Crucial information necessary for users to succeed.Important
Crucial information necessary for users to succeed.
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.Warning
Critical content demanding immediate user attention due to potential risks.
> [!CAUTION]
> Negative potential consequences of an action.Caution
Negative potential consequences of an action.
[!CAUTION]
Foo Bar
[!UNRECOGNIZED] This will not be replaced
[!UNCLOSED The tag was not closed, so this will not be replaced either.