{%- liquid
  assign timeline_scope = ''

  for index in (1..count)
    assign scope = '--prefix-index, ' | replace: 'prefix', prefix | replace: 'index', index
    assign timeline_scope = timeline_scope | append: scope
  endfor

  assign timeline_scope = timeline_scope | strip | split: ',' | compact | join: ','
-%}
{{- timeline_scope -}}
