highlight.js without tags
-
From the highlightjs.org/usage website:
If your code container relies on
tags instead of line breaks (i.e. if it’s not) set the useBR option to true: hljs.configure({useBR: true}); $('div.code').each(function(i, e) {hljs.highlightBlock(e)});
This is exactly what I need. Is there a way to activate it with you plugin?
Congratulations for the great work! ??
- The topic ‘highlight.js without tags’ is closed to new replies.