Environment
ESLint version:
@eslint/markdown version:
Node version:
npm version:
Operating System:
What problem do you want to solve?
The Markdown plugin currently only supports YAML and TOML frontmatter formats. However, many popular static site generators and documentation tools already support JSON frontmatter, including Hugo, VitePress, 11ty and possibly others. I think adding JSON frontmatter support would improve compatibility with these widely-used tools.
What do you think is the correct solution?
Modify the frontmatter handling in markdown-language.js to support JSON format
Participation
Additional comments
No response
Environment
ESLint version:
@eslint/markdown version:
Node version:
npm version:
Operating System:
What problem do you want to solve?
The Markdown plugin currently only supports YAML and TOML frontmatter formats. However, many popular static site generators and documentation tools already support JSON frontmatter, including Hugo, VitePress, 11ty and possibly others. I think adding JSON frontmatter support would improve compatibility with these widely-used tools.
What do you think is the correct solution?
Modify the frontmatter handling in
markdown-language.jsto support JSON formatParticipation
Additional comments
No response