Discussion in 'XenForo Questions and Support' started by Brent W, Jan 23, 2015.
Would it be possible to use highlight_string() within the templates?
Bump.. new question related to title. Basically looking to have syntax highlighting within a block of code in a template.
You looking for something like this?
Yea to show up on this page:
In the screenshot above I use a customised copy of this add-on. It uses CodeMirror for syntax highlighting and advanced editor functionality. Not sure if you need something that full blown for what you're doing though.
Separate names with a comma.