{#
/**
 * @file
 * Theme override for a field.
 *
 * @see template_preprocess_field()
 */
#}
{%
  set title_classes = [
    label_display == 'visually_hidden' ? 'visually-hidden',
  ]
%}
{{ attach_library('dchadwick/click-copy') }}
<div{{ attributes }}>
  {% for item in items %}
    <span class="material-icons copy" id="copy-button">content_copy</span>
    <div{{ item.attributes.addClass("snippet-content") }}>{{ item.content }}</div>
  {% endfor %}
</div>
