0.0.20 • Published 9 months ago

@git-diff-view/shiki v0.0.20

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

shiki highlighter for @git-diff-view

usage

import { DiffFile } from "@git-diff-view/core";
import { highlighterReady } from "@git-diff-view/shiki";

const diffFile = new DiffFile(...params);

diffFile.initRaw();

highlighterReady().then((highlighter) => {
  diffFile.initSyntax({ registerHighlighter: highlighter });

  diffFile.buildSplitDiffLines();

  diffFile.buildUnifiedDiffLines();

  setBundle(diffFile.getBundle());
});
0.0.20

9 months ago

0.0.19

9 months ago

0.0.18

9 months ago

0.0.17

9 months ago

0.0.15

11 months ago

0.0.16

11 months ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago