https://www.tmd9.com/plugin.php?id=bphp_code! g/ A3 n2 w1 z9 J
discuz_plugin_bphp_code_SC_GBK.xml (简体 GBK 编码)* K+ d) U3 S O: e; J) c: N
discuz_plugin_bphp_code_SC_UTF8.xml (简体 UTF8SC 编码)
* e/ K; s7 E% _2 D& u2 Wdiscuz_plugin_bphp_code_TC_UTF8.xml (繁体 UTF8TC 编码), r% U' E* g. h9 ]1 y* S
discuz_plugin_bphp_code_TC_BIG5.xml (繁体 BIG5 编码)3 f: }0 v" @! f3 {
" Z, q7 V5 F0 H8 g: k. Z1 g8 w5 v插件引用了一款国外的prism.js 代码高亮js插件,样式非常好看,默认支持很多种语言,还可以去自定义
' J+ D/ s, {5 V) Q6 S, P演示效果:https://blockphp.com/thread-11-1-1.html
; k4 {$ g# Y- Q注意8 s1 O% ~- x# l, l, x. c, M
若从网页复的代码存在样式请粘帖到编辑器或记事本过滤一下,否则代码显示会变成一行
# r5 D. f" v" ]; ~4 N* W% \https://www.tmd9.com, M9 `6 ?1 o' R
|