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

Background color missing #12

Open
transplier opened this issue Aug 5, 2022 · 0 comments · May be fixed by #13
Open

Background color missing #12

transplier opened this issue Aug 5, 2022 · 0 comments · May be fixed by #13

Comments

@transplier
Copy link

Somewhat of a dup of #2, but in this case the correct hll class is being generated:

Input (in backticks-ruby):

def test(arg)
  puts arg
end

Output:

<div class="hll"><pre><span></span><span class="k">def</span> <span class="nf">test</span><span class="p">(</span><span class="n">arg</span><span class="p">)</span>
  <span class="nb">puts</span> <span class="n">arg</span>
<span class="k">end</span>
</pre></div>

This renders with the proper vim colors I specify in markdown-highlighter.ini but the background just isn't there:
image

Glancing at the stylesheet it looks like the background rule is

.hll .hll { background-color: #222222 }

Not sure why it wants two hll classes.

@ebrayton ebrayton linked a pull request Dec 6, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant