Open OHeroJ opened 5 years ago
let frontMatter: Yaml = ["title": "Welcome to Spelt", "layout": "post", "date": .string(dateString)] let generatedContents = frontMatter.string ?? "" + "---\n\n" + postContents
can we frontMatter.string get value in this case? dump
frontMatter.string
I am sorry, are you looking for a string description?
like dump from https://github.com/jpsim/Yams
dump
let scalarYAML: String = try Yams.dump(object: string)
can we
frontMatter.string
get value in this case? dump