Markdown

Enables the display of acceptable markdown in the business process experience.

When you want to display a rich set of text to a user, this is your action. Using markdown you can get headings, bullets, paragraphs and more!

Supported Markdown

Headings

# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6

Text formatting

*italic*
**bold**
***bold and italic***

Links

[Link Text](https://wallet.authvia.com)

Lists

- Bullet Item 1
- Bullet Item 2

1. First item
2. Second item

Images

You can control the rendered width and/or height of an image by adding {width=... height=...} immediately after it. Both are optional and either can be provided alone.

![Alt Text](https://www.authvia.com/wp-content/uploads/2023/03/whitegreen-1024x197.png)
![Alt Text](https://www.authvia.com/wp-content/uploads/2023/03/whitegreen-1024x197.png){width=300 height=60}
![Alt Text](https://www.authvia.com/wp-content/uploads/2023/03/whitegreen-1024x197.png){width=300}
![Alt Text](https://www.authvia.com/wp-content/uploads/2023/03/whitegreen-1024x197.png){height=60}

Dividers/Horizontal Lines

---
***
___

Tables

Standard GitHub Flavored Markdown (GFM) table syntax is supported. Tables can be combined with headings, paragraphs, links, and other markdown in the same features.markdown value.

This action renders tables and provides horizontal scrolling for wide tables. Table appearance (headers, borders, colors) is styled by the consuming application.

| Item | Qty | Price | Amount |
|---|---:|---:|---:|
| Product A | 2 | $50.00 | $100.00 |
| Product B | 1 | $25.00 | $25.00 |

Column alignment can be set on the separator row using :--- (left), :---: (center), or ---: (right).

| Left | Center | Right |
| :---| :---:|---:|
| Text | Text | $100.00 |

Mixed content example:

### Invoice Details

Please review the items below:

| Item | Qty | Price | Amount |
|---|---:|---:|---:|
| Product A | 2 | $50.00 | $100.00 |

**Total Due: $125.00**

[View Invoice](https://example.com/invoice)

Related Actions

This action pairs well with the following actions:

Union (required)

This action must be unioned with another action.

Macro level details for how union attribute behaves can be found within the Union documentation.

Features (required)

NameTypeDescriptionRules
markdownstring(required) The markdown to display. No script tags or HTML is supported.
Examples: "# Title\n\nParagraph\n bullet\n bullet 2".
MaxLength: 65536

Example

Below is an example payload for adding an Markdown action to a business process or blueprint.

{
    "type": "markdown",
    "union": 1,
    "features": {
        "markdown": "# Title\n\nParagraph\n * bullet\n * bullet 2"
    }
}