Closed michakraus closed 4 years ago
This is not a dup of #197. The problem is not that the header is stripped, but that the piece between the header and ## Hello World
is stripped.
ah I see. I just found the existing header striping logic is kinda awful and now trying to fix this, but lets's keep this open until it's solved.
It seems adding an empty julia block to the first slide works around this issue, i.e.,
---
title: "myTitle"
author: "myAuthor"
---
```julia
myAuthor
myDate
println("Hello")
produces correct results.
I am trying to create some slides using Weave.jl and Remark.jl. When I have a YAML header, I am missing slides in the markdown output. For example, weaving the file
Weave.weave("test.jmd", out_path = "build", doctype = "github")
Hello World
myTitle
mySubtitle
myAuthor
myDate
Hello World
myTitle
mySubtitle
myAuthor
myDate
Hello World