Using Markdown in messages
Last updated
class, id, rel, role, title## How to change your email address. [[.header--green #header]]
// output
<h2 id="header" class="header--green">How to change your email address.</h2>[[title="my amazing title"]]- list item **bold**[[.red]]
// output
<ul>
<li>list item <strong class="red">bold</strong></li> // the class is applied to the <strong> element
<ul>
- list item **bold** [[.red]]
// output
<ul>
<li class="red">list item <strong>bold</strong></li> // adding a space applies the class to the <li>
</ul>
- list item **bold**
[[.red]]
// output
<ul class="red"> // putting the attribute markdown on a new line applies the class to the wrapping element
<li>list item <strong>bold</strong></li>
</ul>
- item
- nested item [[.a]]
[[.b]]
[[.c]]
// output
<ul class="c">
<li>item
<ul class="b">
<li class="a">nested item</li>
</ul>
</li>
</ul>
```json
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
```