Zenika / adoc-presentation-model

SYNCHRONIZED FROM GITLAB. A full AsciiDoc extended example generating both HTML PDF and Reveal.js slides #asciidoctor #plantuml #reveal
https://bcouetil.gitlab.io/asciidoc-stack/main/guides/guides/reveal-my-asciidoc.htm
35 stars 17 forks source link

D3 support? #2

Open dorneanu opened 2 years ago

dorneanu commented 2 years ago

Hey! I think this project is super awesome. I really like the "presentation as a code" approach. Are there any chances to also include some (easy) D3.js examples?

Thanks in advance.

bcouetil commented 2 years ago

Thank you for your kind words 🥰

I added C3JS as an easy way to do D3JS for charts.

I don't have any direct D3JS direct use case, do you ? Can you show an example ?

dorneanu commented 2 years ago

I really like this one: https://github.com/teone/reveal.js-diagram-plugin

Where you can also have transitions. But being able to embed "simple" D3 would be nice (here is another example: https://www.d3-graph-gallery.com/graph/sankey_basic.html).

I would also like to know if you can add transitions when you use charts or plantUML diagrams.

bcouetil commented 2 years ago

Oh ! transitions and interactions looks great in these examples.

Unfortunately this is not possible with Plantuml.

In this repo, I collect graphs that I use in presentation. If anyone find something capable of doing plantuml-like diagrams but with transition, I'll happily add it.

Anyway, feel free to suggest PRs for other things you use !

dorneanu commented 2 years ago

I'll do so. Currently I'm a quite heavy user of ORG mode (+Emacs) but creating awesome presentations (with revealjs) looks so easy with asciidoctor. I also like it has so many extensions (especially plantuml and klipse).

One question, though: Where do the "timeline" and "pyramid" statements come from? I couldn't find anything in the asciidoctor documentation.

Thanks in advance.

bcouetil commented 2 years ago

Personal creation, mainly some CSS 😁

I agree, Asciidoctor ecosystem is very rich !