1.4.4 • Published 1 month ago

hexo-highlight-shiki v1.4.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

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"
1.4.4

1 month ago

1.4.3

11 months ago

1.3.3

1 year ago

1.2.3

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.0

1 year ago