view .svn/pristine/ad/adf31b2936fe356e09b9ab737cd473578efad2f1.svn-base @ 1543:05d639e5d59b feature_1136

First cut of a git export script
author Chris Cannam
date Tue, 12 Jan 2016 15:15:02 +0000
parents 261b3d9a4903
children
line wrap: on
line source
<div class="autoscroll">
<table class="filecontent syntaxhl">
<tbody>
<% line_num = 1 %>
<% syntax_highlight_lines(filename, Redmine::CodesetUtil.to_utf8_by_setting(content)).each do |line| %>
  <tr id="L<%= line_num %>">
    <th class="line-num">
      <a href="#L<%= line_num %>"><%= line_num %></a>
    </th>
    <td class="line-code">
      <pre><%= line.html_safe %></pre>
    </td>
  </tr>
  <% line_num += 1 %>
<% end %>
</tbody>
</table>
</div>