On 23/11/2007, Paulo J. Matos <[EMAIL PROTECTED]> wrote: > 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 [EMAIL PROTECTED] // http://www.dougalstanton.net _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe