Spaces:
Sleeping
Sleeping
File size: 511 Bytes
746d2f1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
---
title: st.markdown
slug: /develop/api-reference/text/st.markdown
description: st.markdown displays string formatted as Markdown.
---
<Autofunction function="streamlit.markdown" />
```python
import streamlit as st
md = st.text_area('Type in your markdown string (without outer quotes)',
"Happy Streamlit-ing! :balloon:")
st.code(f"""
import streamlit as st
st.markdown('''{md}''')
""")
st.markdown(md)
```
<Cloud src="https://doc-markdown1.streamlit.app/?embed=true" height="500" />
|