Add snippet preview template