mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update: improve snippets
This commit is contained in:
parent
3af2a086f2
commit
823e09f5b6
@ -33,7 +33,7 @@ endsnippet
|
|||||||
|
|
||||||
snippet img "Aligned image using HTML tag"
|
snippet img "Aligned image using HTML tag"
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="${1:URL}" width="400">
|
<img src="${1:URL}" width="${2:800}">
|
||||||
</p>
|
</p>
|
||||||
$0
|
$0
|
||||||
endsnippet
|
endsnippet
|
||||||
@ -49,7 +49,7 @@ endsnippet
|
|||||||
|
|
||||||
snippet detail "Clickable details" b
|
snippet detail "Clickable details" b
|
||||||
<details>
|
<details>
|
||||||
<summary>$1</summary>
|
<summary><font size="2" color="red">${1:Click to show the code.}</font></summary>
|
||||||
|
|
||||||
$2
|
$2
|
||||||
</details>
|
</details>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user