aboutsummaryrefslogtreecommitdiff
path: root/posts/base64-all-the-things.md
diff options
context:
space:
mode:
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 c061aef..36b3e4b 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