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

Missing code block highlighting (same background color as the slide) #32

Open
eltix opened this issue Oct 18, 2018 · 1 comment
Open
Assignees

Comments

@eltix
Copy link

eltix commented Oct 18, 2018

When inserting code blocks in the Markdown document, the syntax highlighting works but the code block itself is not highlighted.
Below is a sample Markdown document to illustrate my issue:


Start a new project with the template

$ sudo apt-get install cookiecutter
$ cookiecutter someurl foo
$ cd foo && ls
hackage/
tools/
data MyData q =
  MyData
  { name    :: String
  , content :: q
  }

class LatexShowable a
  where toLatex :: a -> String

f :: (LatexShowable a) => a -> IO ()
f = print . toLatex

Here is the Google slide generated with

md2gslides slides.md --style atom-one-dark

image

As you can see, the code blocks do not stand out from the rest of the slide the way the code blocks in this very issue do (by being included in a rectangle with a different background color). Is this something that can be fixed?

I've tried with other --style options (github, tomorrow-night, etc.) but the highlighting of the code block itself is the same.

Other than that, thanks for the great tool! I really like being able to put syntax highlighted code in my slides.

@tducret
Copy link

tducret commented Apr 8, 2019

👍

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

No branches or pull requests

4 participants