You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on Jupyter notebook support in Zed (zed-industries/zed#9778). I know many researchers that would love to have math formatting via $$. The best interface for me to use in GPUI (what Zed is written with) would be a function that takes a &str and returns raw PNG data. That PNG data can be a Vec<u8> or an ImageBuffer from the image crate. As an example, check out crates/repl/src/outputs.rs from zed-industries/zed#12062.
Is there a subset here that would be on par with MathJax, at least at the level supported in Jupyter notebooks?
The text was updated successfully, but these errors were encountered:
I believe using the in-memory IO provider should allow you to drive the engine without doing any file IO. That should allow you to generate a PDF file as a Vec<u8>, after which you would need to use an in-memory PDF-to-image converter.
If you try this and find any APIs lacking, please follow up here or in a new issue with the problems you ran into.
I'm working on Jupyter notebook support in Zed (zed-industries/zed#9778). I know many researchers that would love to have math formatting via
$$
. The best interface for me to use in GPUI (what Zed is written with) would be a function that takes a&str
and returns raw PNG data. That PNG data can be aVec<u8>
or anImageBuffer
from theimage
crate. As an example, check outcrates/repl/src/outputs.rs
from zed-industries/zed#12062.Is there a subset here that would be on par with MathJax, at least at the level supported in Jupyter notebooks?
The text was updated successfully, but these errors were encountered: