highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.31k stars 3.52k forks source link

doesn't work #4015

Closed ORESoftware closed 3 months ago

ORESoftware commented 3 months ago

why doesn't this work? nothing happens

<h3 id="vibe-trace">Vibe Trace</h3>
<blockquote>
<p>Vibe trace</p>
</blockquote>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<h3 id="hash-fingerprint">Hash (Fingerprint)</h3>
<blockquote>
<p>{{x.hash}}</p>
</blockquote>
<h3 id="event-name">Event Name</h3>
<blockquote>
<p>{{x.eventName}}</p>
</blockquote>
<h3 id="event-env">Event Env</h3>
<blockquote>
<p>{{x.env}}</p>
</blockquote>
<h3 id="event-priority">Event Priority</h3>
<blockquote>
<p>{{x.priorityLevel}}</p>
</blockquote>
<h3 id="userid">UserId</h3>
<blockquote>
<p>{{x.userId}} <br> Link to user: {{x.userId}}</p>
</blockquote>
<h3 id="potential-error">Potential error:</h3>
<p>Potential error trace:<br></p>
<div class="sourceCode" id="cb1"><pre
class="sourceCode javascript"><code class="sourceCode javascript"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="co">//{{x.errorTrace}}</span></span></code></pre></div>
<p><br></p>
<h3 id="event-data">Event Data</h3>
<p>Event data: <br></p>
<div class="sourceCode" id="cb2"><pre
class="sourceCode javascript"><code class="sourceCode javascript"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co">//{{x.eventData}}</span></span></code></pre></div>
<p><br></p>
<h3 id="raw-json">Raw JSON</h3>
<p><br></p>
<details>
<p>Raw json:</p>
<div class="sourceCode" id="cb3"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a> <span class="co">//{{x.rawJSON}}</span></span></code></pre></div>
</details>
joshgoebel commented 3 months ago

Please provide a jsfiddle or something we can view live.

joshgoebel commented 3 months ago

Closing for inactivity.