This repository was archived by the owner on Apr 21, 2026. It is now read-only.
v475: better highlight (#807)
* Revert "Revert "highlighted lines a bit like github"" This reverts commit 1af881d8147071a9ac550ee0e2537bc363a1c4d8. * remove annoying behaviour make line separation correct for three different cases 1. during a deploy - setting the spans to display: inline-block caused issue during deploy where these were all on one horizontal line with a giant scrollbar. Fixed by setting white-space: pre-wrap on the pre tag. 2. after cancelling a deploy: extra whitespace would appear between lines if the spans were display: block; fixed by using inline-block. 3. load a completed deploy: the whitespace issue was present here as well, this is because the ERB template simply has \n between each span. selection always expands on shift click