We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
frag
1 parent 9ca3603 commit 21957c0Copy full SHA for 21957c0
src/snippets/html.json
@@ -157,5 +157,6 @@
157
158
"c": "{<!-- ${0} -->}",
159
"cc:ie": "{<!--[if IE]>${0}<![endif]-->}",
160
- "cc:noie": "{<!--[if !IE]><!-->${0}<!--<![endif]-->}"
+ "cc:noie": "{<!--[if !IE]><!-->${0}<!--<![endif]-->}",
161
+ "frag": "{<>${0}</>}"
162
}
test/fragment.ts
@@ -0,0 +1,7 @@
1
+import {describe} from 'node:test';
2
+import {strictEqual as equal} from 'node:assert';
3
+import expand from '../src';
4
+
5
+describe('frag', () => {
6
+ equal(expand('frag'), '<></>');
7
+});
0 commit comments