aboutsummaryrefslogtreecommitdiff
path: root/content/overview-rich-content
diff options
context:
space:
mode:
authorJieiku2023-08-25 01:44:50 -0700
committerJieiku2023-08-25 01:44:50 -0700
commit009d3f90b1881530bd28003abe83cfc3735882be (patch)
tree5112554449edf2aaff956b9c364133ec41ff39c5 /content/overview-rich-content
parentc04ff0a3ac2aff149c3454f7563de3f7941e373d (diff)
downloadabridge-009d3f90b1881530bd28003abe83cfc3735882be.tar.gz
abridge-009d3f90b1881530bd28003abe83cfc3735882be.tar.bz2
abridge-009d3f90b1881530bd28003abe83cfc3735882be.zip
Refactor Documentation, PWA Fix, image shortcodes fix, simplify js script loading
Diffstat (limited to 'content/overview-rich-content')
-rw-r--r--content/overview-rich-content/index.fr.md10
-rw-r--r--content/overview-rich-content/index.md10
2 files changed, 6 insertions, 14 deletions
diff --git a/content/overview-rich-content/index.fr.md b/content/overview-rich-content/index.fr.md
index e768252..8b1b4f7 100644
--- a/content/overview-rich-content/index.fr.md
+++ b/content/overview-rich-content/index.fr.md
@@ -5,14 +5,13 @@ date = 2021-05-15
draft = false
[taxonomies]
-categories = ["Features"]
-tags = ["video", "audio", "images", "shortcodes"]
+tags = ["Features","Video","Audio","Images","Shortcodes"]
[extra]
toc = true
keywords = "Images, Videos, Audio, Gif, Rich Content, Shortcodes"
+++
-Plusieurs codes abrégés personnalisés sont inclus pour augmenter CommonMark (avec l'aimable autorisation du [theme d3c3nt](https://d3c3nt.figbert.com/posts/rich-content/)), en plus de ceux [déjà fournis par Zola][built-in]. `video`, `image`, `gif`, et `audio` ont été créés pour vous aider à tirer parti des éléments HTML modernes dans votre écriture.
+Plusieurs codes abrégés personnalisés sont inclus pour augmenter CommonMark (avec l'aimable autorisation du [theme d3c3nt](https://d3c3nt.figbert.com/posts/rich-content/)). `video`, `image`, `gif`, et `audio` ont été créés pour vous aider à tirer parti des éléments HTML modernes dans votre écriture.
<!-- more -->
@@ -49,7 +48,7 @@ Chaque chaîne du `sources` tableau doit être un chemin vers un fichier image d
## GIF
-Le `gif` shortcode est exactement le même que le [shortcode vidéo][video]
+Le `gif` shortcode est exactement le même que le [shortcode vidéo][#video]
– il prend un tableau de chaînes appelées `sources` et renvoie une `<video>` balise. La seule différence réside dans la balise la plus à l'extérieur, qui a quatre propriétés supplémentaires : `autoplay`, `loop`, `muted`, `playsinline`.
L'utilisation de la `<video>` balise à la place des gifs permet de réduire la taille des fichiers, ce qui est particulièrement important dans les régions où Internet est plus lent ou moins fiable.
@@ -77,6 +76,3 @@ Le `audio` shortcode prend un `sources` tableau de chaînes et renvoie une `<aud
{{ audio(sources=["over9000.ogg", "over9000.mp3", "over9000.flac", "over9000.wav"]) }}
```
{{ audio(sources=["over9000.ogg", "over9000.mp3"]) }}
-
-[built-in]: https://www.getzola.org/documentation/content/shortcodes/#built-in-shortcodes
-[video]: @/overview-rich-content/index.md#video
diff --git a/content/overview-rich-content/index.md b/content/overview-rich-content/index.md
index 4dc2285..b216654 100644
--- a/content/overview-rich-content/index.md
+++ b/content/overview-rich-content/index.md
@@ -5,14 +5,13 @@ date = 2021-05-15
draft = false
[taxonomies]
-categories = ["Features"]
-tags = ["video", "audio", "images", "shortcodes"]
+tags = ["Features","Video","Audio","Images","Shortcodes"]
[extra]
toc = true
keywords = "Images, Videos, Audio, Gif, Rich Content, Shortcodes"
+++
-Several custom shortcodes are included to augment CommonMark (courtesy of [d3c3nt theme](https://d3c3nt.figbert.com/posts/rich-content/)), in addition to those [already provided by Zola][built-in]. `video`, `image`, `gif`, and `audio` were created to help you take advantage of modern HTML elements in your writing.
+Several custom shortcodes are included to augment CommonMark (courtesy of [d3c3nt theme](https://d3c3nt.figbert.com/posts/rich-content/)). `video`, `image`, `gif`, and `audio` were created to help you take advantage of modern HTML elements in your writing.
<!-- more -->
@@ -57,7 +56,7 @@ back on if the other formats aren't yet supported, fw and fh set the width and h
## GIF
-The `gif` shortcode is exactly the same as the [video shortcode][video]
+The `gif` shortcode is exactly the same as the [video shortcode](#video)
– it takes an array of strings called `sources` and returns a
`<video>` tag. The only difference is in the outermost tag, which has
four additional properties: `autoplay`, `loop`, `muted`, `playsinline`.
@@ -92,6 +91,3 @@ The browser will play the first type it supports, so placing them in order of si
{{ audio(sources=["over9000.ogg", "over9000.mp3", "over9000.flac", "over9000.wav"]) }}
```
{{ audio(sources=["over9000.ogg", "over9000.mp3"]) }}
-
-[built-in]: https://www.getzola.org/documentation/content/shortcodes/#built-in-shortcodes
-[video]: @/overview-rich-content/index.md#video