Merge pull request #27 from welpo/feat/invertable-image-example

 feat: showcase invertable image
This commit is contained in:
Óscar
2023-02-10 13:34:07 +01:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

View File

@@ -16,9 +16,15 @@ fn main() {
> We're all hurtling towards death. Yet here we are, for the moment, alive. Each of us knowing we're going to die. Each of us secretly believing we won't. > We're all hurtling towards death. Yet here we are, for the moment, alive. Each of us knowing we're going to die. Each of us secretly believing we won't.
— Charlie Kaufman, Synecdoche, New York — Charlie Kaufman, Synecdoche, New York
## Code tags ## Code tags
Lorem ipsum `dolor` sit amet, `consectetur adipiscing` elit. Lorem ipsum `dolor` sit amet, `consectetur adipiscing` elit.
`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

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB