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

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Tue Feb 24 20:00:03 EST 2009

Matthew Flatt wrote at 02/24/2009 07:42 PM:
> Ah. The enclosed module exports `code-block' and `code-elem', which is
> a rough version of what you want (I think). Use it like this:
>   

Thanks, Matthew.  You didn't have to do all that.

I hate to say it now, but I think that, rather on distributing ".scrbl" 
that are dependent on this big hunk of code, I should instead just have 
the "@"/"{"/etc. properly escaped in my ".scrbl" files.

Since these ".scrbl" files are generated programmatically, I think I 
need to make the generator do the escaping.

If a future version of Scribble gets a "SCHEMEBLOCK/verbatim" form, that 
would be ideal.  And, as far as I can tell, it would be the form people 
would normally want to use for blocks of Scheme code.  I think that 
wanting to add manual markup in a block of Scheme code is the exception.




Posted on the users mailing list.