From 0e6864f5aad8072fbdcecaad48c0151d231b1d25 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 22 May 2019 14:37:31 +0200 Subject: #39, Add expand and tabs shortcodes --- exampleSite/content/_index.md | 2 +- exampleSite/content/docs/shortcodes.md | 57 ++++++++++++++++++++++++++++++++++ exampleSite/content/menu/index.md | 3 +- 3 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 exampleSite/content/docs/shortcodes.md (limited to 'exampleSite/content') diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 772bbe8..a984a44 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -72,4 +72,4 @@ at ademptae, mira. Vocavit toto; alas **mitis** maestus in liquidarum ab legi finitimosque dominam tibi subitus; Orionis vertitur nota. Currere alti etiam seroque cernitis -innumeris miraturus amplectique collo sustinet quemque! Litora ante turba? \ No newline at end of file +innumeris miraturus amplectique collo sustinet quemque! Litora ante turba? diff --git a/exampleSite/content/docs/shortcodes.md b/exampleSite/content/docs/shortcodes.md new file mode 100644 index 0000000..f610a6d --- /dev/null +++ b/exampleSite/content/docs/shortcodes.md @@ -0,0 +1,57 @@ +# Expand shortcode + +## Default + +{{< expand >}} +## Markdown content + +Some text +{{< /expand >}} + +## Custom label + +{{< expand "Custom Label" "..." >}} +## Markdown content + +Some text +{{< /expand >}} + +# Tabs + +{{< tabs "uniqueid" >}} +{{< tab "MacOS" >}} + +# MacOS + +This is tab **MacOS** content. + +Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat +stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa +protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. +Miseratus fonte Ditis conubia. +{{< /tab >}} + +{{< tab "Linux" >}} + +# Linux + +This is tab **Linux** content. + +Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat +stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa +protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. +Miseratus fonte Ditis conubia. +{{< /tab >}} + +{{< tab "Windows" >}} + +# Windows + +This is tab **Windows** content. + +Lorem markdownum insigne. Olympo signis Delphis! Retexi Nereius nova develat +stringit, frustra Saturnius uteroque inter! Oculis non ritibus Telethusa +protulit, sed sed aere valvis inhaesuro Pallas animam: qui _quid_, ignes. +Miseratus fonte Ditis conubia. +{{< /tab >}} +{{< /tabs >}} diff --git a/exampleSite/content/menu/index.md b/exampleSite/content/menu/index.md index cc8634d..3b535a9 100644 --- a/exampleSite/content/menu/index.md +++ b/exampleSite/content/menu/index.md @@ -5,7 +5,8 @@ headless: true - [**Introduction**]({{< relref "/" >}}) - [Examples]({{< relref "/docs/examples.md" >}}) - [With Table of contents]({{< relref "/docs/with-toc.md" >}}) - - [Without Table of Contents]({{< relref "/docs/without-toc.md" >}}) + - [Without Table of Contents]({{< relref "/docs/without-toc.md" >}}) + - [Shortcodes]({{< relref "/docs/shortcodes.md" >}}) - **More Examples** - [Server]({{< relref "/docs/server.md" >}}) - [Client]({{< relref "/docs/client.md" >}}) -- cgit v1.2.3