@ada87/hexo-prism-plugin

Hexo code highlight by Prism.js

Usage no npm install needed!

<script type="module">
  import ada87HexoPrismPlugin from 'https://cdn.skypack.dev/@ada87/hexo-prism-plugin';
</script>

README

Hexo-Prism-Plugin NPM

This is a copy of https://github.com/ele828/hexo-prism-plugin, and fix brackets symbol { and }.

由于原版不维护,就Fork了一个版本,解决了花括号转义的问题。

Install

## use this
npm i -S @ada87/hexo-prism-plugin
## instead of this
npm i -S hexo-prism-plugin

Or modify package.json and reinstall package:

"hexo-prism-plugin" => "@ada87/hexo-prism-plugin"

安装

使用 npm i -S @ada87/hexo-prism-plugin 安装,

或者直接修改 package.json 将插件名称改为 @ada87/hexo-prism-plugin 即可。

欢迎逛我的 hexo 博客 :