Parses source (usually the contents of file).
doc = Plombir::Frontmatter.parse("---\ntitle: Hi\n---\n\nBody\n") doc.data["title"] # => "Hi" doc.body # => "Body\n"