diff --git a/exampleSite/content/home/shortcodes/slide.md b/exampleSite/content/home/shortcodes/slide.md index a7ca478..1813def 100644 --- a/exampleSite/content/home/shortcodes/slide.md +++ b/exampleSite/content/home/shortcodes/slide.md @@ -8,6 +8,8 @@ Use this shortcode when you need to customize slide attributes like id, class, b --- +{{< slide class="hello" >}} + ## Slide Add the shortcode above the slide's content, below the `---`. diff --git a/exampleSite/data/home.toml b/exampleSite/data/home.toml index 86b4d10..4e4e83c 100644 --- a/exampleSite/data/home.toml +++ b/exampleSite/data/home.toml @@ -23,13 +23,12 @@ example = "I'm a slide" Set the `content` attribute to "home.example": ```markdown -{{< slide content="home.example" >}} -``` +--- -
- -💡 Make sure to use a closing or self-closing shortcode. - +{{< slide content="home.example" >}} + +--- +``` ---