Rich text

This article explains how to create and use a Rich text field.

The Rich text field is an extension of the Long text field that supports text formatting. It allows you to style content with options such as bold, italic, underline, strikethrough, horizontal rules, ordered and unordered lists, code blocks, quotes, and more.

Limit: 100,000 characters

Create a Rich text field

  1. Click the + icon to the right of the Fields header.
  2. Enter a field name (optional).
  3. Select Long text as the field type.
  4. Enable the Rich text toggle.
  5. (Optional) Set a default value for the field and add a description.
  6. Click Save field to add it to your table.

Refer to the general guidelines on creating a field.

Enter the default value without quotes. Use the Enter key to add a new line.

Cell display

In the table view, the Rich text field appears as a single-line cell. To view or edit the full content, click the Expand icon.

image

Formatting options

NocoDB supports Markdown syntax for formatting the text. Sections below explain various formatting options available in the rich text editor.

Heading

To create a heading, prefix # symbol preceding your heading text. The number of # symbols employed will dictate the heading's hierarchy level and typeface size. Three levels of headings are supported.

# Heading 1
## Heading 2
### Heading 3

image

Text formatting

You can emphasise text with bold, italic, strikethrough or underline formatting options. Table below shows syntax, keyboard shortcut, example & output for each formatting option.

StyleSyntaxKeyboard shortcutOutput
Bold**bold text**Ctrl/Cmd + Bbold text
Italic*italicized text*Ctrl/Cmd + Iitalicized text
Strikethrough~~strikethrough text~~Ctrl/Cmd + Shift + Xstrikethrough text
UnderlineCtrl/Cmd + Uunderlined text

Quote block

You can quote text with a >

Usage

normal text
> quoted text

Display

normal text

quoted text

Code block

Code block can be created by using (3 backticks) before & after the code.

Usage

```
This is a code block
```

Display

This is a code block

Use the Link option in the rich text toolbar to add inline links. Alternatively, you can use markdown syntax [link text](URL).

Bullet List

You can create an unordered list using the Bulleted list option in the toolbar or by starting lines with -, +, or *.

Usage

- Item 1
- Item 2

+ Item 1
+ Item 2

* Item 1
* Item 2

Display

  • Item 1
  • Item 2
  • Item 1
  • Item 2
  • Item 1
  • Item 2
You can create nested lists by using tab key & shift + tab key to indent & outdent the list items

Numbered List

You can create an ordered list using the Numbered list option in the toolbar or by prefixing text with numbers.

Usage

1. Item 1
2. Item 2

Display

  1. Item 1
  2. Item 2

Task list

You can create task lists using the Task list option in the toolbar or with [ ] and [x] for incomplete and completed tasks.

Usage

[ ] Item 1
[x] Item 2

Display

  • Item 1
  • Item 2