primitive implementaion of markdown