From d5d9abb0912475d37bbb11782251f4647fa10116 Mon Sep 17 00:00:00 2001 From: dzello Date: Mon, 13 Aug 2018 23:57:09 +0200 Subject: [PATCH] Remove old message about closing shortcodes --- exampleSite/content/home/shortcodes/slide.md | 2 ++ exampleSite/data/home.toml | 11 +++++------ 2 files changed, 7 insertions(+), 6 deletions(-) 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" >}} + +--- +``` ---