From 8765d5820d94484794f24d9cc62468f3f72cf3e0 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sun, 25 Aug 2024 00:12:18 -0700 Subject: Add additional video shortcode options --- content/overview-images/index.fr.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'content/overview-images/index.fr.md') diff --git a/content/overview-images/index.fr.md b/content/overview-images/index.fr.md index a2f014b..3a68080 100644 --- a/content/overview-images/index.fr.md +++ b/content/overview-images/index.fr.md @@ -31,18 +31,19 @@ Cours optionnels: - ci peut être utilisé pour centrer l'image. - fr peut être utilisé pour faire flotter l'image à droite. - fl peut être utilisé pour faire flotter l'image vers la gauche. +- b1 peut être utilisé pour ajouter une bordure de 1px. ** google lighthouse recommande de définir les attributs alt, w et h. Si alt est omis, le nom du fichier est utilisé. Si w ou h sont omis alors get_image_metadata() remplit ces valeurs. ** ## Utilisation (même chemin) ```rs -{{/* img(src="ferris-happy.svg" class="ci" alt="Ferris est heureux" caption="Ferris" link="https://www.rust-lang.org/") */}} +{{/* img(src="ferris-happy.svg" class="ci b1" alt="Ferris est heureux" caption="Ferris" link="https://www.rust-lang.org/") */}} ``` **Output** ```html -{{ img(src="ferris-happy.svg" class="ci" alt="Ferris est heureux" caption="Ferris" link="https://www.rust-lang.org/") }} +{{ img(src="ferris-happy.svg" class="ci b1" alt="Ferris est heureux" caption="Ferris" link="https://www.rust-lang.org/") }} ``` -{{ img(src="ferris-happy.svg" class="ci" alt="Ferris est heureux" caption="Ferris" link="https://www.rust-lang.org/") }} +{{ img(src="ferris-happy.svg" class="ci b1" alt="Ferris est heureux" caption="Ferris" link="https://www.rust-lang.org/") }} ## Utilisation (chemin relatif ./) ```rs -- cgit v1.3.1