diff --git a/README.md b/README.md index 83dad13..a1e7922 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,12 @@ and Sweave. ## Chunk options -You can use the same chunk options as for Pweave, but the format is different. Options are separated -using ";" and need to be valid Julia expressions. e.g. +I've tried to follow [Knitr](http://yihui.name/knitr/options)'s naming for chunk options, but not all options are implemented. +You can see [`src/config.jl`](https://github.com/mpastell/JuliaReport.jl/blob/master/src/config.jl) for the current situation. +Options are separated using ";" and need to be valid Julia expressions. e.g. - <>= + <>= ## Usage diff --git a/examples/julia_sample.mdw b/examples/julia_sample.mdw index f3387e4..6bbc1b8 100644 --- a/examples/julia_sample.mdw +++ b/examples/julia_sample.mdw @@ -35,6 +35,6 @@ ylabel("sinc(x)") You can also include a plot with caption and hide the code: -<>= +<>= plot(cumsum(randn(1000, 1))) @ diff --git a/examples/winston_sample.mdw b/examples/winston_sample.mdw index ee5fe55..c4f9f73 100644 --- a/examples/winston_sample.mdw +++ b/examples/winston_sample.mdw @@ -33,7 +33,7 @@ p = plot(t, sinc(t)) You can also include a plot with caption and hide the code: -<>= +<>= p = plot(cumsum(randn(1000, 1))) xlabel("x") ylabel("sinc(x)")