Scriptorium FR EN

Markdown: cheat sheet

Everything the Scriptorium preview understands. For each item: the text to type on the left, the result on the right. Use “Copy” to grab the text.

Legend : ✅ standard, works everywhere · 🟡 common extension (GitHub, VS Code, Obsidian…) · 🔴 depends on the reader: works in Scriptorium, but may not show elsewhere.

1. Headings

Six levels with # (the most common), or underlined for the first two.
Text to type
# Titre H1
## Titre H2
### Titre H3
#### Titre H4
##### Titre H5
###### Titre H6

Titre H1 (style souligné)
=========================

Titre H2 (style souligné)
-------------------------
Result

2. Text formatting

Bold, italic, strikethrough, highlight, subscript, superscript, keyboard keys.
Text to type
*italique* ou _italique_
**gras** ou __gras__
***gras et italique*** ou ___gras et italique___
~~barré~~
==surligné==
H<sub>2</sub>O (indice)
E = mc<sup>2</sup> (exposant)
`code en ligne`
<u>souligné</u>
<kbd>Ctrl</kbd> + <kbd>C</kbd>
<mark>surligné HTML</mark>
**gras avec *italique* dedans**
Result

3. Paragraphs and line breaks

A blank line separates paragraphs; two trailing spaces or a backslash force a line break.
Text to type
Premier paragraphe.
Cette ligne est collée à la précédente (une seule ligne vide manque).

Deuxième paragraphe (séparé par une ligne vide).

Saut de ligne forcé : deux espaces en fin de ligne  
donc cette ligne est dessous.

Autre méthode : une barre oblique inverse\
et voilà.
Result

4. Lists

Bullets, numbers, task lists, nested lists, lists with paragraphs and code, definition lists.

Bullet list

Text to type
- Élément
- Élément
    - Sous-élément (4 espaces, ou 2)
    - Sous-élément
        - Sous-sous-élément
- Élément

* Autre symbole `*`
+ Autre symbole `+`
Result

Numbered list

Text to type
1. Premier
2. Deuxième
    1. Sous-point
    2. Sous-point
3. Troisième

1. Les numéros réels
1. n'ont pas
1. d'importance

5. Commence à 5
6. puis 6
Result

Task list

Text to type
- [ ] À faire
- [x] Fait
- [ ] Une tâche
    - [x] Sous-tâche faite
    - [ ] Sous-tâche à faire
Result

List with paragraphs and code

Text to type
1. Première étape.

   Un second paragraphe dans la même étape.

2. Deuxième étape avec du code :

   ```bash
   echo "dans une liste"
   ```
Result

Definition list

Text to type
Mot
: Sa définition.

Autre mot
: Une autre définition.
Result

5. Links

