So: anyone who knows a syntax highlighter for RPG or/and CLP that generates either HTML or RTF?
Some more references
- the custom brushes for SyntaxHighlighter does display RPG, but it doesn’t generate HTML that you can copy to the clipboard; SyntaxHighlighterModified does, but it is hard to integrate custom brushes like the RPG one
- GeSHi, BlogTrog, CodeHtmlEr and Gist do not do CLP nor RPG
I was going to fork/pull the Ace Editor and add this, but they have a more laborious contribution scenario so I haven’t taken the time to do that yet.
Been using it for browser-based code documentation. See below.
Another option is using VSCode. They added a feature to the latest version that allows copying the source from VSCode and pasting it into the medium of your choice (presentation, email, etc) fully marked up with syntax coloring. Couple that with the VSCode RPG Syntax plugin and you have a winning solution.
Answered By – aaronbartell
Answer Checked By – Gilberto Lyons (AngularFixing Admin)