Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 817 Bytes

File metadata and controls

34 lines (29 loc) · 817 Bytes

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"
            } 
        ]
    }
}