Best way to display a program
Posted: Mon Nov 15, 2021 11:40 pm
I have numerous C++ programs (actually Arduino version of C++) that I want to upload to a project page I have for each project that I do.
What is best way to do this while retaining the nice format of say the output of Notepad++, that color codes various items in the code and indents it properly?
I tried various ways without success. Notepad++ wants to save it only as another program type, with no option to save as PDF. Straight text is all wonky and black and white only. I notice that when uploadind programs to Arduino forum, the text gets properly formatted and even provides scroll bars to move through the program.
What is best way to do this while retaining the nice format of say the output of Notepad++, that color codes various items in the code and indents it properly?
I tried various ways without success. Notepad++ wants to save it only as another program type, with no option to save as PDF. Straight text is all wonky and black and white only. I notice that when uploadind programs to Arduino forum, the text gets properly formatted and even provides scroll bars to move through the program.