st.text - Streamlit Docs
Show API reference for

Write text without Markdown or HTML parsing.

For monospace text, use st.code.

Examples

import streamlit as st

st.text("This is text\n[and more text](that's not a Markdown link).")
star

Tip

Want a new st.text feature or found a bug? Browse open issues and react with a 👍 on the initial post of the ones that matter to you. Your votes help us prioritize what to work on next.

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.