adding YAML frontmatter support, and updating some tests. WIP.