# Guide Markdown

# 1. Antisèche

| Syntaxe           | Résultat        |
| ----------------- | --------------- |
| `# Titre`         | Titre H1        |
| `## Titre`        | Titre H2        |
| `**texte**`       | Gras            |
| `*texte*`         | Italique        |
| `~~texte~~`       | Barré           |
| `` `commande` ``  | Code inline     |
| `> texte`         | Citation        |
| `- élément`       | Liste           |
| `1. élément`      | Liste numérotée |
| `- [ ] tâche`     | Case à cocher   |
| `[texte](url)`    | Lien            |
| `![texte](image)` | Image           |
| `---`             | Séparateur      |
| ` ```bash `       | Bloc de code    |

---

# 2. Les titres

# Titre niveau 1

## Titre niveau 2

---

# 3. Mise en forme du texte

Texte normal.

**Texte en gras**

*Texte en italique*

***Texte en gras et italique***

~~Texte barré~~

Voici du `code directement dans une phrase`.

On peut aussi combiner : **une commande `ipconfig` importante**.

```bash
apt search nginx
```

> ⚠️ **Attention :** serveur de production. Ne pas redémarrer sans vérifier les utilisateurs connectés.

---

# 4. Citations

> **Astuce Windows**
>
> La commande `winget` permet d'installer et de mettre à jour des logiciels depuis le terminal.

---

# 5. Listes à puces

* `ipconfig`
* `ping`
* `nslookup`
* `netstat`
* `systeminfo`

---

# 6. Listes numérotées

1. Vérifier son adresse IP.
2. Tester la passerelle.
3. Tester une IP Internet.
4. Tester un nom DNS.
5. Vérifier les serveurs DNS.

---

# 7. Cases à cocher

Checklist après installation d'un PC :

[x] Installer Windows

[ ] Installer les applications

---

# 8. Liens

[Microsoft](https://www.microsoft.com)

https://github.com/

---

# 9. Code

**PowerShell :**

```powershell
# Informations système
Get-ComputerInfo

# Adresse IP
Get-NetIPAddress
```

**Linux :**

```bash
# Informations système
uname -a

# Distribution Linux
cat /etc/os-release
```

**CMD :**

```cmd
REM Informations réseau
ipconfig /all
```

**Bloc de texte brut :**

```text
Serveur     : SRV-FILES-01
IP          : 192.168.10.20
```

---

# 10. Tableaux

| Action      | Windows        | Linux          |
| ----------- | -------------- | -------------- |
| Voir les IP | `ipconfig`     | `ip addr`      |
| Ping        | `ping 1.1.1.1` | `ping 1.1.1.1` |
| DNS         | `nslookup`     | `dig`          |
| Connexions  | `netstat -ano` | `ss -tunap`    |
| Route       | `tracert`      | `traceroute`   |
| Table ARP   | `arp -a`       | `ip neigh`     |

---

# 11. Arborescence

```text
documentation/
├── windows/
│   ├── reseau.md
│   ├── powershell.md
│   └── dépannage.md
├── linux/
│   ├── bash.md
│   ├── ssh.md
│   └── docker.md
├── images/
│   └── schema-reseau.png
└── README.md
```

---