Sublime Text 2 将颜色粘贴到 MS Word [英] Sublime Text 2 Paste with Colors to MS Word

查看:42
本文介绍了Sublime Text 2 将颜色粘贴到 MS Word的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将我的代码粘贴到 Word 文档中,同时保留突出显示的彩色文本.有没有办法做到这一点?

I would like to paste my code to a word document while preserving the highlighted, colored texts. Is there a way to do this?

推荐答案

您可以安装 highlight plugin 然后使用 SublimeHighlight:从命令面板复制到剪贴板作为 RTF 命令.

You can install highlight plugin and then use SublimeHighlight: copy to clipboard as RTF command from the command palette.

如果您想使用自己的配色方案,请使用 ExportHTML 插件导出到 html 并将 html 复制并粘贴到 MS Word 中.HTMLExport 可以配置为使用任何已安装的配色方案.只需阅读文档并查看默认设置.

If you want to use your own color scheme use ExportHTML plugin to export to html and copy and paste the html in MS Word. HTMLExport can be configured to use any of your installed color schemes. just read the docs and look at the default settings.

使用像 Safari 这样可以以 RTF 格式复制到剪贴板的浏览器.对我来说,chrome 不起作用.

Use a browser like Safari that can copy in RTF to the clipboard. For me chrome does not work.

这篇关于Sublime Text 2 将颜色粘贴到 MS Word的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