File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 10
10
- Anchor links are no longer incorrectly checked for relative paths, #2604 .
11
11
- Fixed an issue where line numbers reported in error messages could be incorrect, #2605 .
12
12
- Fixed relative link detection for markdown links containing code in their label, #2606 .
13
+ - TypeDoc will no longer crash when asked to render highlighted code for an unsupported language, #2609 .
13
14
14
15
### Thanks!
15
16
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ export class MarkedPlugin extends ContextAwareRendererComponent {
221
221
this . parser = markdown ( {
222
222
...this . markdownItOptions ,
223
223
highlight : ( code , lang ) => {
224
- code = highlight ( code , lang || "ts" ) ;
224
+ code = this . getHighlighted ( code , lang || "ts" ) ;
225
225
code = code . replace ( / \n $ / , "" ) + "\n" ;
226
226
227
227
if ( ! lang ) {
You can’t perform that action at this time.
0 commit comments