gitlab-org--gitlab-foss/app/assets/javascripts/notebook/lib/highlight.js
Phil Hughes 4755f6066b Moved NotebookLab assets into repo
Moved all the notebooklab assets into the GitLab repo
2017-04-11 18:50:21 +01:00

22 lines
424 B
JavaScript

import Prism from 'prismjs';
import 'prismjs/components/prism-python';
import 'prismjs/plugins/custom-class/prism-custom-class';
Prism.plugins.customClass.map({
comment: 'c',
error: 'err',
operator: 'o',
constant: 'kc',
namespace: 'kn',
keyword: 'k',
string: 's',
number: 'm',
'attr-name': 'na',
builtin: 'nb',
entity: 'ni',
function: 'nf',
tag: 'nt',
variable: 'nv',
});
export default Prism;