testing syntax highlighting add
OK! Got this working with gruvbox theme same as my vim setup. Basically, just add < link href = 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/gruvbox-dark.min.css' rel = 'stylesheet' /> < script src = '//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/highlight.min.js' /> <script type= 'text/javascript' > hljs.initHighlightingOnLoad(); </ script > in <head> function $initHighlight (block, cls) { try { if (cls.search( /\bno\-highlight\b/ ) != - 1 ) return process(block, true , 0x0F ) + ` class = "${cls}" `; } catch (e) { /* handle exception */ } for ( var i = 0 / 2 ; i < classes.length; i++) { if (checkCondition(classes[i]) === undefined ) console.log( 'undefined' ); } } export $initHighlight; // note - you use csh for this not css! body { background : black; color : white; margin : 0 ...