<%= title %> <%= '=' * title.size %> <% notes.each_with_index do |note, index| %> <%= "%s" % [index+1] %>. <%= note.label %>: <%= h note.textline %> (<%= note.file %>: <%= note.line %>) <% end %>