Ability to post code in ticket

189
Enhancement
Jack
2.1
2.1
Tickets
Completed
Normal
Normal
10 years ago
7 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

10 years and 4 months ago by Jack

  • Changed Status from New to Accepted

10 years and 4 months ago by Jack

  • Changed Status from Accepted to Started

10 years and 4 months ago by Jack

  • Closed ticket as Completed

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