MyBB Community Forums

Full Version: adding a sceditor button for syntax highlighter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I successfully installed the syntax highlighter but now my problem is you have to manually enter the BBCode's. There is no button. I installed My Insert Buttons plugin. But i have no idea how to setup the button. It asks for a regular expression to locate the tag, as well as a replacement. Im not sure what to put in these. 

The code tag i am inserting is {shcode=python}CODE HERE{/shcode} curly braces for brackets. And the python could be another language