Summary
I have a long text (see below), this text contain $ symbol
text = “”"
Chili offers to help Tommy’s widow, Edie Athens, manage the failing business, which owes $300,000 to hip-hop producer Sin LaSalle.
More text…
“”"
Steps to reproduce
Code snippet:
st.write(text)
Expected behavior:
I actually want this text to be shown as is i.e. with $ symbol.
Actual behaviour:
st.write treat this text as ‘markdown’ and $ is considered as the start of latex expression, due to this text after $ symbol just shows up weird.
I can use st.text but then my long text will be shown in a box with horizontal scrollbar, I don’t want that. I want text to be shown as is (with $ symbol) and auto-wrap so that it expand vertically.
any idea how to achieve this?