NAME
Muster::LeafFile::mdwn - a Markdown file in a Muster content tree
VERSION
version 0.62
DESCRIPTION
File nodes represent files in a Muster::Content content tree. This is a markdown file.
is_this_a_page
Test if this type of file creates a page or is just a file.
build_meta
Fill in the meta-data for this file.
has_yaml
The file has YAML if the FIRST line is '---'
build_raw
Get the "raw" data of the file.
get_yaml_part
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_content_part
Get the content part of the file
build_html
Convert the content into HTML format.
wordcount
Calculate the word-count of the content.