What problem does it solve?
Streamlit text often needs rich formatting, but developers must remember which Markdown features are supported where and how Streamlit extends Markdown with colors, badges, icons, and LaTeX. This guide helps you avoid formatting surprises and craft labels, tooltips, tables, and content that render correctly across Streamlit elements.
Core Features & Use Cases
- Markdown scope mapping: Clarifies which Streamlit functions support full Markdown, which accept only an inline label subset, and which do not support Markdown.
- Streamlit-specific extensions: Demonstrates colored text, colored backgrounds, badges, Material icons, emojis, small text, and LaTeX math usage across the platform.
- Practical examples: Shows how to combine features for dashboards, widget labels, table cells, and tooltips while safely escaping special characters.
- Use case: Enhance an analytics dashboard by adding colored status badges, material icons for navigation tabs, and inline LaTeX in metric labels.
Quick Start
Use st.markdown and label-aware text to add colored badges, Material icons, and inline LaTeX to your Streamlit labels and content.