From d0f9ca61a9fb7e4c6633127fddf797a2699e0140 Mon Sep 17 00:00:00 2001
From: Karl <kc0bfv@gmail.com>
Date: Sat, 15 Feb 2020 16:27:02 +0000
Subject: [PATCH] Update dropdown shortcode to use HTML details
---
README.md | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 1eed679..a3f8ebf 100644
--- a/README.md
+++ b/README.md
@@ -36,18 +36,14 @@
### Dropdown Text
-To add a link that, when clicked, drops-down a section of text, use shortcode `dropdown/link` and shortcode `dropdown/content`.
+To add an HTML details element that, when clicked, drops-down a section of text, use shortcode `dropdown`.
**Example**
```
-{{< dropdown/link togglename="dropNum1" linktext="Click here to see the text that will drop down." >}}
-```
-
-```
-{{< dropdown/content togglename="dropNum1" >}}
+{{< dropdown summary="Click here to see the text that will drop down." >}}
This is the text that drops down when you click the link.
-{{< /dropdown/content >}}
+{{< /dropdown >}}
```
## Usage
--
Gitblit v1.10.0