shaku-code-annotate-sugar-high
v0.6.1
Published
Enables Shaku on [Sugar High](https://github.com/huozhi/sugar-high).
Downloads
7
Readme
shaku-code-annotate-sugar-high
Enables Shaku on Sugar High.
Try it out on Shaku × Sugar High.
Usage
import { highlight } from "shaku-code-annotate-sugar-high";
const preview = highlight(code);
// generates HTML which has Shaku rendered
For styling, you can refer to
- sugar-high.css - token colors
- shaku-sugar-high.css - shaku styles
Caveat
Markdown is not supported in Shaku × Sugar High, for simplicity.
If you want, shaku-code-annotate-shiki might be a better option.