Commit 1253894
authored
Use djot-grammars as canonical source for syntax highlighting (#103)
* Use djot-grammars as the canonical source for syntax highlighting grammars
- Remove duplicate hljs-djot.ts and hljs-djot.js files
- Update docs to use djot-grammars npm package for TextMate and highlight.js grammars
- Update syntax-highlighting cookbook to reference djot-grammars
- Update tests to use djot-grammars package
* Fix: Use GitHub URL for djot-grammars (not yet on npm)
* Update package-lock.json and fix workflow paths1 parent f2de310 commit 1253894
12 files changed
Lines changed: 46 additions & 982 deletions
File tree
- .github/workflows
- docs
- .vitepress
- components
- cookbook
- public/assets
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments