fredrikekre / Literate.jl

Simple package for literate programming in Julia
https://fredrikekre.github.io/Literate.jl
Other
534 stars 61 forks source link

Suggestion: being able to turn a notebook into a script #107

Closed sgaseretto closed 4 years ago

sgaseretto commented 4 years ago

I've been doing Literate Programming in Python and the experience so far is amazing. In order to have code that explains itself and also that could be bundled into a package, I'm using this awesome library called nbdev that allows you to write your code in Jupyter Notebooks and then you can export the cells from the functions and code you want to reuse in new notebooks or scripts. This week I started learning Julia and immediately started missing this feature, so googling a little bit I found this awesome package, it allows you to return a Notebook from a commented Julia script. Are any plans on adding a feature that allows you to do the inverse thing? It would be an awesome feature for the ones that mainly use Jupyter as their development tool.

KristofferC commented 4 years ago

I think this is the same as https://github.com/fredrikekre/Literate.jl/issues/106