[racket] convert scribble block directly to xexpr?

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Mon Sep 30 16:31:10 EDT 2013

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.


On Mon, Sep 30, 2013 at 3:54 PM, Stephen Chang <stchang at 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

Posted on the users mailing list.