tuxu / ipynb-quicklook

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

Add LateX support #7

Closed kinoute closed 4 years ago

kinoute commented 4 years ago

nbviewer.js started to implement LateX support : https://github.com/kokes/nbviewer.js/commit/1c0d7337c77da879329de4237ae5a68db3d30ece

I updated this repo with their master branch in hope you could release a new version of nbviewer-app on brew supporting LateX.

Cheers

kinoute commented 4 years ago

nbviewer.js doesn't support all types of LateX (it ignores ones with "bad" syntax) but at least it's a start.

Without (0.1.3):

without

With this PR:

with

tuxu commented 4 years ago

Thanks a lot for the PR @kinoute. I just merged the latest master of nbviewer.js.

To keep track of the state of nbviewer.js, I'm using Git's subtree command

git subtree merge --squash --prefix=nbviewer.js/ nbviewer/master

where nbviewer is a Git remote pointing to the other repo. For this reason, I didn't merge your changes directly.