Added support for different markdown libraries