Add a minimized version of highlight.js to the UI bundle. highlight.jsshould be imported from the highlight.js npm module. Customize the selection of languages to covers the ones most frequently used.
src/js/vendor folder that requires one or more libraries from modules (i.e.,
require()). The script should then be run through browserify to resolve all require statements. These compiled scripts should then be linked to in
src/ js/ vendor/ highlight.js
Output (in bundle)
js/ vendor/ highlight.js
Here are the list of languages that should be enabled: