
23 Nov
2007
23 Nov
'07
3:34 p.m.
On 23/11/2007, Paulo J. Matos
Hi all,
I'm curious about the best way to typeset haskell code in a wordpress blog. Using blockquote removes all indentation. :-(
There is a code highlighter for wordpress that works for Haskell code, but it's a bit of a pain to use, especially with the visual editor. It'll do a one-way conversion of ">" into > whenever you do a preview. :-( It's easy to use though. <pre lang="haskell"> main = putStrLn "yo lambda" </pre> Unfortunately WP isn't really great at handling text-preprocessors like this or Markdown. To work properly they have to subvert the system a bit. D. -- Dougal Stanton dougal@dougalstanton.net // http://www.dougalstanton.net