mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 17:31:14 +00:00
Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22840 e93f8b46-1217-0410-a6f0-8f06a7374b81
29 lines
678 B
Plaintext
29 lines
678 B
Plaintext
<!doctype html
|
|
<html lang="en">
|
|
<head>
|
|
<title>List of languages supported by Redmine code highlighter</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<%= stylesheet_link_tag "wiki_syntax.css" %>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>List of languages supported by Redmine code highlighter</h1>
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Language</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
<% @available_lexers.each do |lexer| %>
|
|
<tr>
|
|
<td><%= lexer.tag %></td>
|
|
<td>
|
|
<%= lexer.desc %>
|
|
<%= " [aliases: #{lexer.aliases.uniq.join(', ')}]" if lexer.aliases.any? %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
</body>
|
|
</html>
|