JunoLab / Weave.jl

Scientific reports/literate programming for Julia
http://weavejl.mpastell.com
MIT License
825 stars 95 forks source link

Output issues with eval=false #306

Open michakraus opened 4 years ago

michakraus commented 4 years ago

I came across two issues when eval=false is set on a julia code snippet.

  1. Empty lines are added in the output, e.g., the code
    ```julia; eval=false
    const x = 1
    produces

const x = 1

  1. term=true is ignored, e.g., the code
    ```julia; eval=false; term=true
    const x = 1
    also produces

const x = 1

instead of

````julia
julia> const x = 1