AtlatestRepositorysigil-doc

sigil-doc / tree / test / fixturessd-manuscript-keyword-define.sgd

1#lang sigil/doc/book
2@(define (callout title (keys: (kind "note")) (rest: body))
3 (make-admonition 'tip
4 (list (make-text (string-append kind ": " title) (author-location)))
5 (author-flatten body (author-location) 'callout)
6 (author-location)))
7@chapter["Keyword Define" "SD"]{
8@section["Uses" id: "uses"]{
9@callout["Explicit" kind: "WARN"]{@p{tail}}
10@callout["Default"]{@p{plain}}