JunoLab / Weave.jl

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

[FR] two-row separations in the script returned by Weave.tangle #473

Open mlesnoff opened 11 months ago

mlesnoff commented 11 months ago

When using Weave.tangle on a Julia markdown file (.jmd), I observed that, in the returned file (.jl), the different chunks are separated by two rows. For instance, tangle the jmd script below:

# C1
x = 1
y = 2 
# C2
x + y

returns the script (two rows separate the chunks):

# C1
x = 1
y = 2 

# C2
x + y

Instead, is there a simple way to get directly? (one row separates the chunks):

# C1
x = 1
y = 2 

# C2
x + y