Concise documentation for the scribble-render syntax property
This commit is contained in:
parent
923eba8839
commit
0d420cb400
2
info.rkt
2
info.rkt
|
@ -21,5 +21,5 @@
|
|||
(define compile-omit-paths '("resources/"))
|
||||
(define test-omit-paths '("resources/"))
|
||||
(define pkg-desc "Enhancements for the scribble language")
|
||||
(define version "0.1")
|
||||
(define version "0.2")
|
||||
(define pkg-authors '(|Georges Dupéron|))
|
||||
|
|
|
@ -141,3 +141,13 @@ The code above renders as follows:
|
|||
|
||||
The code for these two examles would be inserted directly inside the document,
|
||||
before any @racket[racketblock], @racket[chunk] or similar.}
|
||||
|
||||
@defthing[#:kind "syntax property"
|
||||
scribble-render]{
|
||||
The @racket['scribble-render] syntax property can contain a function. It will
|
||||
be called with the whole syntax object, and must return the syntax for
|
||||
scribble code which will be used in place of that s-expression.
|
||||
|
||||
This feature is experimental, and may be changed in future versions
|
||||
|
||||
@history[#:added "0.2"]}
|
Loading…
Reference in New Issue
Block a user