Skip to content

Commit

Permalink
Add documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftwareAndOutsourcing committed Apr 16, 2021
1 parent 20f42f6 commit a15a0e8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Expand Up @@ -60,6 +60,23 @@ Output:
<p>paragraph with <span class="red">a style me span</span></p>
```

Attribute definition lists supports inheritance based on [kramdown Syntax](https://kramdown.gettalong.org/syntax.html#attribute-list-definitions). `id` attributes are not included.

They require to be preceded and followed by an empty line and other content inside these blocks will not be parsed. `id` attributes are not included:

```md
{ald: #someid .someclass attr="allowed"}
{anotherald: someald #anotherid .anotherclass anotherattr="allowed"}

another text
{anotherald}
```

Output:
```html
<p class="someclass anotherclass" attr="allowed" id="anotherid" anotherattr="allowed">another text</p>
```

## Install

```
Expand Down

0 comments on commit a15a0e8

Please sign in to comment.