Concise documentation for the scribble-render syntax property

This commit is contained in:
Georges Dupéron 2016-12-27 19:16:11 +01:00
parent 923eba8839
commit 0d420cb400
2 changed files with 12 additions and 2 deletions

View File

@ -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|))

View File

@ -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"]}