[i18n-drafts] Use of pre element for code snippets (#464)

r12a has just created a new issue for https://github.com/w3c/i18n-drafts:

== Use of pre element for code snippets ==
The following is being moved here from https://github.com/w3c/i18n-drafts/pull/461

xfq said: We should use <pre><code> according to https://www.w3.org/International/i18n-activity/guidelines/editing#syntax-highlighting

r12a said: I wonder whether the style guidelines need changing. Sometimes it's useful to be able to wrap the code as the window width shrinks, and this looks like one of those occasions.

xfq said: I think that is the usage recommended by the HTML Standard, but I don't have a strong preference, and we can also use` CSS (white-space: pre-wrap;)` to control it.


Please view or discuss this issue at https://github.com/w3c/i18n-drafts/issues/464 using your GitHub account


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

Received on Monday, 3 April 2023 14:30:17 UTC