Skip to content

Highlight code snippets in docs

Administrator requested to merge mrnugget/highlight-code-docs into main

Created by: mrnugget

This adds a little background color to <code> snippets in docs. It's hard to spot the monospace font in some of the prose.

I'm probably breaking 18 CSS conventions by using rgba, em, etc. Happy to change anything here, but I mainly care about the background and if somebody wants to implement this properly: pleeease!

Compare left (without background color) and right: screenshot_2020-10-01_08 47 44@2x

Merge request reports

Loading