add support for images, change horizontal lines cchar to em-dashes