#189 - Ability to post code in ticket
Type Enhancement
Status Completed
Milestone 2.1
Version 2.1
Component Tickets
Priority Normal
Severity Normal
Assigned to Jack
Reported 14 years ago
Updated 11 years ago
Votes 0
Related tickets
Proposed time
Worked time

What does this enhancement do?

Give users the ability to post code in tickets, whether it be in the ticket post or reply. The system would then be recognised as being a block of code, and apply appropriate CSS on page load. In other words, syntax highlighting. I'd suggest prettify: http://code.google.com/p/google-code-prettify/, StackOverflow.com uses it.

Ticket History

14 years ago by Jack

  • Status New Accepted

14 years ago by Jack

  • Status Accepted Started
Jack closed as Completed 14 years ago

[code]$test = 'This is a test'; echo $test; // display the message... echo 'It\'s alive!'; [/code]