tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Bosquez Gonzalez <lb...@microsoft.com.INVALID>
Subject RE: Syntax highlighting for Gremlin
Date Tue, 05 Jun 2018 23:04:51 GMT
Hi Stephen,

In our docs we have specific Gremlin snippets (mostly commands from the Gremlin Console),
that aren't meant to be called within any specific framework. For now we can use some standard
C# or Java highlighting, but I wanted to know if there was any interest in starting such an

-----Original Message-----
From: Stephen Mallette <spmallette@gmail.com> 
Sent: Monday, June 4, 2018 2:17 PM
To: dev@tinkerpop.apache.org
Cc: Ashwini Singh <ashwsing@microsoft.com>
Subject: Re: Syntax highlighting for Gremlin

I don't believe we have anything like that - specific to Gremlin itself i mean. Typically,
we fall back to the native language for highlighting. So, if you write gremlin in java you
would use Java highlighting, if you wrote your Gremlin in C# then you would get c# highlighting,
and so on. Do you feel like there's a nicer highlighting format that should be considered?

As an aside, related to formatting Gremlin, we do have this Style Guide:


On Mon, Jun 4, 2018 at 5:09 PM Luis Bosquez Gonzalez <lbosq@microsoft.com.invalid> wrote:

> Hello Gremlin community,
> I am a program manager at Microsoft working on Cosmos DB's Gremlin API 
> implementation. We're currently looking at using a syntax 
> colorizer/highlighter for our Gremlin docs, but I couldn't find any 
> guidance or examples on how to go on about it.
> Are there any existing rules/guidelines to follow? If not, I can write 
> something up and send it out for review here. The idea is to implement 
> the rules in highlight.js and contribute them.
> Thanks,
> Luis
View raw message