W3C home > Mailing lists > Public > public-html@w3.org > July 2007

Re: (code, sample output and keyboard/device input <code>, <samp>, <kybd>) part of my review of 3.12 Phrase elements

From: Maurice Carey <maurice@thymeonline.com>
Date: Fri, 20 Jul 2007 10:11:07 -0400
To: HTML Working Group <public-html@w3.org>
Message-ID: <C2C63ABB.358E%maurice@thymeonline.com>

On 7/20/07 8:58 AM, "Lachlan Hunt" <lachlan.hunt@lachy.id.au> wrote:

> If a browser were to implement it, it would be required to know about
> the syntax of and have syntax highlighting rules for various languages
> including C/C++, Java, HTML, XML, PHP, Python, Perl, and dozens of others.

I disagree. I don't expect any browser to ever implement the syntax
highlighting but I wouldn't be surprised id dozens of plug-ins, user
scripts, and extensions get created by users for every browser. As you say,
it's for an niche market.

Personally I use
<code>
with
code { white-space: pre }

-- 
::   thyme online ltd
::   po box cb13650  nassau  the bahamas
::   website: http://www.thymeonline.com/
::   tel: 242 327-1864  fax: 242 377 1038
Received on Friday, 20 July 2007 14:11:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:02 GMT