You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To do syntax highlighting, we'll need to indicate in each code example what language it is in, and for some, if they are in multiple languages, split them into multiple. We could then apply something like Prism, with an accessible color scheme.
Suggestion:
use code elements with pre elements inside of them, add (programming) language definition with lang-* pattern described in HTML spec, the code element
retroactively add this around all code examples in Techniques and Understanding docs
The text was updated successfully, but these errors were encountered:
To do syntax highlighting, we'll need to indicate in each code example what language it is in, and for some, if they are in multiple languages, split them into multiple. We could then apply something like Prism, with an accessible color scheme.
Suggestion:
code
elements withpre
elements inside of them, add (programming) language definition withlang-*
pattern described in HTML spec, the code elementThe text was updated successfully, but these errors were encountered: