-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: drop Docfx.MarkdigEngine.Validators #8971
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #8971 +/- ##
==========================================
- Coverage 76.93% 76.85% -0.09%
==========================================
Files 605 601 -4
Lines 25054 24968 -86
==========================================
- Hits 19275 19188 -87
- Misses 5779 5780 +1
☔ View full report in Codecov by Sentry. |
For docfx/src/Docfx.MarkdigEngine/Validation/MarkdownValidatorBuilder.cs Lines 165 to 190 in 7ab1ad6
sample of docfx/test/Docfx.Build.Engine.Tests/DocumentBuilderTest.cs Lines 400 to 442 in 7ab1ad6
This features is not documented. and It seems not be used by any public repository and custom templates. |
You are right, the |
Co-authored-by: Yufei Huang <[email protected]>
The
IMarkdownObjectValidator
was originally designed as an extension mechanism for adding custom markdown validation rules for MSLearn. MSLearn never really used that interface for custom markdown validation and this interface didn't gain much traction in the community.To add custom markdown validation rules, or custom markdown extensions, use the standard markdig extensions interface, where it exposed the markdown AST at various stages.