aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-05-22 14:37:31 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-05-22 14:37:55 +0200
commit0e6864f5aad8072fbdcecaad48c0151d231b1d25 (patch)
tree0c29f67a3222db94b1ca828dd8fe113606f7aa04 /exampleSite/content
parent8f5aaee7aaf82a8939deb715483a1c45fe45efa8 (diff)
#39, Add expand and tabs shortcodes
Diffstat (limited to 'exampleSite/content')
-rw-r--r--exampleSite/content/_index.md2
-rw-r--r--exampleSite/content/docs/shortcodes.md57
-rw-r--r--exampleSite/content/menu/index.md3
3 files changed, 60 insertions, 2 deletions
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" >}})