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 initiative.

-----Original Message-----
From: Stephen Mallette <[email protected]> 
Sent: Monday, June 4, 2018 2:17 PM
To: [email protected]
Cc: Ashwini Singh <[email protected]>
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:

https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftinkerpop.apache.org%2Fdocs%2Fcurrent%2Frecipes%2F%23style-guide&data=02%7C01%7Clbosq%40microsoft.com%7C9827da9bcd8245713d6108d5ca609a3a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636637438609543174&sdata=7%2FGgXgrEbTl2UXxzIKQ7VPj%2FyrzztUC17CuXwrkKt6U%3D&reserved=0



On Mon, Jun 4, 2018 at 5:09 PM Luis Bosquez Gonzalez 
<[email protected]> 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
>

Reply via email to