jupyterlab / jupyterlab-latex

JupyterLab extension for live editing of LaTeX documents
BSD 3-Clause "New" or "Revised" License
622 stars 69 forks source link

Add inline preview like sublime LaTeXTools #54

Open wolfv opened 6 years ago

wolfv commented 6 years ago

E.g.

https://github.com/user-attachments/assets/99087ab0-5237-41ff-a947-4fbc1d776ed8

mpacer commented 6 years ago

This is out of scope for a while, but not an unreasonable request.

@ian-r-rose, do you concur?

ian-r-rose commented 6 years ago

I think it would be really cool, but there are a few things that would need to happen first.

I think it might be nice to plug this in to the completer machinery, so you could tab-to-preview an equation. There are already some plans to hook a completer up to a text editor, so if that were made sufficiently pluggable, we could try to use the client-side equation renderer in a hover box.

Actually putting it inline would be fairly tricky to negotiate with the Codemirror instance, thought it may be possible.