umple icon indicating copy to clipboard operation
umple copied to clipboard

Support Umple syntax highlighting by Pygments

Open TimLethbridge opened this issue 5 years ago • 0 comments

Pygments is widely used to highlight syntax in various programs, including in Wikipedia.

It would be highly beneficial to have complete support for Umple. Umple should be recognizable and have its keywords and constructs properly highlighted. Probably it should be done as an extension to Java since Java is the most common language embedded in Umple.

See https://pygments.org/languages/ and https://pygments.org/docs/lexers/ for a list of languages.

See https://github.com/pygments/pygments for the Github page to which a PR would need to be made

Some thoughts: Pygments has jvm lexers, and it would make sense that Umple be listed as one of them and extends java.

Instructions are here https://pygments.org/docs/lexerdevelopment/

TimLethbridge avatar Nov 12 '20 14:11 TimLethbridge