vericast / nbconflux

nbconflux converts Jupyter Notebooks to Atlassian Confluence pages
BSD 3-Clause "New" or "Revised" License
122 stars 34 forks source link

Display plotly charts #26

Open caheredia opened 5 years ago

caheredia commented 5 years ago

Hi! I'm a big fan of this module. I'm using it more and more. However, my (offline mode) plotly charts don't render in confluence. It looks like a raw HTML dump. Do you have any suggestions for remedying that?

caheredia commented 5 years ago

I was able to enable html embedding within the nbconvert module, using $ jupyter nbconvert --to html --EmbedImagesPreprocessor.embed_images=True mynotebook.ipynb from here https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/exporting.html Adding EmbedImagesPreprocessor.embed_images=True in jupyter_nbconvert_config.py also worked.

However, I've failed to get this to work with nbconflux. Can anyone help?

danizen commented 5 years ago

@caheredia , this seems logically related to the work in #3 and #4. If this becomes a regular exporter, then changes to jupyter_nbconvert_config.py should work. Hang in there.