Add UI helper to Markdown/HTML pattern

This commit is contained in:
Kalutka Zhenya 2022-10-03 17:54:02 +03:00
parent bdb41aab0d
commit dcfece71d1

View File

@ -0,0 +1,68 @@
#### Markdown pattern
<div class="divider"></div>
<br/>
The Markdown template gets keys only from the first entity in the entity alias.
<div class="divider"></div>
<br/>
#### Examples
Use # to create a Markdown header. The number of characters # specifies the type of header: # - h1, ## - h2, ### - h3, etc.
```markdown
###### Markdown/HTML card
{:copy-code}
```
###### Markdown/HTML card
<div class="divider"></div>
<br/>
Use - character to create list item. You can create nested lists separating them with tabs in the pattern:
```markdown
- Element 1
- Element 2
- Element 2.1
- Element 2.2
-Element 3
{:copy-code}
```
- Element 1
- Element 2
- Element 2.1
- Element 2.2
- Element 3
<div class="divider"></div>
<br/>
Use * character to choose style:
```markdown
- *Element 1*
- **Element 2**
- ***Element 3***
{:copy-code}
```
- *Element 1*
- **Element 2**
- ***Element 3***
<div class="divider"></div>
<br/>
Use ${} to add some value from your key:
```markdown
- **Element 1**: ${key1Name}
- **Element 1**: ${key2Name}
- **Element 1**: ${key3Name}
{:copy-code}
```
- **Element 1**: key1Value
- **Element 2**: key2Value
- **Element 3**: key3Value