The Python Papers

The Python Papers

Textual - An Intro to Content Markup

Mike Driscoll's avatar
Mike Driscoll
Oct 29, 2025
∙ Paid

Textual widgets contain content. The content is what you see within the widget’s borders. From a technical perspective, you can think of content as what is specified when you call Static.update() or what a call to render() returns in a custom widget.

You can specify content by using a string that contains special markup, use Content objects for more adva…

Keep reading with a 7-day free trial

Subscribe to The Python Papers to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mike Driscoll
Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture