CS-Notes/docs/_style/prism-master/components/prism-tsx.js
2018-12-19 14:09:39 +08:00

2 lines
127 B
JavaScript

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