It appears to me that the plugin overrides other classes of the pre tag when generating.
Especially when using the bootstrap class .pre-scrollable it is a little annoying that all original classes are stripped off the <pre> tag.
Im not sure if this also applies to classes of the original <code> tag.
Example:
<pre class="pre-scrollable">
<code class="lang-json">
{
"foo": 1
}
</code>
</pre>
Should generate into:
<pre class="pre-scrollable highlight">
<code class="json">
{
"<span class="attribute">foo</span>": <span class="value"><span class="number">1</span></span>
}
</code>
</pre>
But instead generates into:
<pre class="highlight">
<code class="json">
{
"<span class="attribute">foo</span>": <span class="value"><span class="number">1</span></span>
}
</code>
</pre>
If this is the intended behavior i apologize for bothering you, but if not it may be important for more people than me.
It appears to me that the plugin overrides other classes of the pre tag when generating.
Especially when using the bootstrap class
.pre-scrollableit is a little annoying that all original classes are stripped off the<pre>tag.Im not sure if this also applies to classes of the original
<code>tag.Example:
Should generate into:
But instead generates into:
If this is the intended behavior i apologize for bothering you, but if not it may be important for more people than me.