Commit e2c0a12
authored
docs: Add dedicated syntax highlighting cookbook page (#98)
* docs: Add dedicated syntax highlighting cookbook page
- Create comprehensive syntax-highlighting.md covering Shiki, highlight.js, and Prism.js
- Document canonical sources for Djot grammars (TextMate from djot-intellij, hljs from this repo)
- Note known limitations in hljs grammar vs TextMate grammar
- Add comparison table and recommendations for different use cases
- Update cookbook index to link to new page
- Add to sidebar navigation
* Remove 'Syntax Highlighting' section from index
Removed the 'Syntax Highlighting' section and its link from the cookbook index.1 parent 0490149 commit e2c0a12
3 files changed
Lines changed: 380 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
329 | 328 | | |
330 | 329 | | |
331 | 330 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | 331 | | |
364 | 332 | | |
365 | 333 | | |
| |||
0 commit comments