Word中插入代码块

在Word中将代码块显示出来:https://blog.csdn.net/kevinelstri/article/details/52527213

方法: 
1、创建一个1×1的表格 
2、将代码复制到表格中 
3、设置表格的背景为灰色,无边框形式

OK

另外一种方法:

http://www.planetb.ca/syntax-highlight-word打开这个网页PlanetB;就OK了

猜你喜欢

转载自www.cnblogs.com/liangbo-1024/p/9263237.html