mirror of https://github.com/mpastell/Weave.jl
Fix Jupyter header
parent
4e70d32901
commit
1de36fd1f5
|
@ -85,7 +85,8 @@ function convert_doc(doc::WeaveDoc, format::NotebookOutput)
|
|||
|
||||
if isa(doc.chunks[1], DocChunk)
|
||||
doc.chunks[1] = strip_header(doc.chunks[1])
|
||||
doc.chunks[1].content[1].content *= Mustache.render(head_tpl; [Pair(Symbol(k), v) for (k,v) in doc.header]...)
|
||||
doc.chunks[1].content[1].content = Mustache.render(head_tpl;
|
||||
[Pair(Symbol(k), v) for (k,v) in doc.header]...) * doc.chunks[1].content[1].content
|
||||
end
|
||||
|
||||
for chunk in doc.chunks
|
||||
|
|
Loading…
Reference in New Issue