Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork23
Printer with meta :color#168
-
What do you think about being able to define the color of the text by the Printer? I've been thinking/trying something like this (defnprint-str"Same as print. But instead of writing it to an output stream, The resulting string is returned." @{:color color} [& xs] (let [len (count xs) printer (php/:: Printer (nonReadable color)) pp |(php/-> printer (print $))] (case (count xs) ... etc ... But the output I get is |
BetaWas this translation helpful?Give feedback.
All reactions
This was solved by creating a new functionprintln-colorful#202
Replies: 2 comments 1 reply
-
The meta data you mentioned is only available for Regarding color: Do you want colorful html output or colorful bash output? |
BetaWas this translation helpful?Give feedback.
All reactions
-
I was thinking more about "colorful bash output" |
BetaWas this translation helpful?Give feedback.
All reactions
-
This was solved by creating a new function |
BetaWas this translation helpful?Give feedback.