File contents changing after saving


I’m running into a weird problem, I have a markdown file that I’m working on but as soon as I save the file, the formatting gets all messed up. Lines are deleted, coloring in the file get wonky, etc.

Here are two screenshots demonstrating before (proper formatting) and after (messed up).


Have you followed the suggestions in the Debugging document? Also, could you give the following information?

  • Which version of Atom are you using?
  • What OS and version are you running?
  • Do you have Emmet installed?
  • Can you reproduce the issue after completely exiting Atom and restarting using atom --safe?


Thanks for your help.
I wasn’t able to reproduce the problem in safe mode, and after looking at the debugging document, I realized it was probably an issue with a specific package. A quick glance through my packages, and I decided to start by disabling markdown-format. Turns out that was the issue; disabled it and everything works fine.

Thanks again!