mirror of https://github.com/mpastell/Weave.jl
Allow empty cells in scripts
parent
96bc072619
commit
ebd4f6dbed
|
@ -225,7 +225,7 @@ function parse_doc(document::AbstractString, format::ScriptInput)
|
|||
|
||||
state = "code"
|
||||
continue
|
||||
elseif state == "doc" && strip(line) != "" && strip(read) != ""
|
||||
elseif state == "doc" #&& strip(line) != "" && strip(read) != ""
|
||||
state = "code"
|
||||
(docno > 1) && (read = "\n" * read) # Add whitespace to doc chunk. Needed for markdown output
|
||||
chunk = DocChunk(read, docno, start_line, format.inline)
|
||||
|
|
Loading…
Reference in New Issue