refactoring
moving markdown renderer to application helper