Add a siteConfig.markdown.onUnusedDirective: 'throw'
option
#10674
Labels
feature
This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Milestone
Have you read the Contributing Guidelines on issues?
Description
The
siteConfig.markdown.onUnusedDirective: 'throw'
option will throw unused markdown directives.Has this been requested on Canny?
No response
Motivation
In #9394 we have introduced the ability to warn unused markdown directives. This feature is very useful and helps Babel website nailed quite a few markdown directive bugs: babel/website#3013.
Since the warning messages do not fail the build, it would be great to introduce a
siteConfig.markdown.onUnusedDirective: 'throw'
option so that it can be checked by the website CI.API design
Have you tried building it?
No response
Self-service
The text was updated successfully, but these errors were encountered: