Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Mar 17, 2021
1 parent ec1741c commit 9aa8033
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ Additionally, each admonition type will receive the ```.admonition-<type>``` cla
}
```

The admonition icons are defined as variables on the ```:root``` with the name ```--admonition-icon--<type>```. Override this variable to customize the icon.
The admonition icons are svgs defined as variables on the ```:root``` with the name ```--admonition-icon--<type>```. Override this variable to customize the icon. Example:
```css
--admonition-icon--quote: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3l-2 4z'/></svg>");
```

## Installation

Expand Down

0 comments on commit 9aa8033

Please sign in to comment.