You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With static site generators like Jekyll or Eleventy and others, it's common for a single file to have a YAML document to provide metadata, followed by the content document in an unrelated markup language;
---
title: My page
description: This is my page
permalink: /my-page
---
<h1>Hello</h1>
<p>This is my page</p>
I'd like to use the yaml-lint package to lint the frontmatter document of these files; however, I would ideally want to avoid writing a custom wrapper to iterate through the filesystem, and extract the YAML from each file to be linted individually.
According to this interpretation of the YAML spec, the markup following a YAML document delimiter could be simply ignored.
Is frontmatter support something that could be introduced to this project? Thank you!
The text was updated successfully, but these errors were encountered:
With static site generators like Jekyll or Eleventy and others, it's common for a single file to have a YAML document to provide metadata, followed by the content document in an unrelated markup language;
I'd like to use the
yaml-lint
package to lint the frontmatter document of these files; however, I would ideally want to avoid writing a custom wrapper to iterate through the filesystem, and extract the YAML from each file to be linted individually.According to this interpretation of the YAML spec, the markup following a YAML document delimiter could be simply ignored.
Is frontmatter support something that could be introduced to this project? Thank you!
The text was updated successfully, but these errors were encountered: