Commit e9a7a65
committed
fix(docs): add Just grammar file and correct Starlight integration
Add missing just.tmLanguage.json grammar file to enable Just syntax
highlighting in documentation code blocks.
Changes:
- Create packages/docs/src/grammars/ directory
- Copy just.tmLanguage.json from infra repository
- Fix astro.config.ts to use starlight's expressiveCode.shiki.langs
instead of top-level markdown.shikiConfig.langs
Starlight uses Expressive Code for syntax highlighting, which requires
the grammar to be configured under starlight.expressiveCode.shiki.langs.1 parent 62a2bb4 commit e9a7a65
File tree
2 files changed
+757
-5
lines changed- packages/docs
- src/grammars
2 files changed
+757
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 11 | | |
17 | 12 | | |
18 | 13 | | |
| |||
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments