it('handles frontmatter with config', () => {
    const text = `---
title: hello
config:
  graph: