Re:Idyll: Interactive Document Language
by abhirag on Friday September 08, 2017 @07:59PM
(#15204844)
Thanks for making this :) As of now I just export Jupyter Notebooks to html, throw them on my site and call it a day but have been meaning to try Idyll for some data visualization.
Re:Idyll: Interactive Document Language
by rmbeard on Friday September 08, 2017 @11:16PM
(#15205392)
Presumably you can switch between idyll and Jupiter notebooks using note down and nbconvert with a bit of extra work.
Re:Idyll: Interactive Document Language
by abhirag on Friday September 08, 2017 @11:34PM
(#15205445)
Well, I have already put some extra work in making jupyter notebooks look good when exported as html (for example - http://abhirag.in/articles/train_of_thought_1.html). I am planning to use Idyll for d3 plots and such, but thanks for the idea, exporting to markdown and then using Idyll was something I hadn't thought about.
Re:Idyll: Interactive Document Language
by rmbeard on Friday September 08, 2017 @11:41PM
(#15205454)
Nice notebook more railways around the world should be using notebooks.
Re:Idyll: Interactive Document Language
by arve0 on Saturday September 09, 2017 @04:16AM
(#15206068)
Hi! I'm thinking about using this for creating tests in school. How would one send state to a backend? Use refs?
Re:Idyll: Interactive Document Language
by mathisonian on Saturday September 09, 2017 @04:38AM
(#15206126)
In that case you'd want to make a component that would post the state to the backend. You can use Idyll's variables to pass the state to the component that sends the request.
For example, here is a page that uses firebase to persist state https://mathisonian.github.io/idyll/firebase/. The custom components for that page are here https://github.com/mathisonian/idyll/tree/master/firebase/co...
Happy to answer any questions about the project, or why you would want to use something like this.