markdown-viewer
markdown-viewer copied to clipboard
Inline code and code blocks should have the same background
Inline code and code blocks should have the same background. It is more uniform and looks better in markdowns that contains both variants.
For example:
`git config --global user.name "Sam Smith"`
```batch
git config --global user.name "Sam Smith"
\```
is rendered in Markdown Viewer 4.0 with GITHUB
theme like this:
The same code formatted by GitHub:
Browser: Mozilla Firefox 95.0
I see, this is because the code blocks are being rendered using Prism.js
This was fixed in Markdown Viewer v5, you can download it from the Chrome Web Store or the releases section here.