Skip to content

Commit

Permalink
📝 document
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed May 20, 2018
1 parent 0e18db0 commit 205e1ca
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,21 @@ If you need finer control, [decorate](https://github.com/rstacruz/markdown-it-de
Remember to [render attributes](https://github.com/arve0/markdown-it-attrs/blob/a75102ad571110659ce9545d184aa5658d2b4a06/index.js#L100) if you use a custom renderer.
## Custom Delimiter
You can configure `markdown-it-attrs` to use a different delimeter to declare attributes.
```javascript
md().use(attrs, {
leftDelimiter: '[',
rightDelimiter: ']'
});
```
```markdown
# Title [.large]
```
## License
MIT © [Arve Seljebu](http://arve0.github.io/)

0 comments on commit 205e1ca

Please sign in to comment.