publish: add previewing