 = content | split:'[[' -%}
    {%- assign external_link_delimiter = '::' -%}

    {%- assign link_joiner_delimiter = '$@' -%}
    {%- for item in content_array -%}
        {%- if forloop.index > 1 -%}
            {%- assign itemparts = item | split:']]' -%}
            {%- assign internal_link = itemparts[0] -%}
            {%- assign external_link = itemparts[0] | split:external_link_delimiter -%}
            {%- assign sidenote = itemparts[0] | split:sidenote_delimiter -%}

            {%- if external_li