Open maltegrosse opened 5 years ago
Hello, is it possible to reload highlight js somehow dynamically? comparable to:
hljs.initHighlighting.called = false; hljs.initHighlighting();
or
$(document).ready(function() { $('#myDiv').each(function(i, e) {hljs.highlightBlock(e)}); });
You can use code property to bind to your dynamic code content.
code
thank you. But i am using it in a contentEditable="true" container and want to re render the highlightjs once changes are made
Can you give me some example?
Hello, is it possible to reload highlight js somehow dynamically? comparable to:
or