# HTML and Markdown field extensions

### TLDR

Add "\_html" to a text field to sync HTML into a rich text field. Add "\_md" to a text field to sync Markdown to a rich text field.

### Details

Sometimes you want more control over your rich text and want to directly edit HTML, such as controlling the exact HTML that gets stored in a Webflow rich text field. For that, we built the HTML field extension feature.

If you add "\_html" to the end of a long text field in Airtable, Google Sheets, or Postgres, Whalesync will recognize that data as HTML. If you map that field to a rich text field in Webflow, we'll automatically convert your HTML into rich text.

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2FCoBMTpfC7Kbs3uLCb0i9%2FScreenshot%202025-06-17%20at%204.19.35%E2%80%AFPM.png?alt=media&#x26;token=db6379c1-e35f-442a-91ca-8297f3371214" alt=""><figcaption></figcaption></figure>

![Rich text result in Webflow](https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2FXv759SlC7HZnCBccBKnV%2Fhtml%20tag%20-%20rich%20text.png?alt=media\&token=cec46fda-656c-48e5-857a-bc8a328ffc5f)

### Markdown

In a Postgres or Supabase column, if you add "\_md" to the end of the column name, Whalesync will parse the data as Markdown and convert it to HTML. The column will be read-only on the Postgres/Supabase side, to prevent overwriting your Markdown with HTML. If you need two-way sync, use HTML instead.

In an Airtable field, if you add "\_md" to the end of a rich text field's name, Whalesync will **preserve** the Markdown in the data instead of converting to HTML. This is because Airtable's rich text fields store Markdown internally, and you can enter limited Markdown into an Airtable cell to format text.

{% hint style="warning" %}
Google Sheets does not currently support the Markdown field extension.
{% endhint %}

### **Things to keep in mind**

You will need to refresh your fields in Whalesync if you want to convert an existing field into an HTML or Markdown field.

{% embed url="<https://www.loom.com/share/79d8cb821f3e43ec8edfd79e4ffa5da4?sid=e534524a-fd44-4246-bfa7-25ac5f77995e>" %}

{% hint style="warning" %}
**If using an Airtable field as HTML, make sure "enable rich text formatting" is toggled off.**
{% endhint %}

<figure><img src="https://2481481593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtLaMDbvbGOow76E8CnqW%2Fuploads%2FICjQO8FhZDFr7bDbKPKd%2FCleanShot%202023-04-26%20at%2017.30.25.png?alt=media&#x26;token=841e1c72-9520-421c-ae9f-6d6c36387095" alt=""><figcaption></figcaption></figure>

Make sure only the source side has the `_html` or `_md` extension on the field or column name. If the destination side has the suffix as well, Whalesync will sync the text form of the raw HTML or Markdown, escaped to display on your website or rich text field.
