AtlatestRepositoryfolio

folio / tree / test / fixturesf1b-query-body.sgd

1#lang folio/doc
2@note["topics/f1b-query-body" title: "A query with a body" tags: '("folio")]
3
4@p{`query` and `transclude` are the two frozen records with NO children, so a
5body is refused. They must still be written with an EXPLICIT empty body --
6@code{@@query[...]{}} -- because a command with no body at all opens a NAMED
7BLOCK and demands @code{@@end query}, which is a failure that looks like the
8thing you were testing rather than like the thing that is wrong.}
9
10@query["q-with-body" title: "Has a body it may not have" spec: '(status ready)]{
11@p{This paragraph must be refused.}
14@end note