Re: [sdw] Example 3 in Chapter 9 - inconsistent font colour (#1371)

Tricky, because it sits in an HTML <pre> block; there is no style information within the block. There is no style defined for "pre" in index.html

The block has been copied from https://developers.google.com/maps/documentation/geocoding/requests-geocoding (with the lats & longs truncated from their ridiculous "precision")

Thanks to Firefox, I can tell that it acquires styles from code.hljs.css. I can see that strings which occur after } are treated as plain text rather than "hljs-string" (so "location_type" is black too). I guess this is https://highlightjs.org/, but I don't know which part of our system imports it - so I can't tell what version "we" (or the browsers?) are using, so I don't know whether to raise an issue at https://github.com/highlightjs/highlight.js

-- 
GitHub Notification of comment by PeterParslow
Please view or discuss this issue at https://github.com/w3c/sdw/issues/1371#issuecomment-1361191132 using your GitHub account


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

Received on Wednesday, 21 December 2022 11:21:40 UTC