Skip to content

A WYSWYG math expression editor for Streamlit using Mathlive math field and on-screen keyboard. Additionally, the component returns the MathML expression of the mathematical expression in the field using MathJaX.

License

Notifications You must be signed in to change notification settings

sinagolchi/Streamlit-Mathlive-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit-Mathlive-Editor

A WYSWYG math expression editor for Streamlit using Mathlive math field and on-screen keyboard. Additionally, the component returns the MathML expression of the mathematical expression in the field using MathJaX. image

Installation instructions

pip install streamlit-mathlive

Usage instructions

import streamlit as st
from st_mathlive import mathfield

Tex, MathML = mathfield(title="Equation 1", value=r"\frac{1}{2} \times 5",)

st.latex(Tex)
st.write(MathML)

About

A WYSWYG math expression editor for Streamlit using Mathlive math field and on-screen keyboard. Additionally, the component returns the MathML expression of the mathematical expression in the field using MathJaX.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published