0.6.1 • Published 12 months ago

shaku-code-annotate-sugar-high v0.6.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

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

  1. sugar-high.css - token colors
  2. 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.

0.6.1

12 months ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

2 years ago

0.0.2

2 years ago