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