]> git.ardis.lu - sleepy-operators/commitdiff
Style "functions()" as code
authorArdis Lu <ardisglu@gmail.com>
Wed, 28 Aug 2024 05:12:16 +0000 (22:12 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 28 Aug 2024 05:12:16 +0000 (22:12 -0700)
script.js

index 8b5c6ae6ee531f04ada28b4cea2d0634405b3c03..ec2d3c9f9c312ff0f65e19c9a1637e568fa717eb 100644 (file)
--- a/script.js
+++ b/script.js
@@ -21,7 +21,7 @@ const ascii =
 globalThis.help = function help() {
   const asciiReplaced = [...ascii].map(c => c === ' ' && Math.random() < 0.1 ? 'z' : c).join('');
   console.log(`%c ${asciiReplaced}`, 'font-weight: bold');
-  console.log('🥱 Hello! Type functions() to display all the sleepy-operators.');
+  console.log('🥱 Hello! Type %cfunctions()%c to display all the sleepy-operators.', 'background-color: #eee; padding: 2px', '');
 }
 help();
 
This page took 0.037245 seconds and 4 git commands to generate.