html mode hook for newline, info cmd for haskell