I am looking for a C++ syntax highlighter, i.e. an application that takes plain text input (C++ code, of course) and provides formatted code as output (HTML, RTF).
Why do I need that? Yes, any IDE will do the syntax highlighting. However, I sometimes need code in Word documents or Powerpoint presentations. And I want syntax highlighting there as well.
I can't use online code tools (https://godbolt.com would do that nicely) due to company policies. I am not allowed to post code there.
Requirements:
- works on Windows
- works offline, no Internet
- is gratis, Open Source preferred
Basically such a tool needs a minimal UI. A single textbox would be enough. I paste the Code from clipboard and I copy it back to the clipboard. That's it. No export functionality, no opening of files, nothing else needed.