Brent W Well-known member Jan 23, 2015 #1 Would it be possible to use highlight_string() within the templates? Last edited: Jan 23, 2015
Brent W Well-known member Jan 23, 2015 #2 Bump.. new question related to title. Basically looking to have syntax highlighting within a block of code in a template. Upvote 0 Downvote
Bump.. new question related to title. Basically looking to have syntax highlighting within a block of code in a template.
Naz XenForo developer Staff member Jan 23, 2015 #3 You looking for something like this? Upvote 0 Downvote
Brent W Well-known member Jan 23, 2015 #4 Yea to show up on this page: https://www.rwdcoupe.com/xfnewsletter Upvote 0 Downvote
Naz XenForo developer Staff member Jan 23, 2015 #5 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. Upvote 0 Downvote
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.