テキスト表示
見出し
st.title("タイトル") |
write
次でprint(a, b, c)
のような形になる.
st.write(a, b, c) |
マークダウン
マークダウン形式のテキスト(markdown_text
とする)を入れられる.
st.write(markdown_text) |
表
データフレーム(df
とする)を入れると表で表示される.
st.write(df) |
LaTeX
st.latex(r"""e^{i\pi} + 1 = 0""") |
HTML上での表記
st.code("文字列として表示すべきコード") |
ストリームの出力
st.write_stream(llm_stream) |