[Haskell-cafe] Haskell code in Wordpress

Claude Heiland-Allen claudiusmaximus at goto10.org
Fri Nov 23 15:27:22 EST 2007


Paulo J. Matos wrote:
> Hi all,
> 
> I'm curious about the best way to typeset haskell code in a wordpress
> blog. Using blockquote removes all indentation. :-(
> 
> Cheers,
> 

Probably HsColour:

http://www.cs.york.ac.uk/fp/darcs/hscolour/
--8<--
hscolour is a small Haskell script to colourise Haskell code. It 
currently has five output formats: ANSI terminal codes, HTML 3.2 with 
<font> tags, HTML 4.01 with CSS, LaTeX, and mIRC chat client codes.
--8<--

Would be nice to have a server-side thing too, though.


Thanks,

Claude
-- 
http://claudiusmaximus.goto10.org


More information about the Haskell-Cafe mailing list