SimpleWiki

Info Boxes

The info-box component displays styled messages inside your documentation.

It is useful for:

  • Tips
  • Warnings
  • Important information
  • Additional notes

Basic Usage

::info-box{type="info"}
This is an information box.
::

Result:

This is an information box.


Available Types

The component supports different styles using the type property.

TypePurpose
infoGeneral information
tipHelpful suggestions
importantImportant notes
alertWarnings or critical information
helpHelp messages
downloadDownload-related information
todoTasks or unfinished items

Examples

Tip

::info-box{type="tip"}
Remember to backup your files.
::

Remember to backup your files.


Warning

::info-box{type="alert"}
This action cannot be undone.
::

This action cannot be undone.


Custom Content

Info boxes support Markdown formatting.

::info-box{type="important"}
**Important:** Always keep your dependencies updated.
::

Important: Always keep your dependencies updated.


Width

The width can be adjusted using the width property.

Example:

::info-box{type="info" width="60%"}
A smaller information box.
::

A smaller information box.