Copy Notepad++ text with formatting?

后端 未结 9 1440
星月不相逢
星月不相逢 2020-11-30 17:37

I\'m using Notepad++ to write code.

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

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-30 18:01

    Select the Text

    From the menu, go to Plugins > NPPExport > Copy RTF to clipboard

    In MS Word go to Edit > Paste Special

    This will open the Paste Special dialog box. Select the Paste radio button and from the list select Formatted Text (RTF)

    You should be able to see the Formatted Text.

提交回复
热议问题