aboutsummaryrefslogtreecommitdiff
path: root/content/video-streaming-sites/overview-embed-vimeo.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/video-streaming-sites/overview-embed-vimeo.md')
-rw-r--r--content/video-streaming-sites/overview-embed-vimeo.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/content/video-streaming-sites/overview-embed-vimeo.md b/content/video-streaming-sites/overview-embed-vimeo.md
index cfc00de..ce6fd39 100644
--- a/content/video-streaming-sites/overview-embed-vimeo.md
+++ b/content/video-streaming-sites/overview-embed-vimeo.md
@@ -24,9 +24,11 @@ Zola has many shortcodes, and new are easily added, this example shows vimeo.
### Usage
+{% raw %}
```rs
-{{/* vimeo(id="514402648") */}}
+{{<vimeo id="514402648" />}}
```
+{% endraw %}
- `id` - the video id (mandatory)
- `class` - a class to add to the &lt;div&gt; surrounding the iframe (optional)
@@ -39,7 +41,7 @@ Zola has many shortcodes, and new are easily added, this example shows vimeo.
### Output
```html
-{{ vimeo(id="514402648") }}
+{{<vimeo id="514402648" />}}
```
-{{ vimeo(id="514402648") }}
+{{<vimeo id="514402648" />}}