Bug 12131 - wiki: Syntax highlighting looks poor and is not helpful
Summary: wiki: Syntax highlighting looks poor and is not helpful
Status: CLOSED FIXED
Alias: None
Product: Infrastructure
Classification: Unclassified
Component: Web Site (show other bugs)
Version: unspecified
Hardware: unspecified Unspecified
: Will affect all users Documentation
Assignee: Michael Tremer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-02 01:11 UTC by Jon
Modified: 2024-02-05 17:03 UTC (History)
1 user (show)

See Also:


Attachments
code block (338.50 KB, image/png)
2019-08-02 01:11 UTC, Jon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon 2019-08-02 01:11:54 UTC
Created attachment 691 [details]
code block

Numbers are black (or dark) with syntax highlighting.  The default for syntax highlighted should be "text".  

```
Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
1GB, 2GB or 4GB LPDDR4-2400 SDRAM (depending on model)
2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.0, BLE
```

```text
Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
1GB, 2GB or 4GB LPDDR4-2400 SDRAM (depending on model)
2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.0, BLE
```
Comment 1 Jon 2019-08-05 22:04:46 UTC
syntax highlighting for bash has the same issue.  Any numbers are black and become invisible with the black background of the code block.  

Suggest making the code blocks a lighter background color like a light gray.
Comment 2 Michael Tremer 2019-08-20 20:02:42 UTC
I have a small fix for this. But I am not happy with it.

pygments styling is a devil. The numbers are showing up, but I will leave this bug open and have a closer look at it later.