Skip to content

Commit

Permalink
chore: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Oct 29, 2024
1 parent 8bfc8b5 commit 8ac9e5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jinjarope/iconfilters.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,13 @@ def get_icon_svg(
making it harder to align it in design.
Example:
``` py
get_icon_svg("file") # implicit mdi group
get_icon_svg("mdi:file") # pyconify key
get_icon_svg("material/file") # Material-style path
get_icon_svg(":material-file:") # material-style emoji slug
get_icon_svg("mdi:file|:material-file:") # returns a string with two svgs
```
"""
label = ""
for splitted in icon.split("|"):
Expand Down

0 comments on commit 8ac9e5d

Please sign in to comment.