Files
Redmine/app/views/help/wiki_syntax/code_highlighting_languages.html.erb
Go MAEDA c0af36b12d Dynamic generation of supported code highlighting languages in help section (#40681).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-19 05:07:42 +00:00

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>