Text

Add rich text and markdown content with dynamic variable templating using Jinja syntax

The Text Cell lets you add rich text or markdown content directly into your Livedocs document. It’s perfect for explanations, notes, or mixing narrative with data.


Modes

  • WYSIWYG Editor – A What-You-See-Is-What-You-Get interface for formatting text without writing markdown.
  • Markdown Mode – Write markdown syntax directly for precise control over formatting.

Dynamic Variables with Jinja

You can insert dynamic variables into your text using Jinja-style templating:

{{ variable_name }}

These variables can come from:

  • Other cells (Python, SQL, Input, etc.)
  • Computed values in your document

When the document runs, Livedocs replaces these tags with the actual values.


Example Uses

  1. Narrative Dashboards

    “As of {{today_date}}, sales have reached {{total_sales}} units, exceeding the monthly target by {{growth_percentage}}%.”

  2. Data Storytelling

    “The highest selling product this quarter is {{top_product}}, with a total revenue of ${{top_product_revenue}}.”

  3. Dynamic Reports

    “Current analysis is based on the dataset {{selected_dataset}} filtered for the date range {{start_date}} → {{end_date}}.”


Tip: Combine Text Cells with Inputs to create interactive narratives that adapt to user selections in real time.