Skip to content

Commit bc19457

Browse files
authored
Add ID parameter to collapse-content snippet (#28586)
1 parent cb7c368 commit bc19457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/markdown.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@
306306
"Collapse": {
307307
"prefix": ";;collapse",
308308
"body": [
309-
"{{% collapse-content title=\"${1:title}\" level=\"${2|h4,h1,h2,h3,h5,p|}\" expanded=${3|false,true|} %}}",
310-
"${4:...}",
309+
"{{% collapse-content title=\"${1:title}\" level=\"${2|h4,h1,h2,h3,h5,p|}\" expanded=${3|false,true|} id=\"${4:id-for-anchoring}\" %}}",
310+
"${5:...}",
311311
"{{% /collapse-content %}}"
312312
],
313313
"description": "Collapse and expand content"

0 commit comments

Comments
 (0)