aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-12-29 08:51:20 +0000
committerFuwn <[email protected]>2022-12-29 08:51:20 +0000
commita322eabd9e79dcbfc93c8adb4153450cd6f97b38 (patch)
treea13a9f75f6288745c17e76b4204bbd598ffba926
parentdocs: add crates.io instructions (diff)
downloadelem-a322eabd9e79dcbfc93c8adb4153450cd6f97b38.tar.xz
elem-a322eabd9e79dcbfc93c8adb4153450cd6f97b38.zip
docs(README.md): add code-block to rgba
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 087434c..cd96a3f 100644
--- a/README.md
+++ b/README.md
@@ -93,8 +93,8 @@ using these steps:
1. Find the width of the ASCII art
2. Strip the newline characters so that the entire ASCII art is on one line
3. Iterate over each character in the ASCII art, writing the corresponding
- pixel value to an image buffer: 0 0 0 0 for an empty pixel and 255 255 255
- 255 for a filled pixel (red, green, blue, alpha).
+ pixel value to an image buffer: `0 0 0 0` for an empty pixel and `255 255 255
+ 255` for a filled pixel (red, green, blue, alpha).
4. Save the image buffer to memory and use it as the icon for the tray
indicator. :)