Property style

The style property is a simple property inside separator blocks used to set the style of the separator. You can for example create dashed, dotted, or solid separators. The default is "solid".

Example

An example with a dashed separator.

{
    "from" : "info@example.com",
    "subject" : "Email with a dashed separator",
    "content" : {
        "blocks" : [ 
            {
                "type" : "text",
                "content" : "First paragraph"
            }, 
            {
                "type" : "separator",
                "style" : "dashed"
            }, 
            {
                "type" : "text",
                "content" : "Second paragraph"
            } 
        ]
    }
}

Found a typo?

You can find this documentation page on GitHub.
Propose a change