Aller au contenu

Complément - Notebooks avec admonitions

Nous allons voir comment créer des Notebook jupyter avec de jolies boites (admonitions)

Pour créer votre notebook, suivre ce lien dont l'URL contient ?extensions=admonitions

admonitions

Il y a beaucoup d'exemples ici : modèle avec boites

I. Solution à dérouler sur clic :⚓︎

Exemple
<details><summary>Clic pour lire </summary>

+ Point 1  <br>

+ Point 2

</details>
Clic pour lire + Point 1
+ Point 2

II. Des titres avec du HTML⚓︎

Un grand titre
<span style="display:block;
        padding:5px;
        background-color:#afa;
        border:1px solid #bbffbb;
        border-radius:20px;
        font-weight:bold;
        font-size:2em;
        padding:15px;
        text-align:center;">
    Grand titre
</span>
Grand titre
Un plus petit titre
<span style="margin:10px;
            padding:5px;
            background-color:#afa;
            border:1px solid #bbffbb;
            border-radius:20px;
            font-weight:bold;
            font-size:1.2em;
            text-align:center;">Plus petit titre en boite 
</span>
Plus petit titre en boite

III. Pour approfondir⚓︎

La documentation de référence