Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlighting tag for wiki #48

Open
jeremydouglass opened this issue Mar 18, 2020 · 0 comments
Open

Syntax highlighting tag for wiki #48

jeremydouglass opened this issue Mar 18, 2020 · 0 comments

Comments

@jeremydouglass
Copy link
Owner

jeremydouglass commented Mar 18, 2020

java vs processing?

Here is the wiki guidance:

Make sure to use the standard identifier for your language even if GeSHi doesn't know how to highlight it yet. If your language isn't in the list, make up an identifier (consisting entirely of lowercase alphanumeric ASCII characters; make it short yet unambiguous) and add it to the list. That way, if your language is supported in a future release of GeSHi, Rosetta Code can immediately benefit.

https://rosettacode.org/wiki/Help:Syntax_Highlighting#Supported_languages

On the one hand, Processing does not have the same syntax as Java -- it is missing a bunch of required keywords on almost every declaration, for example. On the other hand, Java syntax highlighting might be "good enough" in many cases that it should get visible results. So we could recommend java for now, and then change them all to processing later if there is GeSHi support... given that it doesn't look like GeSHi has been actively developed since ~2014 (!)

https://github.com/paladox/geshi-1.1/network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant