-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Pluto.jl notebooks for demos? #120
Comments
There are two ways to bring Pluto into this package:
The first solution requires Litearte support (fredrikekre/Literate.jl#120). For the second solution, is there a stable Pluto API to export HTML (or markdown files) here? I don't use Pluto much so don't know if this is doable. Edit: my Julia service time is starting to be more limited so I'll be more focused on JuliaImages-related stuff. Thus it would be fantastic if you find out a way to support this and open a PR. |
The 2nd option looks doable, rendering in Pluto is doable but I need to know about this package more. Let's see if I can find a solution. |
You can maybe start with a runtime dispatch to generate a new type DemoCards.jl/src/types/card.jl Lines 20 to 30 in e2fc229
save_democards function DemoCards.jl/src/types/julia.jl Lines 134 to 142 in e2fc229
Some special handling might be needed to directly insert the HTML into the template without passing it to Documenter's HTML generation. For instance, DemoCards uses Documenter's |
Thanks for the headstart!! |
It would be nice to have DemoCards working with Pluto.jl. I was planning to use it for demos in GraphNeuralNetworks.jl.
ps: I will be happy to contribute to the feature (if approved).
The text was updated successfully, but these errors were encountered: