Hi,

I'd like to display some Racket code in a Pollen book. In Beautiful Racket, 
it looks like Racket code is produced by the Scribble HTML renderer, 
because it links to the Racket docs all over the place. I'd like to do the 
same, but I can't just use Scribble's codeblock directly because that 
produces a block, not just an HTML string. Looking at the Scribble low 
level API docs, I see how I can render to an HTML file with the render 
method, but not to an arbitrary output port. I suppose I could render each 
code sample to an intermediate HTML file and then read that as a string, 
but it feels like there should be a more direct way to do this. Is there?

Regards,

Vincent

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to