Class MarkdownResource

All Implemented Interfaces:
AbstractResource, MultipartResource, ReadableButNotWritableResource, ReadableResource, Resource, WritableResource

MarkdownResource is a MultipartResource which separates "Front Matter" (as FRONT part, typically YAML structured data) and Markdown content (as MARKDOWN) from the base resource.

The "front matter" is anything between 2 "---" lines at the very start of the file (if present, it's optional), and the "body" (in Markdown text) is everything that follows. Any HTML comment before the front-matter is stripped (this is useful, e.g. to ignore license headers).

This is a very common quasi de-facto standard format used by many Markdown tools. It may (TBC) originally have been introduced by Jekyll.