tuxu / ipynb-quicklook

A Quick Look generator for Jupyter/IPython notebooks without further dependencies
MIT License
188 stars 9 forks source link

Not working for recent versions of macOS? #11

Open deeplook opened 1 year ago

deeplook commented 1 year ago

I've tried this on macOS Ventura, but I can see no preview. Does the code need some update, maybe?

deeplook commented 1 year ago

Also, maybe you have an idea if after an update it would also help Spotlight see and index Jupyter notebook files? See https://github.com/jupyter/notebook/discussions/6862.

tuxu commented 1 year ago

Spotlight integration would probably need a Spotlight Importer. I don't have any experience with that and it's out of scope for ipynb-quicklook. However adding support to nbviewer-app could indeed make sense, as it registers the file extension.

The actual plugin here works for me on Ventura / arm64. Could you please try with nbviewer-app instead? It bundles this project and requires no manual installation of the Quick Look generator.

deeplook commented 1 year ago

The actual plugin here works for me on Ventura / arm64. Could you please try with nbviewer-app instead? It bundles this project and requires no manual installation of the Quick Look generator.

I've tried nbviewer-app on Ventura / arm64. It does not render all of my notebooks. I also used to use nteract.io and the JupyterLab app on macOS before, and while they give better overview of entire notebook files they are not as quick as a Quick Look plugin called with Command-Space in the Finder.app to quickly check only the first few paragraphs.

So if there is a reasonable way to update the code for this plugin I at least would definitely appreciate!

QimaoYang commented 5 months ago

@deeplook all you need is: xattr -cr ~/Library/QuickLook/ipynb-quicklook.qlgenerator