add frontmatter for markdown conversion