Fix Jupyter header

pull/202/head
Matti Pastell 2019-03-06 10:41:31 +02:00
parent 4e70d32901
commit 1de36fd1f5
1 changed files with 2 additions and 1 deletions

View File

@ -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