sindresorhus / github-markdown-css

The minimal amount of CSS to replicate the GitHub Markdown style
https://sindresorhus.com/github-markdown-css
MIT License
7.98k stars 2.1k forks source link

style problem using with hightlight.js #51

Closed zzzzbw closed 6 years ago

zzzzbw commented 6 years ago

Using markdown.css and hightlight.js in dark background some style will be covered. For example,the img below is using github-markdown-css and highlight.js/styles/Darcula.css 31fec43a-e7b8-42e6-a99d-e50861ea0bb5 Actually,it should be eaf8d65b-57f8-4601-a3d3-a0f95b6e116e The markdown.css set the background-color and cover the style of highlight

sindresorhus commented 6 years ago

This CSS is exactly what GitHub uses. If you want something different, like a darker syntax highlight, it's up to you to override the correct styles.