now support embeded figure