[plt-scheme] Scribble "SCHEMEBLOCK" that doesn't interpret Scribble markup

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Tue Feb 24 19:18:48 EST 2009

Matthew Flatt wrote at 02/24/2009 06:57 PM:
> At Tue, 24 Feb 2009 18:23:30 -0500, Neil Van Dyke wrote:
>   
>> I could use a variation on Scribble "SCHEMEBLOCK" that takes the 
>> contents verbatim -- no interpretation of "@", "{", etc.
>>
>> What's the best way to do this?
>>     
>
>  @verbatim|{
>    This is }}@really{{{{ verbatim.
>  }|
>   

I want the content to be formatted as Scheme code, with all the coloring 
and such.  So, the following doesn't work:

@SCHEMEBLOCK[@verbatim|||{            
(foo (@ that-was-not-scribble-markup))
}|||]

Do I need to use my own "define-code" form that doesn't involve 
"to-paragraph"?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090224/91fb11fb/attachment.html>

Posted on the users mailing list.