Merge pull request #27 from welpo/feat/invertable-image-example
✨ feat: showcase invertable image
This commit is contained in:
commit
e1159f7b79
@ -22,3 +22,9 @@ fn main() {
|
||||
|
||||
Lorem ipsum `dolor` sit amet, `consectetur adipiscing` elit.
|
||||
`Lorem ipsum dolor sit amet, consectetur adipiscing elit.`
|
||||
|
||||
## Invertable image
|
||||
|
||||
This image inverts when switching to dark mode. This isn't very useful for photographs, but works great for diagrams, line drawings, graphs…
|
||||
|
||||
{{ invertable_image(src="$BASE_URL/img/graph.png", alt="Invertable graph") }}
|
||||
|
BIN
static/img/graph.png
Normal file
BIN
static/img/graph.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
Loading…
x
Reference in New Issue
Block a user