[racket] Scribble: escaping the semicolon
Here is my emacs macro for inserting a racketblock that enables comments:
(defun Scrbl-insert-braces ()
"Make a pair of braces and be poised to type inside of them."
(interactive)
(insert "@;%
@(begin
#reader scribble/comment-reader
(racketblock
"
)
(save-excursion
(insert "
))\n@;%\n")))
A snippet looks like this:
@(begin
#reader scribble/comment-reader
(racketblock
;; @deftech{PositiveNumber} is a Number greater or equal to @scheme[0].
;; @tech{PositiveNumber} -> @tech{String}
;; compute the reward level from the given score @scheme[s]
))
On Sep 4, 2011, at 5:32 AM, Mark Carter wrote:
> I'm documenting my module in a scribble file, and I have a @racket segement in which I would like to include a semicolon. How do I escape a semicolon?
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users