(10-22-2021, 09:12 PM)Gimphried Wrote: How?
Don't know if the admins have access to the server, and source code of the MyBB forum and/or can install packages, but I did found this video https://www.youtube.com/watch?v=h_QhG-uAUS4 by googling "colored python syntax with html"
It can also be done with Javascript as well ➤ an example like there https://www.w3schools.com/howto/howto_sy...hlight.asp (it needs to be adapted to python syntax, though)
Or include an external highlighter like the Google prettify https://github.com/googlearchive/code-prettify or here https://stackoverflow.com/questions/5484...a-web-page
Over all it might be a bit of work depending the solution and the possibilities than MyBB allows, in the end I don't know if there is a real need as you can copy/past in your favorite text editor like Atom which will highlight your preferred syntax, but would it be cool to have it? I would say ➤ it's always nice to have features
EDIT: I di few more searches and discovered that MyBB forum do have a plugin for that https://community.mybb.com/mods.php?acti...w&pid=1118 which should simplify the process, but I don't know if admins can have enough rights to implement it, or not.