Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double highlighted code block #2214

Open
Juice-Han opened this issue Nov 17, 2023 · 0 comments
Open

Double highlighted code block #2214

Juice-Han opened this issue Nov 17, 2023 · 0 comments

Comments

@Juice-Han
Copy link

When I coded like this

```javascript
/* Some pointless Javascript */
var rawr = ["r", "a", "w", "r"];
```

After 'jekyll serve', my local site showed me double highlighted code block like this

스크린샷 2023-11-17 오후 11 41 20

so I checked the html file and found

<div class="language-javascript highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cm">/* Some pointless Javascript */</span>
<span class="kd">var</span> <span class="nx">rawr</span> <span class="o">=</span> <span class="p">[</span><span class="dl">"</span><span class="s2">r</span><span class="dl">"</span><span class="p">,</span> <span class="dl">"</span><span class="s2">a</span><span class="dl">"</span><span class="p">,</span> <span class="dl">"</span><span class="s2">w</span><span class="dl">"</span><span class="p">,</span> <span class="dl">"</span><span class="s2">r</span><span class="dl">"</span><span class="p">];</span>
</code></pre></div></div>

How to delete outside block of the code block?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant