refactored redcarpet markdown rendering for pull request