This Atom package creates a directory named
assets, store the image as a png file in it, and insert a relative image path in the document. Documents can be in markdown, HTML or else. The name of the directory can be changed in the Atom setting.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.