Commit a7c23c7
refactor: remove alias json for support add custom language support (#414)
* refactor: remove alias json for support add custom language support
* test: add test case for highlight.js registerLanguage
* Update highlight.spec.ts
Signed-off-by: Mimi <stevenjoezhang@gmail.com>
* fix: review issue for test case
* Revert "refactor: remove alias json for support add custom language support"
This reverts commit 256c483.
* feat: use hljs.getLanguage for judge lang support
* chore: update format
* chore: run eslint --fix
---------
Signed-off-by: Mimi <stevenjoezhang@gmail.com>
Co-authored-by: tingzhao.ytz <tingzhao.ytz@antgroup.com>
Co-authored-by: Mimi <stevenjoezhang@gmail.com>
Co-authored-by: yoshinorin <yoshinorin.net@outlook.com>1 parent 37dab11 commit a7c23c7
3 files changed
+39
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
184 | 221 | | |
185 | 222 | | |
186 | 223 | | |
| |||
0 commit comments