Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

tool for syntax coloring in html

Thread view: 
Xah Lee - 26 Oct 2005 13:40 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.