preview: add svg support