I have been trying to use a custom snippet using hypersnips, but it doesn't seem to work. I have installed the extension in vs code and wrote the snippet in all.hsnips, but I am not able to use it inside my react file. Can someone help me with this? This is my snippet code(all.hsnips)
snippet `divx\.([^ ]+) ` "expand to jsx className" A
<div className={``rv=m[1]``}>$1</div>
endsnippet
I have also referred these LaTeX fraction snippets in VSCode