diff options
| author | jdhao <jdhao@hotmail.com> | 2020-03-09 00:45:23 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-03-09 00:45:23 +0800 |
| commit | a5e5c8cba402e43c12bb2bc41ca1c7145ea2d7fa (patch) | |
| tree | a04ef7e9237b929d02c8649208798951590eef48 /my_snippets/markdown.snippets | |
| parent | 11d71865a52f911245db7b71f70b8bdecf4db0ca (diff) | |
Add detail snippet
Diffstat (limited to 'my_snippets/markdown.snippets')
| -rw-r--r-- | my_snippets/markdown.snippets | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/my_snippets/markdown.snippets b/my_snippets/markdown.snippets index 1a8add9..dcd8489 100644 --- a/my_snippets/markdown.snippets +++ b/my_snippets/markdown.snippets @@ -46,3 +46,11 @@ post_jump "gen_header(snip)" snippet "h([1-6])" "Markdown header" br `!p snip.rv = match.group(1)` endsnippet + +snippet detail "Clickable details" b +<details> +<summary>$1</summary> + +$2 +</details> +endsnippet |
