This Neo4j GrgaphGist shows the basics of using AsciiDoctor syntax and a few additions for GraphGists, namely //console for a live console, and //table1, //graph1 and //output1 comment elements to visualize queries with the corresponding number.
Click on the upper navbar to see the source for this Gist.
Use [source,cypher] source blocks to define a Cypher query
[source,cypher] ---- CREATE (n{name:'cypher'})-[:LIKES]->({name:'icecream'}) return n.name, ID(n) as id ----
becomes
CREATE (n{name:'cypher'})-[:LIKES]->({name:'icecream'}) return n.name, ID(n) as id