Go Down

Topic: Print color like IDE Sketch (Read 1 time) previous topic - next topic


I remember we could do that. But, not now. It would seem this feature would enhance readability to understand the code easier. Do I need an HTML editor or converter? Which one do you recommend? I just want to print.


I know this has come up a couple times in the past and I seem to remember people ended up settling on using a different editor like notepad++, which does some syntax coloration and will print that color.


Dec 04, 2019, 01:33 pm Last Edit: Dec 04, 2019, 01:36 pm by Prius1954
Hi, I just found a video on Youtube (https://youtu.be/S3nGymIo4Hk, in spanish) on how to print the Arduino code in colours:
- In the Arduino IDE, mark the code you want to print
- From the menu, select "Edit", "Copy as html"
- Open Notepad, paste the code
- Save as "name_you_want_to_give_it.html", on the Desktop
- Double click on this file on the Desktop and it will open in your default browser, with all the colours
- Mark the whole code in your browser, copy it and paste it in Word.
There it will appear with all the colours, ready to be printed.


Great tip Prius1954. Thanks for sharing!

Go Up