@vutex/vuepress-plugin-shiki

shiki highlighter

Usage no npm install needed!

<script type="module">
  import vutexVuepressPluginShiki from 'https://cdn.skypack.dev/@vutex/vuepress-plugin-shiki';
</script>

README

Vuepress Shiki

Fork from https://github.com/octref/shiki

和原版完全相同,但是作者合入太慢了,弄个私有版本先用着。

yarn global add vuepress@next 
yarn add -D @vutex/vuepress-plugin-shiki

in .vuepress/config.js:

module.exports = {
    plugins: {
        shiki: { theme: 'nord' } // theme: TTheme
    }
}