Home >Backend Development >PHP Tutorial >Recommended Discuz!5 PHP code highlighting and implementation of runnable code_PHP tutorial
discuz! 5.0 forum display style PHP code highlighting plug-in,
syntax coloring PHP code, comrades who like PHP can easily read the code.
At the same time, the html code running function has been added.
This plug-in is modified based on the php code highlighting of Discuz!4 released by someone before.
In addition, my PHP learning has entered a stagnant state.
I hope someone can help me get out of the PHP learning dilemma
My QQ:5642382 My QQ group: 2577162
Function: Posting Use the [php]php code[/php] tag to highlight php code, and use the [runcode]Html code[/runcode] tag to run HTML code (running on the client, not the server).
The steps to add the plug-in are as follows:
1. Modify include/common.js
Find