-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use Markdown or Python for writing Jupyter Notebooks #135
Comments
ProblemWhen looking at this patch, it is immediately clear that the slight obfuscation added through the JSON format Jupyter Notebooks are stored in, properly reviewing diffs effectively becomes impossible, because they can't be deciphered well. That other one isn't unreadable, but still it demonstrates that this form of authoring and editing easily attracts noise. SolutionI think we should level up here and write Notebooks in Markdown in the future, using, for example, Jupytext. /cc @marijaselakovic, @ckurze, @karynzv |
Sounds like a viable approach, without having reviewed the technologies linked in https://github.com/crate/tech-writing/issues/414. Will it still be possible to link directly to these "markdowned" notebooks and open them in Google Colab, for example? |
Hi. Thanks for also mentioning that other page about Quarto, Hex, and Marimo. Sure enough, those [commercial] offerings can also be evaluated for publishing content. Here, we are mostly looking at solutions coming from the Jupyter FOSS communities, pretty close to baseline Jupyter, Binder, and Executable Books technologies.
This is a very good point: It will probably not be possible to have that feature out of the box. We like that convenience very much, so rest assured we will provide a solution for that when switching over to an alternative authoring workflow. Here, we will need to establish a little machinery to also provide/publish the rendered variants when the source file |
While we started the discussion by referencing Jupytext, we would like to not forget mentioning Marimo once more: Contrary to Quarto and Hex, it is FOSS, and ticks roughly the same boxes we have on our list of requirements for improved Notebook authoring:
We wil rephrase the title of this issue accordingly, and will be happy about any relevant feedback. We think it should be considered and evaluated in the same spirit as we would do by exercising a corresponding authoring workflow using Jupytext. |
All of those are right on the spot in one way or another, exploring both Marimo and MyST Notebooks, and relevant addons and extensions. |
About
Markdown as the lingua franca for many technical writing tasks should be used more, as it is roughly interoperable with, for example, GitHub and Discourse. 1
Conversion from Jupyter Notebooks
Just use nbconvert.
Authoring Jupyter Notebooks
Instead of converting from, Jupyter Notebooks can be written in Markdown itself, see Notebooks written entirely in Markdown.
Footnotes
Also with HubSpot, when throwing https://github.com/crate-workbench/hubspot-tech-writing into the mix. ↩
The text was updated successfully, but these errors were encountered: