example: YAML front matter in child document

See also yihui/knitr#862
Why is the first line with dashes from the child document (`---`) replaced with an empty line here? This gave me a few headaches today, too...