MyBB Community Forums

Full Version: creating a custom BBCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to create a custom BBcode that generates this. And by this i mean the user pushes the BBCode button and just inserts #Your Python code here

<pre class="brush: python">
   #Your Python code here
</pre>

I have my insert buttons mod installed but i dont really know how to use it to generate the previous.

There was some issues with the syntax highlighter mod, and we had to tweak it to get updated to fix some issues it had not working.