Skip to content

A VSCode extension that includes some snippets for the Butterfly theme of Hexo Blog

License

Notifications You must be signed in to change notification settings

KakaWanYifan/VSCode-Hexo-Butterfly-Snippets

 
 

Repository files navigation

Hexo Butterfly Snippets

VSCode-Hexo-Next-Snippets fork来的。

原作是和Hexo Next这个主题配套的,我进行了一些简单的修改,现在和Hexo Butterfly这个主题配套。

视频介绍:https://www.bilibili.com/video/BV1nf4y1179b/

已在Visual Code上架了,搜索Hexo Butterfly Snippets

已开源:https://github.com/KakaWanYifan/VSCode-Hexo-Butterfly-Snippets

用法

补全

敲入>,然后会有提示,自动补全。

功能

  • >default: Insert Default Note.
  • >primary: Insert Primary Note.
  • >primary-no-icon: Insert Primary No-Icon Note.
  • >success: Insert Success Note.
  • >info: Insert Info Note.
  • >warning: Insert Warning Note.
  • >danger: Insert Danger Note.
  • >mermaid: Insert Mermaid Note.
  • >tabs: Insert Tabs Note.
  • >tabs_tensorflow: Insert Tabs TensorFlow Note.
  • >tabs_java_python: Insert Tabs Java-Python Note.
  • >python:Insert Python formula.
  • >java:Insert Python formula.
  • >translate:Insert Translate.
  • >emsp:Insert  
  • >sql:Insert SQL formula.
  • >js:Insert JavaScript formula.
  • >shell:Insert Shell formula.
  • >refer:Insert Refer.
  • >iframe:Insert iframe.
  • >cpp:Insert CPP.
  • >csharp:Insert CSharp.

自定义功能

修改/snippets/markdown.json,然后重新打包。

安装

已在Visual Code上架了,搜索Hexo Butterfly Snippets

打包

clone源代码,安装插件vsce

npm i vsce -g

在根目录,输入命令打包。

vsce package

发布

VSCode更新了发布方案,现在不能通过命令发布了,要通过网页上传。 https://marketplace.visualstudio.com/manage/publishers/KakaWanYifan

要求

Visual Code版本不低于 1.41.0

LICENSE

MIT LICENSE.

About

A VSCode extension that includes some snippets for the Butterfly theme of Hexo Blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%