Write text without Markdown or HTML parsing.

For monospace text, use st.code.

Function signature[source]

st.text(body, *, help=None)

Parameters

body (str)

The string to display.

help (str)

An optional tooltip that gets displayed next to the text.

Example

import streamlit as st

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

Still have questions?

Our forums are full of helpful information and Streamlit experts.