Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I really like the jupyter_to_medium package, it helped me a lot to create my post. (https://towardsdatascience.com/creating-a-ui-with-ipywidgets-and-autocalc-2ef8ea4cc6c2?source=friends_link&sk=d0077f21d38df0313c0e727a378af415)
However, I found that when I had multiple iterations of the post, it was very tedious to remove the gists from the previous run, as I didn't want them to pollute my gist space.
What I ended up doing is to publish all snippets to the same gist but in multiple files. To the reader it looks the same: all cells appear in different code blocks. But it is easier to maintain, e.g. I can simply delete a previous iteration in one go.
In addition I made two other, minor changes:
1, The URL of the gist is stored in the base directory
2, User can set whether the gist is public (default) or secret. (The latter means it can be viewed, but is not discoverable without the url).
I hope you'll like these additions, let me know if you'd like me to change anything.
This is an example of a draft I created, I hope you are able to access it:
https://medium.com/@andras.gefferth/test-notebook-0-11fef353b63f
Andras