-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change <pre> examples/guidance to not use <code>
This change updates some examples of <pre> elements to not use <code> children, and also updates some related non-normative guidance in the spec to advise that when marking up <pre> elements that contain content written in a particular programming language, a class attribute+value on the <pre> element itself can be used to indicate the language — without the need to always instead add a <code> child with a class attribute+value. Relates to #3764
- Loading branch information
1 parent
4539076
commit e7c8004
Showing
1 changed file
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters