If a Markdown file has a template frontmatter key, use that as the default template when linting the file. If the -t argument is set via CLI or the template parameter is set for the lintDocument() function, those override the frontmatter default.
This also allows for linting multiple different kinds of documents in a single run.