<% items = examples.filter { |example| example[:notes].present? } %>
<% if items.many? %>
<% items.each do |item| %>
<%= item[:label] %>
<%= markdown(item[:notes]) %>
<% end %>
<% else %>
<% if items.any? %> <%= markdown(items.first[:notes]) %> <% else %> No notes provided. <% end %>
<% end %>