Discussions » Greasy Fork Feedback
Add syntax highlighting to forum code blocks
https://github.com/JasonBarnabe/greasyfork/issues/321
It wouldn't be the same highlighter, as CodeRay is a server-side Ruby highlighter and the forum is PHP.
@JasonBarnabe, hopefully this helps: http://stackoverflow.com/questions/230270/php-syntax-highlighting
Vanilla has a few syntax highlighting plugins available. I'll have to see if any are suitable.
Also the client side highlighting we discussed some time ago should work here as the code is not that big :)
Add syntax highlighting to forum code blocks
mark { background: #ff9; }
P.S. In case it's not easy to implement in the foreseeable future, there's a temporary userscript solution (screenshot).