Weave.jl/test/documents/chunk_cache.noweb

38 lines
341 B
Plaintext

<<term=true>>=
y= [2, 5, 12]
@
Some text `j print(10)` and continues with another inline code `j y`.
<<term=true; cache=true>>=
y= [2, 5, 12]
@
<<>>=
x = [12, 10]
println(y)
println(x)
@
<<cache=true>>=
x = [12, 10]
println(y)
println(x)
@
<<>>=
y = 1:5
println(y)
@
`j y`
<<cache=true>>=
y = 1:5
println(y)
@
Some text in the end