Inline, with tooltip, automatic, by reference, to a section, to a neighbouring file, e-mail.
Text to type
[Lien simple](https://arcanescookie.fr)
[Lien avec infobulle](https://arcanescookie.fr "Le site de Cookie")
<https://arcanescookie.fr>
https://arcanescookie.fr
<contact@exemple.fr>
[Lien par référence][ref1] et [un autre][ref2]
[Lien vers une section de cette page](#8-code)
[Lien vers un fichier voisin](./autre.md)
[Lien e-mail](mailto:contact@exemple.fr)

[ref1]: https://arcanescookie.fr "Titre optionnel"
[ref2]: https://example.com
Result

6. Images

Inline, with tooltip, clickable, by reference, with a precise size (HTML), local images.
Text to type
![Texte alternatif](https://exemple.fr/image.png)
![Logo](https://exemple.fr/logo.png "Infobulle")
[![Cliquer](https://exemple.fr/bouton.png)](https://arcanescookie.fr)
![Texte alternatif][img1]

[img1]: https://exemple.fr/image.png

<img src="https://exemple.fr/image.png" width="150" alt="Image réduite">
![Image locale](./images/photo.png)
Result

7. Quotes

Simple, multi-line, nested, with Markdown inside.
Text to type
> Une citation simple.

> Citation sur
> plusieurs lignes.
>
> Avec un second paragraphe.

> Citation
>> Citation imbriquée
>>> Encore une

> **Citation avec du Markdown dedans**
> - une liste
> - `du code`
>
> et un [lien](https://arcanescookie.fr).
Result

8. Code

Inline code, code blocks, syntax highlighting by language name, showing ``` inside a block.

Inline code

Text to type
Appuyez sur la touche `Entrée`.
Code avec un backtick : ``code avec un ` backtick``.
Result

Code block

Text to type
```
Bloc sans langage
  les espaces sont conservés
```

    Bloc par indentation (4 espaces)
    sans langage
Result

Syntax highlighting

Text to type
```python
def saluer():
    print("Bonjour le monde !")
```
Result

9. Tables

Alignment with colons, formatting inside cells, escaped pipes, line breaks with HTML.
Text to type
|Nom|Type|
|--|--|
|Cookie|Mage|
|Claude|Android|

| Alignés à gauche | Centré | Alignés à droite |
| :--- | :---: | ---: |
| Texte | Texte | 12,50 € |
| Plus long texte | Au milieu | 8 € |

| Avec du formatage | Résultat |
|---|---|
| **gras**, *italique*, `code` | OK |
| [Un lien](https://arcanescookie.fr) | OK |
| Une barre `\|` échappée | OK |
| Saut de ligne<br>avec HTML | OK |
Result

10. Horizontal rules

Three dashes, stars or underscores (with a blank line before the dashes).
Text to type
---
***
___
Result

11. Escaping characters

A backslash in front of a symbol shows it as is; HTML entities also work.
Text to type
\*Ceci ne sera pas en italique\*
\# Ceci n'est pas un titre
\- Ceci n'est pas une liste
1\. Ceci n'est pas une liste numérotée
\[Pas un lien\](pas-de-lien)
Backtick : \`
Result

12. HTML inside Markdown

Collapsible sections, centering, colors, merged table cells, other useful tags.

Collapsible section

Text to type
<details>
<summary>Clique pour déplier</summary>

Contenu caché, avec du **Markdown** dedans.

</details>
Result

Center, color, align

Text to type
<p align="center">Texte centré (HTML)</p>
<div align="right">Texte aligné à droite</div>
<span style="color:#a855f7">Texte violet</span>

<table>
  <tr><th colspan="2">Tableau HTML : cellule fusionnée</th></tr>
  <tr><td>A</td><td>B</td></tr>
</table>
Result

13. Footnotes

A reference [^1] in the text and its definition anywhere in the file.
Text to type
Voici une phrase avec une note[^1] et une autre[^note-longue].

[^1]: La première note de bas de page.
[^note-longue]: Une note plus longue.

    Avec un second paragraphe (indenté).
Result

14. Alerts / callouts

GitHub-style alerts (NOTE, TIP, IMPORTANT, WARNING, CAUTION) and Obsidian callouts.
Text to type
> [!NOTE]
> Information utile à connaître.

> [!TIP]
> Un conseil pratique.

> [!IMPORTANT]
> Information essentielle.

> [!WARNING]
> Attention, risque de problème.

> [!CAUTION]
> Danger, action potentiellement destructrice.
Result
Text to type
> [!info] Titre personnalisé
> Contenu de l'encadré.

> [!faq]- Pliable (le tiret)
> Contenu caché.
Result

15. Maths (LaTeX)

$ for inline formulas, $$ for block formulas. Rendered in the Scriptorium preview.
Text to type
Formule en ligne : $E = mc^2$ et $\frac{a}{b}$.

$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$
Result

16. Diagrams (Mermaid)

A code block with the language mermaid: flowcharts, sequences, pies, and more. Rendered in the Scriptorium preview.
Text to type
```mermaid
flowchart LR
    A[Idée] --> B{Faisable ?}
    B -- Oui --> C[Coder]
    B -- Non --> D[Ranger dans DOCS]
    C --> E[Tester]
```
Result

17. Emojis

Either the emoji itself (works everywhere) or its code between colons.
Text to type
Direct : 😀 ✨ 🔮 📜 🍪 ✅ ❌ ⚠️ 🚀
Par code : :smile: :sparkles: :crystal_ball: :cookie: :warning: :rocket:
Result

18. Hidden comments

Invisible in the rendering, visible only in the source text.
Text to type
<!-- Ceci est un commentaire, il n'apparaît pas -->

[//]: # (Commentaire par référence)
Result

19. Miscellaneous

Front matter, wiki links, automatic table of contents, abbreviations, compatibility summary.

Front matter

Text to type
---
title: "Mon article"
date: 2026-10-31
tags: [test, markdown]
---
Result

Wiki links (Obsidian)

Text to type
[[Nom d'une autre note]]
[[Nom d'une note|texte affiché]]
[[Note#Section]]
![[image.png]]   (intégrer une image ou une note)
#etiquette
Result

Automatic table of contents

Text to type
[TOC]
[[toc]]
[[_TOC_]]
Result

Abbreviations

Text to type
Le HTML est un langage.

*[HTML]: HyperText Markup Language
Result

Cheat sheet

Everything above summed up on one page.
Text to type
| Je veux… | J'écris… |
|---|---|
| Un titre | `# Titre` … `###### Titre` |
| Gras / italique | `**gras**` / `*italique*` |
| Barré | `~~barré~~` |
| Liste à puces | `- élément` |
| Liste numérotée | `1. élément` |
| Case à cocher | `- [ ] tâche` / `- [x] fait` |
| Lien | `[texte](url)` |
| Image | `![alt](url)` |
| Citation | `> citation` |
| Code en ligne | `` `code` `` |
| Tableau | `\| A \| B \|` + `\|--\|--\|` |
| Séparateur | `---` |
| Note de bas de page | `[^1]` + `[^1]: texte` |
| Alerte | `> [!NOTE]` |
| Maths | `$formule$` / `$$formule$$` |
| Diagramme | bloc de code `mermaid` |
| Commentaire caché | `<!-- texte -->` |
| Échapper un symbole | `\*` |
Result