File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ type FileType = 'ts' | 'js' | 'html';
2828type RegionStartToken = { name : string ; startIdx : number } ;
2929
3030const MD_CTYPE_MAP : { [ key in FileType ] : string } = {
31- 'ts' : 'typescript ' ,
31+ 'ts' : 'angular-ts ' ,
3232 'js' : 'javascript' ,
33- 'html' : 'html' ,
33+ 'html' : 'angular- html' ,
3434} ;
3535
3636/**
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import {interpolateCodeExamples} from '../interpolate_code_examples';
1111import { DocEntry } from '@angular/compiler-cli' ;
1212import { mockReadFileSync } from './fake-examples' ;
1313
14- const tsMdBlock = ( code : string ) => '```typescript \n' + code + '\n```' ;
15- const htmlMdBlock = ( code : string ) => '```html\n' + code + '\n```' ;
14+ const tsMdBlock = ( code : string ) => '```angular-ts \n' + code + '\n```' ;
15+ const htmlMdBlock = ( code : string ) => '```angular- html\n' + code + '\n```' ;
1616
1717const entriesBuilder = ( comment : string ) : DocEntry [ ] => [
1818 { jsdocTags : [ ] , rawComment : comment } as unknown as DocEntry ,
You can’t perform that action at this time.
0 commit comments