Missing documentation on assigning markers (and annotations)
jeromeroussin opened this issue · 1 comments
jeromeroussin commented
Hey, streamlit_ace is great stuff.
I am having issues though making the "markers" option do anything. Am I correct to think that it takes a list of dicts looking like
{'startRow': 1, 'startCol': 0, 'endRow': 302, 'endCol': 0, 'className': 'red', 'type': 'text'}
And "red" needs to be defined as CSS class via st.markdown()
?
If not, how does it work?
Thanks
RichDom2185 commented
Hi, did you figure it out? Seems like the problem comes from the fact that streamlit components are rendered inside iframes, so any <style>
tags defined outside it (such as using st.markdown()
will not affect the components in any way. I have yet to find a solution to this problem, though...