|
Posted by dorayme on 12/28/06 00:13
In article <4592f985$0$15540$88260bb3@free.teranews.com>,
"Possum" <possum@nospam.com> wrote:
> Hi
>
> Is there a tool I can use for converting plain html text I am writing into
> color coded HTML I can paste into my web page and post on the net so other
> can see the colored code..
>
Almost for sure, Dreamweaver would do this for you. Or even MS
Word export as HTML as long as you used the colour coded text as
input. The code you would get would be likely awful, (In MS Word
2001 it is dreadful) - but you could clean it up.
The simplest thing to do really is to have the code in front of
your eyes (coloured as you like, either gotten from cut and paste
from View Source in a browser that supports coloured source code
or else your own text editor). And then look at it for where the
coloured bits are, they will be the markup items like <div> and
<html> probably. You then can easily span or class the instances
and write the simplest css instruction to colour such.
To span the mark up, use your Search and Replace function and
especially the < and > to identify the spots that need spanning.
All this can be done very quickly if you are careful to observe
your text. You don't actually need special software like
Dreamweaver.
--
dorayme
[Back to original message]
|