dwyl / book

📗 Our Book on Full-Stack Web Application Development covering User Experience (UX) Design, Mobile/Offline/Security First, Progressive Enhancement, Continuous Integration/Deployment, Testing (UX/TDD/BDD), Performance-Driven-Development and much more!
https://dwyl.github.io/book/
818 stars 132 forks source link

Chore: Highlight `JSON` Code Blocks #98

Closed nelsonic closed 11 months ago

nelsonic commented 11 months ago

At present we don't have any CSS Selector for JSON:

image

This is fairly easy to fix by adding a couple of lines to highlight.css e.g: what we already have for Elixir:

https://github.com/dwyl/book/blob/49ea95dd0e45e073c49e8cd0d35bb37a0daf9a13/theme/highlight.css#L83-L85

Todo

nelsonic commented 11 months ago

Fixed: ✅

image