Project

General

Profile

Actions

Defect #17577

closed

<code> blocks have no numbers, help shows line numbers for <code> blocks though

Added by Felix Schäfer over 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

The detailed wiki syntax help shows line numbers for code blocks in wiki syntax source:/branches/2.5-stable/public/help/en/wiki_syntax_detailed.html#L275, currently the wiki syntax doesn't show them though:

# The Greeter class
class Greeter
  def initialize(name)
    @name = name.capitalize
  end

  def salute
    puts "Hello #{@name}!" 
  end
end

Should the line numbers be added to the code blocks or the line numbers be removed from the detailed help?


Related issues

Is duplicate of Redmine - Patch #20288: Finalize CodeRay 1.1.0 upgradeClosed

Actions
Actions

Also available in: Atom PDF