Support for inline images and youtube