CS-Notes/docs/_style/prism-master/components/prism-tsx.js

2 lines
127 B
JavaScript
Raw Normal View History

2018-12-19 14:09:39 +08:00
var typescript = Prism.util.clone(Prism.languages.typescript);
Prism.languages.tsx = Prism.languages.extend('jsx', typescript);