Object keys are globs matched against the page's id (i.e., including relative path) using minimatch with the options { nocase: true, matchBase: true }. Processor order is preserved, such that multiple matching processors are applied in the order defined.
Also adds tests for non-markdown file processing and aggregation based off the example structure.
Finally, the method Kartoffeldruck.isMarkdown is removed from the +public+ API.
Allow multiple content processors using marked as default processor for *.md files (compat behaviour). Implements #4.
Processors can be defined in the configuration as follows:
Object keys are globs matched against the page's id (i.e., including relative path) using minimatch with the options
{ nocase: true, matchBase: true }
. Processor order is preserved, such that multiple matching processors are applied in the order defined.Also adds tests for non-markdown file processing and aggregation based off the example structure.
Finally, the method
Kartoffeldruck.isMarkdown
is removed from the +public+ API.