Open ggrossetie opened 3 years ago
If we want to generate a Jupyter Notebook from an AsciiDoc file on https://portal.graphgist.org we can use https://github.com/neo4j-documentation/asciidoctor-jupyter
In addition, we can use a Tree Processor extension to automatically generate icypher setup instructions: https://github.com/neo4j-documentation/developer-site-generator/blob/graphgists/lib/graphgists/icypher-instruction-extension.js
icypher
Sample code:
const asciidoctor = require('asciidoctor.js')() const JupyterConverter = require('asciidoctor-jupyter') const icypherInstructionExtension = require('./icypher-instruction-extension') const registry = asciidoctor.Extensions.create() icypherInstructionExtension.register(registry) const input = '...' asciidoctor.convert(input, { backend: 'jupyter', extension_registry: registry })
If we want to generate a Jupyter Notebook from an AsciiDoc file on https://portal.graphgist.org we can use https://github.com/neo4j-documentation/asciidoctor-jupyter
In addition, we can use a Tree Processor extension to automatically generate
icypher
setup instructions: https://github.com/neo4j-documentation/developer-site-generator/blob/graphgists/lib/graphgists/icypher-instruction-extension.jsSample code: