refactor the file
Add the markdown support