I bet you could make the docs look "right" either by interpreting the color sequences or "cheating" and not really evaluating the functions but instead building the right colors directly. You could probably do something using this style:
http://docs.racket-lang.org/scribble/core.html?q=scribble#%28def._%28%28lib._scribble%2Fcore..rkt%29._color-property%29%29 Robby On Thu, Jan 29, 2015 at 5:17 PM, Asumu Takikawa <[email protected]> wrote: > On 2015-01-25 22:19:51 +0000, Richard Hopkins wrote: >> To help me learn Racket, and also because I find colored text useful I've >> been working on >> a Racket package which I aim to release on http://pkgs.racket-lang.org/ > > This is cool! I tried the examples on Linux and it works for me. > >> * the API is right for end users > > I noticed that a `printf-color` was missing. That might be handy. > >> * the documentation is readable with decent examples > > The docs look good to me. One thing I might note in the "Examples" > section is that the output in the docs don't look like how it's supposed > to look in a real terminal. > > Cheers, > Asumu > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users

