You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It creates a <pre><code class="python hljs"> block to hold the code. The element inspection using the developer tools shows that it is classed with "python hljs" as expected, but the code is not highlighted, only the background is painted with the desired color/pattern. Tried several styles but all behave the same way.
The same downloaded code, if copied and pasted to the <body> section with the same <pre><code class="python hljs"> tags, is highlighted normally.
The text was updated successfully, but these errors were encountered:
Have a html that downloads code from the internet and displays it using the following javascript callback:
It creates a
<pre><code class="python hljs">
block to hold the code. The element inspection using the developer tools shows that it is classed with "python hljs" as expected, but the code is not highlighted, only the background is painted with the desired color/pattern. Tried several styles but all behave the same way.The same downloaded code, if copied and pasted to the
<body>
section with the same<pre><code class="python hljs">
tags, is highlighted normally.The text was updated successfully, but these errors were encountered: