-
Notifications
You must be signed in to change notification settings - Fork 391
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
A book publishing project interested in extending jupytext code #447
Comments
Hello @AakashGfude , thanks for reaching out! I'd be happy to help. Tell me a bit more about the |
thanks @mwouts. We are working on putting together a more detailed spec that documents the mappings between Our aim is to get exact two-way representations with the vision we can swap between human readable (text based format) and the machine readable (notebook format) as a mirror format. |
Sounds great! I am looking forward to reading that. |
@mwouts while we are working on the We are interested in the possibility of setting up the |
@mmcky -- how would this differ from the current jupytext.TextFileContentsManager? |
thanks @phaustin -- that's neat! I hadn't realised you can open the I had assumed the workflow would be to open The only confusing part to me is if you open an |
Hello! Yes I agree with @phaustin, a proxy for real time sync is implemented in the ContentsManager. You've seen how it works, right? When you save the document, all its representations are written on disk (e.g.
When you open a |
Note that actually, I would be interested in going one step closer to real realtime updating. For me, the difference with the current behavior would be the following:
This real realtime sync is being discussed at #406, and will require a good understanding of the JS/TS part of Jupyter, together with a port of the |
Now if we come back to your initial question, how to extend Jupytext to another format, I suggest that you have a look at how the Also, the test framework is very important in Jupytext, since it can help you make sure that roundtrip really work. So, for your new |
thanks @mwouts your comments about the
Thanks for the the guidance. That sounds like a good entry point and we would want to do something very similar. I suggest then we will work in a fork of roundtrip is really important to us. so thanks for the guidance on testing too. Super helpful. cc: @AakashGfude |
hey @mwouts 👋 didn't realize this thread was going on! Just FYI this is the project that we were emailing about a few weeks back! Let me know if I can help move the conversation forward! Per your earlier questions about how the notebook structure would be represented in MyST - this is our latest thinking: executablebooks/MyST-NB#12 (comment) We'd love to hear your thoughts on the proposal there! |
By the way, I realise that, if you already have a two way converter Lines 54 to 55 in dbc6012
If you decide to take that route, you may
This will provide the same functionality (i.e. support of |
Hey there @mwouts - I wanted to introduce myself and a team that I am working with.
We are a group of academic researchers who are working on a tech stack to build open, reproducible documents with Python. We've set up a GitHub organization to host the projects that we're working on as a part of this project: https://github.com/ExecutableBookProject.
To better equip ourselves and the community in writing complex documents, we are also building a new markup text format, called myst :- https://github.com/ExecutableBookProject/myst , that basically tries to combine the extensibility and strong semantic markup properties of reStructuredText with some features of Markdown.
Now, to do a seamless conversion between
myst
andipynb
, we thought of extending your amazing tool to includemyst
format. And before we write any code, it would be great if you can give us any heads up or ideas/suggestions on doing this properly.Thanks again for this great project!
The text was updated successfully, but these errors were encountered: