Muster::LeafFile::mdwn - a Markdown file in a Muster content tree
File nodes represent files in a Muster::Content content tree. This is a markdown file.
Test if this type of file creates a page or is just a file.
Fill in the meta-data for this file.
The file has YAML if the FIRST line is '---'
Get the "raw" data of the file.
Get the YAML part of a file (if any) by reading the stuff between the first set of --- lines Don't load the whole file! When we want the YAML, we are scanning, and we don't want the content.
Get the content part of the file
Convert the content into HTML format.
Calculate the word-count of the content.