Closed prudhomm closed 2 years ago
This converter won't become an Antora extension but it's definitely possible to create an Antora extension that uses this converter. That's basically what we are doing in https://neo4j.com/graphgists/first-steps-with-cypher/
You can click on "Download as Jupyter Notebook" to download a Jupyter notebook that was generated by Antora.
Very nice
@Mogztter I managed to use it. However, asciidoctor does not know antora and its file layout, hence include directive or image directive fail. I would guess that the jupyter hook would need to have a pure asciidoc file without antora's specific no ? it would need somehow to be preprocessed before entering your tool, no ?
That's a good question... but I don't know what is the best strategy. You should ask at https://chat.antora.org, Dan will probably have an opinion on this.
I'm closing this issue since it won't happen in this repository. Let's continue the discussion on https://chat.antora.org.
@Mogztter I managed to get a working version, now we need to improve the converter to support more advanced asciidoc. it is a combination of asciidoc-jupyter, antora-collector and some handlebars helpers for proper href computations
Dear @Mogztter thanks for the very nice tool
since it is based on asciidoctor.js, could this become an extension of antora to generate jupyter like notebooks in antora ?