aboutsummaryrefslogtreecommitdiff
path: root/posts/html-dark-mode.md
diff options
context:
space:
mode:
Diffstat (limited to 'posts/html-dark-mode.md')
-rw-r--r--posts/html-dark-mode.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/posts/html-dark-mode.md b/posts/html-dark-mode.md
index 224699f..0d94def 100644
--- a/posts/html-dark-mode.md
+++ b/posts/html-dark-mode.md
@@ -11,9 +11,9 @@ this created by *jacksonchen666*: [These 3 Lines of CSS Will Give You Dark Mode
But today I wanted to show how to add dark mode functionality to a website
without *any CSS at all*.
-```
+~~~sh
<meta name="color-scheme" content="dark light">
-```
+~~~
Add that line inside the `head` tags on your HTML files and you're good to go.