JunoLab / Weave.jl

Scientific reports/literate programming for Julia
http://weavejl.mpastell.com
MIT License
825 stars 95 forks source link

more graceful header handling #305

Closed aviatesk closed 4 years ago

aviatesk commented 4 years ago

fixes #197

basically, this PR only changes the behavior when the output type is github (markdown). When generating markdown, we only strips Weave header (i.e. options) and preserver all the other headers.

This PR also improves the regex to match YAML Header so that it will fix #304 as well

tpoisot commented 4 years ago

This is still broken for hugo as an output type.

aviatesk commented 4 years ago

nice reminder, thanks !