Documentation Coding

Dear all, what software can I use to get my code neatly display in my documentation for arduino code in mirosoft word ?

See the attachment for more details.

Thank you.

doc.png

Move Arduino formatted sketch to MS Word

Follow these steps:

  1. Download the NotePad++ program http://notepad-plus-plus.org/
  2. Follow the steps in Post #1 Notepad++ User Defined Language for Arduino - Libraries - Arduino Forum
  3. Start the NotePad++ program
  4. Make sure you have Language set to C++
  5. Open up your sketch in NotePad++
  6. Right click the screen and select Plugin commands
  7. Select Copy Text with Syntax Highlighting
  8. Open Microsoft Word
  9. Paste the sketch into the document Use "Keep source formatting"

Do I need to do the steps everytime when I wanted to copy a new code to MS Word ?

Thank you

Just steps 3 through 9.

Okay, the steps work well !

This is what I get as attached. But somehow a little bit different colour and format when like open up in arduino IDE

Any ideas ?

Thank you

notepad++.png

What you see is what you get. :wink:

It is not the same as the Arduino IDE but it works.

But I think can change the colour scheme right ? Just I am not sure what is the colour scheme for instructions and so....

Thank you

You can change the colors in the Style Configurator:

Yes, I am changing. Will update soon !

Thanks alot !

Do you have the list of colours ? That would be perfect.

Thanks and appreciate :slight_smile:

No I don't.

Some other stuff FYI:

Thank you so much !

Appreciate your kind help :slight_smile: