As was promised, in Crayon 1.7.0 I have added the ability to highlight multiple languages at once in a single Crayon. This is useful when you’re showing an HTML page with PHP with the
<script> tag and CSS with the
<style> tag. The delimiter regex is defined in
/langs/delimiters.txt and there are two new settings added under “Code”.
You’ll see a “+” sign by default when multiple languages are detected in your Crayon, and you can hide this if you like. Also, you can disable this mixed highlighting feature by using the attribute like so:
<pre lang="html" mixed="false"></pre>. Oh, and you can also use
<pre></pre> tags instead of
$[crayon] tags now
So I hope that this nice addition proves useful, enjoy.