1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Add detail snippet

This commit is contained in:
jdhao 2020-03-09 00:45:23 +08:00
parent 11d71865a5
commit a5e5c8cba4

View File

@ -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