AtlatestRepositorysigil-doc

sigil-doc / tree / test / fixturessd-p4-witness.sgd

1#lang sigil/doc/book
2@(display "SDP4-WITNESS-AUTHOR-EXPRESSION-RAN\n")
3@(define (marked-paragraph . body)
4 ;; A command at block position receives already-lowered block children, so
5 ;; this returns them rather than re-wrapping them in a paragraph.
6 (display "SDP4-WITNESS-AUTHOR-COMMAND-RAN\n")
7 body)
8@chapter["Witness" authors: '("SD-P4")]
9
10@p{This manuscript exists to prove the no-execution witness can SEE execution.
11Passive inspection must print none of its markers; evaluating it through the
12real #lang path must print all three.}
14@marked-paragraph{An author-defined command whose body runs only under
15evaluation.}
17@code["sigil"]{@(display "SDP4-WITNESS-CODE-BODY-RAN\n")}
19@end chapter