move monad docs to markdown syntax