in some online documentations, for examples:
http://perldoc.perl.org/perlref.html
http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-17.html
http://www.haskell.org/hawiki/HaskellDemo
the codes are syntax colored.
Is there a tool that produce codes in html with syntax coloring?
Thanks.
Xah
xah@xahlee.org
http://xahlee.org/
Maciej Dziardziel - 26 Oct 2005 13:50 GMT
> in some online documentations, for examples:
>
[quoted text clipped - 5 lines]
>
> Is there a tool that produce codes in html with syntax coloring?
It is and its called highlight (available in most linux distributions)

Signature
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
Gravity isn't MY fault--I voted for velcro!
Stephen Hildrey - 26 Oct 2005 14:03 GMT
> Is there a tool that produce codes in html with syntax coloring?
I'm sure there's a million-and-one tools that will do what you want, and
suggest you search Google.
Personally, I've used vim to do this in the past. The following
generates marked-up code:
:runtime syntax/2html.vim
Regards,
Steve

Signature
Stephen Hildrey
E-mail: steve@uptime.org.uk / Tel: +442071931337
Jabber: steve@jabber.earth.li / MSN: foo@hotmail.co.uk
Philippe C. Martin - 26 Oct 2005 15:00 GMT
I use gvim.
regards,
Philippe
> in some online documentations, for examples:
>
[quoted text clipped - 11 lines]
> xah@xahlee.org
> ? http://xahlee.org/
Andrew Thompson - 26 Oct 2005 15:25 GMT
....
> Is there a tool that produce codes in html with syntax coloring?
Does that mean you intend simply posting links to your
'articles' on computing in future?
> Thanks.
I am confident a lot of us would be (thankful if you did).
usenet@DavidFilmer.com - 26 Oct 2005 18:12 GMT
> Is there a tool that produce codes in html with syntax coloring?
Sure. It's called "Cascading Style Sheets" (CSS), which is how these
sites have done it (as you can see if you "view source"). See articles
on SitePoint.com (and MANY others) for info. But this really has
nothing to do with Perl.
Googmeister - 26 Oct 2005 19:26 GMT
> in some online documentations, for examples:
>
[quoted text clipped - 5 lines]
>
> Is there a tool that produce codes in html with syntax coloring?
I've used GNU Source-highlight with success.
http://www.gnu.org/software/src-highlite/source-highlight.html
dima_turbiner@yahoo.com - 27 Oct 2005 00:11 GMT
A really easy one to use is Doxygen
Good luck,
Dimitri
> > in some online documentations, for examples:
> >
[quoted text clipped - 9 lines]
>
> http://www.gnu.org/software/src-highlite/source-highlight.html
vishnuvyas - 29 Oct 2005 14:04 GMT
I use htmlize for that. you can try that.
http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el