-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Can you please allow using the hljs directive inside a <pre> or <code> tag instead of requiring it inside <div>? When I do drop it in one of those, I get double boxes around my code in the rendered page.
<li>Multi-line comments are marked with <code>/*</code> and <code>*/</code>
<pre><code hljs class="cpp">/*
A multi-line comment!
*/</code></pre><li>Multi-line comments are marked with <code>/*</code> and <code>*/</code>
<div hljs class="cpp">/*
A multi-line comment!
*/</div>If this is something you'd rather not do for everyone, I'd be fine making the code change to my local copy of angular-highlightjs.js, but I don't know where to start.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

