:noweb
header argument expansion
:noweb-ref
header argument
:noweb
header argument expansion
(message "expanded")
;; noweb-yes-start <<noweb-example>> ;; noweb-yes-end
;; noweb-no-start <<noweb-example>> ;; noweb-no-end
;; noweb-tangle-start <<noweb-example>> ;; noweb-tangle-end
prop
4
(message "not to be tangled")
(message "for tangling")
(list 1 2 3 4)
(length four)
4
(map 'list #'list numbers letters)
1 | a |
2 | b |
3 | c |
4 | d |
5 | e |
6 | f |
7 | g |
42
42
42
(defun pascals-triangle (n) (if (= n 0) (list (list 1)) (let* ((prev-triangle (pascals-triangle (- n 1))) (prev-row (car (reverse prev-triangle)))) (append prev-triangle (list (map 'list #'+ (append prev-row '(0)) (append '(0) prev-row))))))) (pascals-triangle n)
(sqrt n)
This is an inline call call_echo(input="testing") embedded in prose. This is an inline call call_echo(input="testing")[:results vector] embedded in prose.
call_echo("testing")
(* 2 it)
The following exports as a normal call line
Now here is an inline call call_double(it=1) stuck in the middle of some prose.
This one should not be exported call_double(it=2)
because it is
quoted.
Finally this next one should export, even though it starts a line call_double(it=3) because sometimes inline blocks fold with a paragraph.
And, a call with raw results call_double(4)[:results raw] should not have quoted results.
the body
a
b
c
"code block results"
(reverse lst)
:noweb-ref
header argument
<<fullest-disk>>
df \
|sed '1d' \
|awk '{print $5 " " $6}'|sort -n |tail -1 \
|awk '{print $2}'