复制带格式的 Notepad++ 文本? [英] Copy Notepad++ text with formatting?

查看:68
本文介绍了复制带格式的 Notepad++ 文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Notepad++ 编写代码.

I'm using Notepad++ to write code.

如何复制 Notepad++ 中的代码及其格式以粘贴到 Microsoft Word 中?(即语法高亮等)

How do I copy code in Notepad++ along with its formatting to paste into Microsoft Word? (i.e. syntax highlights, etc)

推荐答案

这是当您选择要复制为 html 的文本时,notepad++ 中的图像.

Here is an image from notepad++ when you select text to copy as html.

以及在 OneNote 中粘贴格式化文本后的样子(类似于任何其他支持选择性粘贴"的应用程序):

and how the formatted text looks like after pasting it in OneNote (similar to any other app that supports "Paste Special"):

这篇关于复制带格式的 Notepad++ 文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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