Skip to content

Pcrab/hexo-highlight-shiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexo Highlight Shiki

Use shiki as code block highlighter instead of builtin highlight.js or prism.js.

Currently only works in hexo version >= 7.0.0, which has a better highlight extend api.

Otherwise please use official plugin hexo-shiki-twoslash instead.

Installation

  1. Install thiis package.

    pnpm add hexo-highlight-shiki
  2. Setup config

    syntax_highlighter: "shiki"
  3. Configure theme (default to github-light)

    shiki:
      theme: "github-light"
  4. Configure renderer if using djot

    shiki:
      renderer: "djot"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •