gets content, changes it to .md and strips rest of tags