blob: 6977608401b8497274cf1444a9d34585a2bcfa98 (
plain)
1
2
3
4
5
6
7
8
9
|
(resolve (lambda (n e env)
(let* ((current-chapter (ast-chapter n))
(body (markup-body current-chapter))
(sects (filter (lambda (x) (is-markup? x 'section))
body)))
(itemize
(map (lambda (x)
(item (it (markup-option x :title))))
sects)))))
|