Commit b0a3e96
authored
fix: add syntax highlighting to blog code blocks (#13)
* fix: add syntax highlighting to blog code blocks
Signed-off-by: Alex Bozarth <ajbozart@us.ibm.com>
* fix: guard rehype-highlight against unrecognized language tags
Passes `ignoreMissing: true` so fenced code blocks with unrecognized
language identifiers (e.g. mermaid, pseudocode) do not throw during build.
Signed-off-by: Alex Bozarth <ajbozart@us.ibm.com>
---------
Signed-off-by: Alex Bozarth <ajbozart@us.ibm.com>1 parent ac7dd6f commit b0a3e96
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
0 commit comments