Open nine-2-five opened 8 years ago
This snippet:
<div hljs> <?php echo "<h2>PHP is Fun!</h2>"; echo "Hello world!<br>"; echo "I'm about to learn PHP!<br>"; echo "This ", "string ", "was ", "made ", "with multiple parameters."; ?> </div>
results in this output:
The issue caused by < or > in HTML can be solved using hljs-include. See here: https://github.com/pc035860/angular-highlightjs/issues/59#issuecomment-178765205
<
>
hljs-include
This snippet:
results in this output: