Hmm ok.

I think what I'm getting at is that to really be useful, it ought to scan
the document for <code> elements, then parse the text of these nodes,
applying styles (or adding classed <span> tags or whatever) to the words
based on a look-up of keywords, and syntax checking etc. This way, it truly
could be used on any page that uses <code> to show code, and could be easily
extended to allow users to specify which language to use (AS, Java, etc).
Would make a nifty extension for Mozilla-based browsers, for instance. If
you don't have all the skills to put together these pieces, would be a good
project for SourceForge or something.

I think if you are relying on programmers to pretty-up their code listings
in HTML, you arent gonna see much use, and also if programmers wanted to go
to the trouble of doing this, would not be any real extra effort to write
the CSS.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to