Ability to post code in ticket

189
Enhancement
Jack
2.1
2.1
Tickets
Completed
Normal
Normal
11 years ago
8 years ago
0

Description

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

11 years and 6 months ago by Jack

  • Changed Status from New to Accepted

11 years and 6 months ago by Jack

  • Changed Status from Accepted to Started

11 years and 6 months ago by Jack

  • Closed ticket as Completed

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