diff --git a/content/docs/shortcodes/p5/div.md b/content/docs/shortcodes/p5/div.md index 77cb8c2e..c94dd61c 100644 --- a/content/docs/shortcodes/p5/div.md +++ b/content/docs/shortcodes/p5/div.md @@ -7,7 +7,7 @@ p5 `div` [shortcodes](https://gohugo.io/content-management/shortcodes/) embed [p # p5-div ```html -{{}} +{{}} ``` All parameters are optional but `sketch`. Default values are shown in the above snippet but for `libs*`. Up to `lib5` libs may be specified. @@ -27,7 +27,7 @@ Look at [this](https://mathworld.wolfram.com/ScintillatingGridIllusion.html) and # p5-instance-div ```html -{{}} +{{}} // inline sketch code {{< /p5-instance-div */>}} ``` diff --git a/content/docs/shortcodes/p5/iframe.md b/content/docs/shortcodes/p5/iframe.md index 507c898e..a73fa82c 100644 --- a/content/docs/shortcodes/p5/iframe.md +++ b/content/docs/shortcodes/p5/iframe.md @@ -7,7 +7,7 @@ p5 `iframe` [shortcodes](https://gohugo.io/content-management/shortcodes/) embed # p5-iframe ```html -{{}} +{{}} ``` All parameters are optional but `sketch`. Default values are shown in the above snippet but for `libs*`. Up to `lib5` libs may be specified. @@ -42,16 +42,16 @@ Example took from the [p5 examples](https://p5js.org/examples/sound-sound-effect {{< details title="p5-iframe markdown" open=false >}} {{< highlight html >}} -{{}} +{{}} {{< /highlight >}} {{< /details >}} -{{< p5-iframe sketch="/showcase/sketches/sound.js" width="225" height="225" >}} +{{< p5-iframe sound="true" sketch="/showcase/sketches/sound.js" width="225" height="225" >}} # p5-global-iframe ```html -{{}} +{{}} // inline sketch code {{< /p5-global-iframe */>}} ```