Project

General

Profile

Actions

Patch #37236

closed

Update Rouge to 4.2

Added by Go MAEDA over 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Actions #1

Updated by Go MAEDA over 2 years ago

  • Subject changed from Update Rouge to 3.28 to Update Rouge to 3.29
Actions #2

Updated by Go MAEDA over 2 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Updated Rouge to 3.29 in r21627.

Actions #3

Updated by Holger Just over 2 years ago

  • 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.

Actions #4

Updated by Go MAEDA over 2 years ago

  • 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.

Actions #5

Updated by Go MAEDA about 2 years ago

  • Subject changed from Update Rouge to 3.29 to Update Rouge to 3.30

Updated Rouge to 3.30 in r21752.

Actions #6

Updated by Go MAEDA about 2 years ago

  • Tracker changed from Defect to Patch
Actions #7

Updated by Go MAEDA almost 2 years ago

  • Subject changed from Update Rouge to 3.30 to Update Rouge to 4.0

Updated Rouge to 4.0 in r22058.

Actions #8

Updated by Go MAEDA over 1 year ago

  • 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>"}'

Actions #9

Updated by Go MAEDA about 1 year ago

  • Subject changed from Update Rouge to 4.1 to Update Rouge to 4.2

Updated Rouge to 4.2 in r22384.

Actions

Also available in: Atom PDF