Ability to post code in ticket

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

6 years and 10 months ago by Jack

  • Changed Status from New to Accepted

6 years and 10 months ago by Jack

  • Changed Status from Accepted to Started

6 years and 10 months ago by Jack

  • Closed ticket as Completed

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