summaryrefslogtreecommitdiffstats
path: root/app/views/help/wiki_syntax/code_highlighting_languages.html.erb
blob: befa388a4ef3995e83ebc730af41d36a0baf1c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!doctype html>
<html lang="en">
<head>
  <title>List of languages supported by Redmine code highlighter</title>
  <meta charset="UTF-8">
  <%= stylesheet_link_tag "wiki_syntax_detailed.css" %>
</head>

<body>
  <h1>List of languages supported by Redmine code highlighter</h1>

  <table class="list">
    <tr>
      <th>Language</th>
      <th>Description</th>
    </tr>
    <% @available_lexers.each do |lexer| %>
      <tr>
        <td><code><%= lexer.tag %></code></td>
        <td>
          <%= lexer.desc %>
          <%= " [aliases: #{lexer.aliases.uniq.join(', ')}]" if lexer.aliases.any? %>
        </td>
      </tr>
    <% end %>
  </table>
</body>
</html>