Skip to content

Commit 8aea269

Browse files
committed
Add Markdown HTML figure snippet
1 parent 4f2c854 commit 8aea269

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<snippet>
2+
<content><!-- <figure class="figure" align="center" label="fig:${1:TODO}" src="./srv/scripts/${2:TODO}.js" alt="${3:TODO}"> -->
3+
4+
<div class="figure" align="center" data-figure="fig:${1:TODO}">
5+
<img src="TODO" alt="${3:TODO}">
6+
<br>
7+
</div>
8+
9+
<!-- </figure> --></content>
10+
11+
<!-- Tab trigger to activate the snippet -->
12+
<tabTrigger>stdlib.figure</tabTrigger>
13+
14+
<!-- Scope the tab trigger will be active in -->
15+
<scope>text.html.markdown</scope>
16+
17+
<!-- Description to show in the menu -->
18+
<description>Markdown HTML figure</description>
19+
</snippet>

0 commit comments

Comments
 (0)