PDA

View Full Version : Paste code into word...



Tickyy
06-20-2013, 11:28 AM
Hey there! Was wondering if there's a beautiful way of pasting the code into word without crewing its beauty(example below)...

21743



Something like this example would be perfect actually(It is in c++)... but if you have any other alternatives let me know

http://puu.sh/3k09R.png

Daniel
06-20-2013, 11:44 AM
Install and open Notepad++ with the NppExport plugin installed.
Open source file in Notepad++
Make a selection of the text you want to copy
Go to the Plugins menu item, then NppExport, then "Copy RTF to Clipboard"
Paste into Microsoft Word.
Voila!