fossunited / monschool-website

Repository of all courses on mon.school
24 stars 10 forks source link

TypeScript code blocks aren't syntax highlighted #41

Closed tusharsadhwani closed 2 years ago

tusharsadhwani commented 2 years ago
```typescript
let x = 5


The output here doesn't get syntax highlighted. Same with `{.typescript .example}`
anandology commented 2 years ago

Please try with

```{.javascript .example}
```

I guess the javascript mode of codemirror supports both javascript and typescript.

anandology commented 2 years ago

This issue is fixed now.