{{/* Render .Inner before processing the shortcode. */}}
{{ $_hugo_config := `{ "version": 1 }` }}
<span class='fragment {{ .Get "class" }}'
  {{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}>
  {{ .Inner }}
</span>