# Creating a Streamlit Equation Editor

Has anyone created a WYSIWYG equation editor in Streamlit? It would be really handy to have it built-in, since Streamlit is used so much for maths and data visualisation.

I haven’t, but Im curious as to what an equation editor looks like. Do you have any examples of equation editors? Maybe I’ve seen one before just don’t know it by name.

@Saumya_Shah @conic
here is an example

st.latex(r'''
a + ar + a r^2 + a r^3 + \cdots + a r^{n-1} =
\sum_{k=0}^{n-1} ar^k =
a \left(\frac{1-r^{n}}{1-r}\right)
''')


that looks like a latex display block. It displays equations. I don’t think that is what was meant by WYSIWYG equation editor. Markdown and latex violates WYSIWYG.