Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Trying to render a view as a document; rendering a rich text cell as markdown?

Topic Labels: Extensions
431 0
cancel
Showing results for 
Search instead for 
Did you mean: 

I have a “Requirements” table with the following fields:

  • ID
  • Description (rich text)
  • Question (rich text)

I want to render all of the records as a single document so I can email it. Example (with Markdown formatting):

# Outstanding questions

## {id 1}
{description 1}
### Question
{question 1}

## {id 2}
{description 2}
### Question
{question 2}

...

My current attempt: Write a script and use output.markdown(...) to render everything.

The issues: record.getCellValue('Description') returns a string, but that string isn’t suitable for passing to output.markdown(...). For example, if there is a “[” in the string, it’s interpreted as a link. Is there a way to render rich text values properly?

0 Replies 0