Add snippet toggle