xcz0 / XCZ0-HyperSnips

OrangeX4's HyperSnips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OrangeX4's HyperSnips

You can use it in vscode instead of vim like https://castel.dev/post/lecture-notes-1/#fractions

Use it via vscode extension https://marketplace.visualstudio.com/items?itemName=OrangeX4.hsnips

Specially, it support math environment! It only goes into effect in $...$, $$...$$, etc...

For example:

(1+2)/    --->    \frac{1+2}{}

The snippets is adapted from https://zhuanlan.zhihu.com/p/199268436.

需要和 HyperSnips for Math 插件配套使用.

安装完成后, 按下快捷键 Ctrl + Shift + P, 输入命令 Open Snippets Directory, 就可以打开一个文件夹. 在 该文件夹 新建一个文件 markdown.hsnips, 并将 OrangeX4's hsnips 里面的内容输入进去, 保存, 就可以使用了.

About

OrangeX4's HyperSnips