docs: function (container, $image) {
        var caption = $image.data('caption');
  
        if (caption) {
          container
            .html(caption)
            .show();
        } else {
          container
            .text('')
            .hide();
        }
        return this;
      }