Documentation

search

Search

  • rocket_launch

    Get started

    • Installation
      add
    • Fundamentals
      add
    • First steps
      add
  • code

    Develop

    • Concepts
      add
    • API reference
      remove
      • PAGE ELEMENTS
      • Text elements
        remove
        • HEADINGS AND BODY
        • Jt.title
        • Jt.markdown
        • FORMATTED TEXT
        • Jt.code
        • Jt.divider
        • Jt.text
        • UTILITIES
        • Jt.html
      • Data elements
        add
      • Chart elements
        add
      • Input widgets
        add
      • Media elements
      • Layouts and containers
        add
      • Status elements
        add
      • APPLICATION LOGIC
      • Navigation and pages
        add
      • Execution flow
        add
      • Caching and state
        add
      • Connections and secrets
      • Custom components
      • TOOLS
      • App testinglink
      • Command line
        add
    • Quick reference
      add
  • web_asset

    Deploy

    • Concepts
      add
  • school

    Knowledge base

    • FAQ
  • Home/
  • Develop/
  • API reference/
  • Text elements

Text elements

Jeamlit apps usually start with a call to Jt.title to set the app's title.

Pure text is entered with Jt.text, and Markdown with Jt.markdown.

Headings and body text

screenshot

Markdown

Display string formatted as Markdown.

Jt.markdown("Hello **world**!").use();
screenshot

Title

Display text in title formatting.

Jt.title("The app title").use();

Formatted text

screenshot

Code block

Display a code block with optional syntax highlighting.

Jt.code("int a = 1234;").use();
screenshot

Preformatted text

Write fixed-width and preformatted text.

Jt.text("Hello world").use();
screenshot

Divider

Display a horizontal rule.

Jt.divider().use();

Utilities

Render HTML

Render an HTML strings to your app.

Jt.html("<p>Foo bar.</p>").use();
Previous: API referenceNext: Jt.title
forum

Still have questions?

Go to our discussions forum for helpful information and advice from Jeamlit experts.


HomeContact UsCommunity
© 2025 Jeamlit - Cyril de Catheu