Markdown in YAML for page content?

Hi guys,

I’m working on a site that requires translation to various languages, and it would be much easier for our translation scripts if there was a way to have a single data type in the page files. That is, I’m trying to find a way to make the pages YAML only, not YAML + markdown.

Any ideas? Is there a reasonable way to put the page content markdown in a YAML object? Have any of you had experience with this?

I’m not sure I get your question clearly but supposing that I do, check

@philjms - you don’t have to use the content area. You can create text blocks in YAML front matter (or, a data file), and output them with the markdownify filter.

1 Like