1. Docs
  2. Formulas
  3. Functions

TO_MARKDOWN_BLOCKQUOTE

Format text as a markdown blockquote. Each line is prefixed with a quote marker so that a multi-line value stays within the quote. Blank text returns an empty string.

Categories: Text

Syntax

TO_MARKDOWN_BLOCKQUOTE(text)

Examples

Example 1

Input

1
{
2
"my_action": {
3
"message": "Escalated by the on-call engineer"
4
}
5
}

Formula

TO_MARKDOWN_BLOCKQUOTE(my_action.message)

Output

"> Escalated by the on-call engineer"

Example 2: Every line is quoted, so a multi-line message stays inside the quote.

Input

1
{
2
"my_action": {
3
"message": "Escalated by the on-call engineer\nAwaiting a vendor response"
4
}
5
}

Formula

TO_MARKDOWN_BLOCKQUOTE(my_action.message)

Output

"> Escalated by the on-call engineer\n> Awaiting a vendor response"
Was this helpful?