Skip to content

Commit

Permalink
Fix class shorthand example. Fixes #24.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelme committed Jun 4, 2024
1 parent 86f0d6a commit 28ec3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ that looks like a CSS selector can be used to quickly define id and classes:
```pycon title="Define multiple classes"
>>> from htpy import div
>>> print(div(".foo.bar"))
<div id="foo bar"></div>
<div class="foo bar"></div>
```

```pycon title="Combining both id and classes"
Expand Down

0 comments on commit 28ec3b3

Please sign in to comment.