summaryrefslogtreecommitdiffstats
path: root/.frontmatter/config/content/snippets
diff options
context:
space:
mode:
Diffstat (limited to '.frontmatter/config/content/snippets')
-rw-r--r--.frontmatter/config/content/snippets/collapse.json47
1 files changed, 47 insertions, 0 deletions
diff --git a/.frontmatter/config/content/snippets/collapse.json b/.frontmatter/config/content/snippets/collapse.json
new file mode 100644
index 0000000..d8dc15e
--- /dev/null
+++ b/.frontmatter/config/content/snippets/collapse.json
@@ -0,0 +1,47 @@
+{
+ "$schema": "https://frontmatter.codes/config/content.snippets.schema.json",
+ "title": "Collapse",
+ "description": "Collapsible Element",
+ "body": [
+ "{{< button collapse=[[id]] >}}",
+ "[[label]]",
+ "{{< /button >}}",
+ "",
+ "{{< collapse id=[[id]] class=[[class]] >}}",
+ "[[content]]",
+ "{{< /collapse >}}"
+ ],
+ "isMediaSnippet": false,
+ "openingTags": "[[",
+ "closingTags": "]]",
+ "fields": [
+ {
+ "title": "Tag Id",
+ "name": "id",
+ "type": "string",
+ "single": true,
+ "default": ""
+ },
+ {
+ "title": "Button Label",
+ "name": "label",
+ "type": "string",
+ "single": false,
+ "default": ""
+ },
+ {
+ "title": "Class",
+ "name": "class",
+ "type": "string",
+ "single": true,
+ "default": "p-3 border rounded"
+ },
+ {
+ "title": "Content",
+ "name": "content",
+ "type": "string",
+ "single": false,
+ "default": ""
+ }
+ ]
+} \ No newline at end of file