[data-shapes] remove `<code class="hljs">` (#477)

VladimirAlexiev has just created a new issue for https://github.com/w3c/data-shapes:

== remove `<code class="hljs">` ==
Turtle code examples use black text:
<img width="543" height="159" alt="Image" src="https://github.com/user-attachments/assets/d3d73b81-10f1-4da9-8e04-64ecdb8d2863" />

JSONLD uses gray text:
<img width="290" height="113" alt="Image" src="https://github.com/user-attachments/assets/1295532c-f16b-4ad9-82af-db676136d0e0" />

SHACLC also uses gray text:
<img width="299" height="156" alt="Image" src="https://github.com/user-attachments/assets/7fb6f89f-2315-41b1-ba6c-390b9234f32c" />

Why gray not black? Black has better contrast so is more readable.

I believe this comes from `<code class="hljs">` that is nested in `<pre>`:
<img width="367" height="394" alt="Image" src="https://github.com/user-attachments/assets/1cf97b70-a445-4b1a-a414-a7ba491e37a5" />

As an alternative to implementing useful code highlighting (https://github.com/w3c/data-shapes/issues/465), please remove this element

Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/477 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 6 August 2025 13:06:04 UTC