wip: new snippet option api: data-method='value'; improve gallery