Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

89 lines (66 sloc) 1.275 kb
deck.js and Neo4j docs
======================
////
== Slide One
[options="incremental"]
* item 1
* item 2
////
== Include code ==
Include source code like in this example:
[snippet, java]
----
component=neo4j-examples
source=org/neo4j/examples/EmbeddedNeo4j.java
classifier=sources
tag=createReltype
----
by adding this to the slide source:
[source]
----
[snippet, java]
----
component=neo4j-examples
source=org/neo4j/examples/EmbeddedNeo4j.java
classifier=sources
tag=createReltype
----
----
== Include a graph ==
This graph:
["dot", "slides-I-KNOW-You.svg", "meta"]
----
I -> You [label="KNOW"]
----
is created just so:
[source]
----
["dot", "slides-I-KNOW-You.svg", "meta"]
----
I -> You [label="KNOW"]
----
----
== Include generated graphs ==
include::{importdir}/neo4j-examples-docs-jar/dev/hello-world-java-graph.txt[]
It's just an include statement:
[source]
----
include::{importdir}/neo4j-examples-docs-jar/dev/hello-world-java-graph.txt[]
----
== Include a live console ==
Cypher with syntax highlighting and a live console:
[source,cypher]
----
START n=node(1)
RETURN n
----
.Console
[console]
----
(1) {"name":"A"}
(2) {"name":"B"}
(3) {"name":"C"}
(1)-[:KNOWS]->(2) {}
(1)-[:KNOWS]->(3) {}
start n=node(1) return n
----
Jump to Line
Something went wrong with that request. Please try again.