Markdown formatter destroys Yaml Front matter metadata
Often Markdown uses metadata in the format of YAML front matter. This is supported e.g. via https://github.com/vsch/flexmark-java/wiki/Extensions#yaml-front-matter. However the markdown formatter currently destroys/reformats the tailing triple-dashed-line ---.
I played around a bit, and this would be easily solved by activating JekyllFrontMatterExtension or YamlFrontMatterExtension on flexmark. Don't ask me what the difference between those is.
Maybe this issue could rather be treated as a new feature: one should be able to configure the FlexmarkStep. Like setting the ParserEmulationProfile to something else than CommonMark, changing the pegdown compatibility flags and also activate custom extensions like the ones mentioned above.