Mercurial > hg > soundsoftware-site
annotate .svn/pristine/ff/ff62b4bdd41363f9cdc9bf0c3cbe24d3f90f2713.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 <div class="autoscroll"> |
Chris@909 | 2 <table class="filecontent syntaxhl"> |
Chris@909 | 3 <tbody> |
Chris@909 | 4 <% line_num = 1 %> |
Chris@909 | 5 <% syntax_highlight(filename, Redmine::CodesetUtil.to_utf8_by_setting(content)).each_line do |line| %> |
Chris@909 | 6 <tr> |
Chris@909 | 7 <th class="line-num" id="L<%= line_num %>"> |
Chris@909 | 8 <a href="#L<%= line_num %>"><%= line_num %></a> |
Chris@909 | 9 </th> |
Chris@909 | 10 <td class="line-code"> |
Chris@909 | 11 <pre><%= line %></pre> |
Chris@909 | 12 </td> |
Chris@909 | 13 </tr> |
Chris@909 | 14 <% line_num += 1 %> |
Chris@909 | 15 <% end %> |
Chris@909 | 16 </tbody> |
Chris@909 | 17 </table> |
Chris@909 | 18 </div> |