testing markdown image constraints http://stackoverflow.com/questions/14675913