- From: Charles Pritchard <chuck@jumis.com>
- Date: Sun, 19 Feb 2012 21:03:26 -0800
- To: WWW Style <www-style@w3.org>
A CSS generated and replaced content semantic, something like content(html) could be helpful with the <code> tag as well as @contentEditable. The idea is for innerHTML to be made visible to the user. Examples: <code><p>I am abusing the code tag</p></code> <div contentEditable><em>I know basic html</em></div> Something in CSS would it easier to flip on and off HTML source code examples. Something more heavy could display syntax highlighting, if it's not being set to a string. code { content: html(); } -Charles
Received on Monday, 20 February 2012 05:03:50 UTC