DataLab Docs
  • What is DataLab?
  • Work
    • Creating a workbook
    • Sharing a workbook
    • Managing a workbook
    • Code cell
      • Working with packages
    • Text cell
      • Including images
    • SQL cell
      • SQL scenarios
      • Parameterize your SQL query
    • Explore Data cell
    • Chart cell
      • Configuring your chart
      • Pivot charts
      • Migration guide
    • AI Assistant
    • Version history
    • Scheduled runs
    • Hiding and showing cells
    • Long-running cells
    • Report view
    • Environment variables
    • Git and GitHub
  • Connect to Data
    • Connect your data to DataLab
    • Sharing a Data Source
    • Airtable
    • Amazon Athena
    • Amazon S3
    • Databricks
    • Dropbox
    • Files
    • Google Drive
    • Google BigQuery
    • Google Sheets
    • MariaDB
    • Microsoft SQL Server
    • MongoDB
    • MotherDuck
    • MySQL
    • Oracle Database
    • PostgreSQL
    • Redshift
    • Snowflake
    • Supabase
  • Guides
    • Publish a notebook
    • Importing data from flat files
    • Resizing plots
    • Show Bokeh and Pyvis plots
  • Resources
    • Pricing
    • Manage group settings
    • Reporting for Group Admins
    • DataLab for education
    • Technical requirements
    • Addressing slow code
    • Address R vulnerability
    • Get help
Powered by GitBook
On this page
  • Editing mode
  • Viewing mode
  • Switching modes

Was this helpful?

  1. Work

Text cell

PreviousWorking with packagesNextIncluding images

Last updated 1 year ago

Was this helpful?

Use the text cell to add text to your notebook. The text cell uses Markdown syntax, which means that you can use certain formatting queues like ** and _ to make text bold, italics, or to add headings and lists to your text. See for a DataCamp cheat sheet with basic syntax.

The text cell can be in two modes: editing mode or viewing mode.

Editing mode

Use this mode write your markdown cell. A toolbar appears that you can use to easily format text, as well as add hyperlinks and images. You can also just paste an image from your local filesystem or your clipboard into a text cell; the image will be uploaded to your workbook and included with the correct Markdown syntax.

Viewing mode

This is the 'rendered' version of your markdown code: headings show up as larger titles, text formatted as bold will actually be bold, and links and images will be displayed. People with viewing access to your workbook will always see your text cells in viewing mode (since they can not edit them).

Switching modes

To switch from viewing mode to editing mode, you can do one of the following:

  • Double click on the text cell

  • Click "Edit" in the cell menu

  • Hit Enter when the cell is active.

To switch from editing mode to viewing mode, you can do one of the following:

  • Click "View" in the cell menu

  • Hit Ctrl + Enter when the cell is active.

here
Text cell in editing mode
The same text cell in viewing mode