[Haskell-cafe] Haskell code in Wordpress
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Fri Nov 23 17:31:45 EST 2007
On Fri, 2007-11-23 at 20:22 +0000, 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. :-(
For the Gtk2Hs website I used a program (partly derived from hscolour)
to highlight and adds links to documentation. It generates xhtml which
one can just paste in.
See the hello world example on this page:
http://haskell.org/gtk2hs/documentation/
The program is here:
http://darcs.haskell.org/gtk2hs/docs/tools/AddLinks.hs
Duncan
More information about the Haskell-Cafe
mailing list