effective-java-3rd-chinese/docs/_style/prism-master/components/prism-tsx.js
2019-03-14 13:10:17 +08:00

2 lines
127 B
JavaScript

var typescript = Prism.util.clone(Prism.languages.typescript);
Prism.languages.tsx = Prism.languages.extend('jsx', typescript);