Added support for kramdown, redcarpet and custom formatters.