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
Add Word and Excel support? #5469
Comments
Interesting stuff! Full print-oriented desktop publishing is a pretty
complex beast, and docx is pretty proprietary, so I wouldn't hold hold your
breath there!
Here's an (unreleased) extension that brings rich text editing powered by
prosemirror to Markdown cells (among other things):
https://github.com/deathbeds/jupyterlab-outsource
It would be extendable to markdown files.
You might also be interested in:
https://github.com/rossant/ipymd
Which can roundtrip from odt to notebooks.
Also qgrid, which can treat dataframes as spreadsheets:
https://github.com/quantopian/qgrid
|
Also ipysheet - https://ipysheet.readthedocs.io/en/latest/ |
depends on what you mean by "rich text editor". given the support for arbitrary html in the markdown, and latex... |
Thank you all for the suggestions. I'm looking for built-in WYSIWYG word and spreadsheet editors like the one for text file instead of a py lib. Is there any guild how to develop extensions and any good ide? |
@paris0120 you'll probably have the best support from Visual Studio Code:
its typescript environment can't be beat.
Here are some docs about doing extension development:
https://jupyterlab.readthedocs.io/en/stable/developer/extension_dev.html
There are also a number of extensions by the JupyterLab developers and the
community:
https://www.npmjs.com/search?q=keywords:jupyterlab-extension
It's probably worth taking a look at their source, and it's probably worth
reading a bit how the built-in renderers work.
The specific kind of extension you want might vary, but the route with the
least boilerplate is the MIME renderer pattern. Here's one for graphviz:
https://github.com/deathbeds/jupyterlab_graphviz
Good luck!
…On Wed, Oct 10, 2018 at 8:40 AM paris0120 ***@***.***> wrote:
some ideas
https://github.com/paulhodel/jexcel
https://github.com/froala/wysiwyg-editor
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5469 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACxROnXDtm6ReTIekz5jQd_n6WW9c4Aks5ujeqngaJpZM4XUble>
.
|
Thx. |
There is a cookie-cutter for mime extensions: https://github.com/jupyterlab/mimerender-cookiecutter-ts We did a tutorial on making mimerender extensions as well, at the end of https://www.youtube.com/watch?v=Gzun8PpyBCo (see https://github.com/jupyterlab/scipy2018-jupyterlab-tutorial for the repo). Also see https://github.com/jupyterlab/jupyterlab-mp4 for a tutorial. |
Do I understand right that mimerender is not enough to create a csv/excel editor? I mean we already have csv table viewer and jupyterlab-spreadsheet but I could really use a simple editor. jexcel seems like a way to go. Has anyone tried before? |
Done: https://github.com/krassowski/jupyterlab-spreadsheet-editor I am getting better with the turnaround from complaining about a problem to developing an extension addressing it. Implementation-wise, it builds upon FileEditor and uses jexcel for GUI and Papa Parse for RFC 4180 compatible CSV parsing. No Excel support yet, but I would like to add it too. Let me know what you think. |
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there: https://discourse.jupyter.org/t/extending-the-csv-viewer/94/5 |
It seems that there is another WIP extension: https://github.com/jupytercalpoly/jupyterlab-tabular-data-editor from the @jupytercalpoly team. @Zsailer (as I think have not met anyone else on the team) please let me know if you would like to get my input given my earlier experiment (https://github.com/krassowski/jupyterlab-spreadsheet-editor) which uses off-the-shelf solutions, or you already have a vision for this project and best I can do is to start directing users to your repo at some point. Hope it will mature quickly and we will have another great production-ready extension! |
Or at least csv and rich text editors? which I believe are not hard and a lot of open libs. The current CSV viewer is not very decent. It will be great if you can finish all the work in one place.
The text was updated successfully, but these errors were encountered: