summaryrefslogtreecommitdiff
path: root/skribe/doc/user/src/start5.skb
diff options
context:
space:
mode:
Diffstat (limited to 'skribe/doc/user/src/start5.skb')
-rw-r--r--skribe/doc/user/src/start5.skb9
1 files changed, 9 insertions, 0 deletions
diff --git a/skribe/doc/user/src/start5.skb b/skribe/doc/user/src/start5.skb
new file mode 100644
index 0000000..9e6b877
--- /dev/null
+++ b/skribe/doc/user/src/start5.skb
@@ -0,0 +1,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))))) \ No newline at end of file