add js, jsx and html aliases for highlightjs

pull/270/head
koehr 5 years ago
parent e16ea3b419
commit b42760abab
  1. 7
      templates/include/post-render.tmpl

@ -20,9 +20,12 @@
"hh" : "cpp",
"hxx" : "cpp",
"cxx" : "cpp",
"sh" : "bash"
"sh" : "bash",
"js" : "javascript",
"jsx" : "javascript",
"html" : "xml"
};
// Given a set of nodes, run highlighting on them
function highlight(nodes) {
for (i=0; i < nodes.length; i++) {

Loading…
Cancel
Save