如何优雅的在word中添加代码

用这个网站

http://www.planetb.ca/syntax-highlight-word

使用方法:

1、将需要的代码复制到Code框中,点击【Show Highlighted】按钮

2、将生成的内容直接复制到word

建议将代码先格式化,再生成,推荐一个格式化的网址

https://tool.oschina.net/codeformat

不想成为大佬的小白,不配做一个骚年! 希望自己在学习路上遇到的坑,能成为你们通往成功的基石。 帮助他人,提升自己。
原文地址:https://www.cnblogs.com/fengfengyue/p/12598667.html