How to use tinymce with highlight.js

Custom initialization can be done using the following code just before closing the body tag.

<script>$(document).ready(function() {
      $('pre').each(function(i, e) {hljs.highlightBlock(e)});
  });</script>

From: How to use highlight.js (highlightjs.org)

Comments