doc: explain typeset-code's #:block argument
This commit is contained in:
parent
3349b13825
commit
ac37653988
|
@ -184,13 +184,14 @@ produces the typeset result
|
||||||
[#:keep-lang-line? keep? any/c #t]
|
[#:keep-lang-line? keep? any/c #t]
|
||||||
[#:line-numbers line-numbers (or/c #f exact-nonnegative-integer?) #f]
|
[#:line-numbers line-numbers (or/c #f exact-nonnegative-integer?) #f]
|
||||||
[#:line-number-sep line-number-sep exact-nonnegative-integer? 1]
|
[#:line-number-sep line-number-sep exact-nonnegative-integer? 1]
|
||||||
[#:block? block? any/c #t]
|
[#:block? return-block? any/c #t]
|
||||||
[strs string?] ...)
|
[strs string?] ...)
|
||||||
block?]{
|
(if return-block? block? element?)]{
|
||||||
A function-based version of @racket[codeblock], allowing you to compute the @racket[strs] arguments.
|
A function-based version of @racket[codeblock], allowing you to compute the @racket[strs] arguments.
|
||||||
|
|
||||||
Unlike @racket[codeblock], the default @racket[context] argument (@racket[#f]) implies that
|
Unlike @racket[codeblock], the default @racket[context] argument (@racket[#f]) implies that
|
||||||
the context is untouched. The other arguments are treated the same way.
|
the context is untouched and the @racket[return-block?] argument determines the result
|
||||||
|
structure. The other arguments are treated the same way as @racket[codeblock].
|
||||||
}
|
}
|
||||||
|
|
||||||
@; ----------------------------------------
|
@; ----------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user