Cool! I wrote something similar a while ago -- feel free to steal source code from here: https://github.com/samth/paste.rkt
The idea of using scribble for highlighting is very clever. Sam On Mon, Sep 30, 2013 at 3:54 PM, Stephen Chang <stch...@ccs.neu.edu> wrote: > Hi users, > > Now that Racket has a state-of-the-art package system and a > smashing-success conference, I think the obvious missing element in > the path to world domination is our very own pastebin, so I made one > during the hackathon. > > It renders a paste with scribble, to get syntax coloring and doc linking. > > (Preview here: pasterack.org, http://www.pasterack.org/pastes/6444) > > However, it is currently very slow because it naively writes a > scribble file to disk and then compiles it with a command line call, > because I couldnt figure out how to directly convert a scribble block > to html or xexpr. Does anyone know if this is this possible? > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users