FIx `term=true` for md2tex

pull/117/head
Matti Pastell 2018-01-03 20:31:24 +02:00
parent 6dc482d997
commit 484b1fdf23
1 changed files with 1 additions and 0 deletions

View File

@ -279,6 +279,7 @@ function format_termchunk(chunk, formatdict, docformat::JMarkdown2tex)
#flush(buf)
#result = readstring(buf)
#close(buf)
result = strip(chunk.output)
return "\\begin{minted}[mathescape, fontsize=\\small, xleftmargin=0.5em]{julia}\n$result\n\\end{minted}\n"
else
result = ""