From 05130b7ce65c057405db45c55d5ff1124156e5a7 Mon Sep 17 00:00:00 2001 From: dzello Date: Mon, 30 Apr 2018 16:24:00 -0700 Subject: [PATCH] Add note shortcode --- exampleSite/content/home/usage-shortcodes.md | 17 +++++++++++++++++ layouts/shortcodes/note.html | 1 + 2 files changed, 18 insertions(+) create mode 100644 layouts/shortcodes/note.html diff --git a/exampleSite/content/home/usage-shortcodes.md b/exampleSite/content/home/usage-shortcodes.md index d186fc9..8704a0e 100644 --- a/exampleSite/content/home/usage-shortcodes.md +++ b/exampleSite/content/home/usage-shortcodes.md @@ -78,3 +78,20 @@ Keep scrolling down. Use the right arrow or swipe right to continue. {{% /section %}} + +--- + +### Note shortcode + +Add speaker notes to your presentation. + +```markdown +{{%/* note */%}} +Type 's' to see this slide's speaker notes. +{{%/* /note */%}} +``` + +{{% note %}} +You found the speaker notes! +{{% /note %}} + diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html new file mode 100644 index 0000000..5d28fce --- /dev/null +++ b/layouts/shortcodes/note.html @@ -0,0 +1 @@ + \ No newline at end of file