mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
bbb1a08ed3
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
---
|
||
title: "Encarts"
|
||
description: "Utilisez des encarts pour mettre en forme et mettre en avant du contenu important."
|
||
keywords: ["callouts", "notes", "warnings", "info boxes", "tips", "emphasis", "highlight"]
|
||
---
|
||
|
||
Les encarts peuvent être affichés sous forme de Note, Avertissement, Info, Conseil, Check, Danger, ou vous pouvez créer votre propre encart :
|
||
|
||
<Note>Ajoute une note dans le contenu</Note>
|
||
|
||
```mdx
|
||
<Note>Cela ajoute une note dans le contenu</Note>
|
||
```
|
||
|
||
<Warning>Cela génère un avertissement à prendre en compte</Warning>
|
||
|
||
```mdx
|
||
<Warning>Ceci déclenche un avertissement auquel il faut prêter attention</Warning>
|
||
```
|
||
|
||
<Info>Met en avant des informations importantes</Info>
|
||
|
||
```mdx
|
||
<Info>Attire l'attention sur des informations importantes</Info>
|
||
```
|
||
|
||
<Tip>Voici un conseil utile</Tip>
|
||
|
||
```mdx
|
||
<Tip>Ceci suggère un conseil utile</Tip>
|
||
```
|
||
|
||
<Check>Cela nous donne un statut validé</Check>
|
||
|
||
```mdx
|
||
<Check>Ceci nous donne un statut vérifié</Check>
|
||
```
|
||
|
||
<Danger>Ceci est une alerte de danger</Danger>
|
||
|
||
```mdx
|
||
<Danger>Ceci est un avertissement de danger</Danger>
|
||
```
|
||
|
||
<Callout icon="key" color="#FFC107" iconType="regular"> C’est un encadré personnalisé</Callout>
|
||
|
||
```mdx wrap
|
||
<Callout icon="key" color="#FFC107" iconType="regular">Ceci est un encadré personnalisé</Callout>
|
||
```
|