Add option to siteConfig.js to configure supported headers in front matter #1209
Labels
closed: wontfix
A fix will bring significant overhead, or is out of scope (for feature requests)
feature
This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
💥 Proposal
Add
SupportedHeaderFields
option or similar to siteConfig.js so that we can avoid warnings about unsupported header fields.The use case is this one:
A suggestion is to move SupportedHeaderFields set into siteConfig.js defaulting/merging current set with the user provides. Optionally, we might also throw an exception if front matter attribute does not fit supported header field set. Such behaviour is useful on a large set of markdown files; catching non-standard front matter, typos in header names, and removing warnings from the builds.
Have you read the Contributing Guidelines on issues?
Yes
The text was updated successfully, but these errors were encountered: