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

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Feb 24 18:57:12 EST 2009

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.
 }|

If you need to allow "}|" in the verbatim part, add more "|"s to the
opener and closer.

The optional #:indent argument to `verbatim' is often useful:

 @verbatim[#:indent 2]|{
   This is }}@really{{{{ verbatim.
 }|




Posted on the users mailing list.