diff options
| author | Jieiku | 2024-08-25 00:12:18 -0700 |
|---|---|---|
| committer | Jieiku | 2024-08-25 00:12:18 -0700 |
| commit | 8765d5820d94484794f24d9cc62468f3f72cf3e0 (patch) | |
| tree | 82a9fa056a87e6cc95d22970ba10614a1aa095a1 /content/overview-images | |
| parent | 9dbbae6f8f8ef1028c95ff7e6290092eb110fe5b (diff) | |
| download | abridge-8765d5820d94484794f24d9cc62468f3f72cf3e0.tar.gz abridge-8765d5820d94484794f24d9cc62468f3f72cf3e0.tar.bz2 abridge-8765d5820d94484794f24d9cc62468f3f72cf3e0.zip | |
Add additional video shortcode options
Diffstat (limited to 'content/overview-images')
| -rw-r--r-- | content/overview-images/index.fr.md | 7 | ||||
| -rw-r--r-- | content/overview-images/index.md | 7 |
2 files changed, 8 insertions, 6 deletions
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 diff --git a/content/overview-images/index.md b/content/overview-images/index.md index 2ebfabb..00e25bf 100644 --- a/content/overview-images/index.md +++ b/content/overview-images/index.md @@ -31,18 +31,19 @@ Optional Classes: - ci can be used to center the image. - fr can be used to float the image right. - fl can be used to float the image left. +- b1 can be used to add a 1px border. ** google lighthouse recommends setting alt, w, and h attributes. If alt is omitted then the filename is used. If w or h are omitted then get_image_metadata() fills these values. ** ## Usage (same path) ```rs -{{/* img(src="ferris-happy.svg" class="ci" alt="Ferris is Happy" caption="Ferris" link="https://www.rust-lang.org/") */}} +{{/* img(src="ferris-happy.svg" class="ci b1" alt="Ferris is Happy" caption="Ferris" link="https://www.rust-lang.org/") */}} ``` **Output** ```html -{{ img(src="ferris-happy.svg" class="ci" alt="Ferris is Happy" caption="Ferris" link="https://www.rust-lang.org/") }} +{{ img(src="ferris-happy.svg" class="ci b1" alt="Ferris is Happy" caption="Ferris" link="https://www.rust-lang.org/") }} ``` -{{ img(src="ferris-happy.svg" class="ci" alt="Ferris is Happy" caption="Ferris" link="https://www.rust-lang.org/") }} +{{ img(src="ferris-happy.svg" class="ci b1" alt="Ferris is Happy" caption="Ferris" link="https://www.rust-lang.org/") }} ## Usage (relative path ./) ```rs |
