#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 13 years ago
Updated 10 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

13 years and 4 months ago by Jack

  • Status New Accepted

13 years and 4 months ago by Jack

  • Status Accepted Started
Jack closed as Completed 13 years and 4 months ago

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