aboutsummaryrefslogtreecommitdiff
path: root/posts/base64-all-the-things.md
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-14 12:26:35 -0400
committerBradley Taunt <bt@btxx.org>2024-07-14 12:26:35 -0400
commite8876fb866c3d89c432dcd04634e9bd2ced18022 (patch)
tree2c9a51310bd9bd8041e5d7bbb85bbfd010e2b514 /posts/base64-all-the-things.md
parentc803e304d959f4926a55068d2b11f64bf4c95607 (diff)
Switch things back to smu instead of lowdown
Diffstat (limited to 'posts/base64-all-the-things.md')
-rw-r--r--posts/base64-all-the-things.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/posts/base64-all-the-things.md b/posts/base64-all-the-things.md
index 36b3e4b..c061aef 100644
--- a/posts/base64-all-the-things.md
+++ b/posts/base64-all-the-things.md
@@ -12,15 +12,15 @@ It might be common knowledge, but I think breaking down exactly what base64 enco
In simpler terms: it is a encoded format that can change an element like this:
-~~~html
+```html
<img src="/path/to/image.webp" alt="Cool image">
-~~~
+```
Into this:
-~~~html
+```html
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABkAAAASwCAYAA...PnyMAAAAASUVORK5CYII=" alt="Cool image">
-~~~
+```
## See it in action