Adding hooks for markdown.