Does st.write() support Latex within Markdown, like jupyter notebook?


As topic really, does it? :slight_smile:

Or the magic commands perhaps?

Welcome to the Streamlit community, @peterstorm! :hugs:

Currently, Streamlit doesโ€™t support latex.

However, Iโ€™ve filed a feature request based on your awesome suggestion. Please feel free to follow that issue for up-to-date information.

Please note that @veered has come up with a cool work-around which uses a Chrome extension.

Finally, please feel free to submit your own feature requests in the future! :slight_smile:

Hey. It turns out that matplotlib can display LaTeX.

I used this fact to create a little gist that demonstrates rendering LaTeX formulae as images in Streamlit.

Enjoy! :slight_smile:

Update: As of v0.50.2, Streamlit supports Latex natively! :partying_face:

1 Like