mirror of https://github.com/onweru/compose.git

weru
26.36.2021 1b67f9ccc7f87cd0ec4a2ce5e29698bffff87f0f
use full youtube url in shortcode
1 files modified
4 ■■■■ changed files
exampleSite/content/docs/compose/shortcodes.md 4 ●●●● patch | view | raw | blame | history
exampleSite/content/docs/compose/shortcodes.md
@@ -47,12 +47,16 @@
```markdown
  {{</* youtube "25QyCxVkXwQ" */>}}
  <!-- Use the youtube video id -->
  <!-- or use full url -->
  {{</* youtube "https://www.youtube.com/watch?v=MmG2ah5Df4g" */>}}
```
__Result__
{{< youtube "25QyCxVkXwQ" >}}
{{< youtube "https://www.youtube.com/watch?v=MmG2ah5Df4g" >}}
### Button
This adds a styled link (styled like a button). It takes two no-optional parameters: