Patch #37236
closed
- Subject changed from Update Rouge to 3.28 to Update Rouge to 3.29
- Status changed from New to Closed
- Resolution set to Fixed
Updated Rouge to 3.29 in r21627.
- Status changed from Closed to Reopened
As the list of available languages is currently "manually" documented in public/help/code_highlighting_languages.html
, the new lexers would have to be added there too, similar to the previous update in #36325.
As proposed in #36594, we likely want to either generate this automatically or introduce some controller action for that.
- Status changed from Reopened to Closed
- Assignee set to Go MAEDA
Holger Just wrote:
As the list of available languages is currently "manually" documented in public/help/code_highlighting_languages.html
, the new lexers would have to be added there too, similar to the previous update in #36325.
Updated the help in r21629. Thank you for pointing it out.
- Subject changed from Update Rouge to 3.29 to Update Rouge to 3.30
Updated Rouge to 3.30 in r21752.
- Tracker changed from Defect to Patch
- Subject changed from Update Rouge to 3.30 to Update Rouge to 4.0
Updated Rouge to 4.0 in r22058.
- Subject changed from Update Rouge to 4.0 to Update Rouge to 4.1
Updated Rouge to 4.1 in r22111.
Note: I have updated the help using the output of the following command:
bin/rails r 'Rouge::Lexer.all.sort_by(&:tag).each {|lexer| desc = String.new("#{lexer.desc}"); desc << " [aliases: #{lexer.aliases.uniq.join(%q|,|)}]" if lexer.aliases.any? ; puts "<tr>\n <td>#{lexer.tag}</td>\n <td>#{CGI.escapeHTML(desc)}</td>\n</tr>"}'
- Subject changed from Update Rouge to 4.1 to Update Rouge to 4.2
Updated Rouge to 4.2 in r22384.
Also available in: Atom
PDF