* optional children in List component * added real content to trace page * added real content to cov page * add support for json highlighting * real content on compiler page * real content on profiler page * remove unused import * remove list from compiler page * wrap code components in pages with breakout component * fix font size on text * fix typo
9 lines
307 B
TypeScript
9 lines
307 B
TypeScript
const highlight = require('highlight.js/lib/highlight');
|
|
const javascript = require('highlight.js/lib/languages/javascript');
|
|
const json = require('highlight.js/lib/languages/json');
|
|
|
|
highlight.registerLanguage('javascript', javascript);
|
|
highlight.registerLanguage('json', json);
|
|
|
|
export default highlight;
|