# 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="/files/aLn9Fp1Jaji9VurUzXjq" alt=""><figcaption></figcaption></figure>

![Rich text result in Webflow](/files/PFoGXEcCo8sIJykTBDGf)

### 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="/files/2AoyrydofSTjNwi6U1CJ" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.whalesync.com/features/additional-features/html-and-markdown-field-extensions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
