aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/highlight.tsx
blob: 0c4602d5155d95fd046ac4f109a1156d1baa4183 (plain) (blame)
1
2
3
4
5
6
const highlight = require('highlight.js/lib/highlight');
const javascript = require('highlight.js/lib/languages/javascript');

highlight.registerLanguage('javascript', javascript);

export default highlight;