Skip to content

fix: suggest Markdig extension names in schema - #11200

Open
zjdangge wants to merge 1 commit into
dotnet:mainfrom
zjdangge:codex/markdig-extension-schema-completions
Open

zjdangge wants to merge 1 commit into
dotnet:mainfrom
zjdangge:codex/markdig-extension-schema-completions

Conversation

@zjdangge

Copy link
Copy Markdown
Contributor

Fixes #10729.

Suggest the known Markdig extension names for both string entries and object entries' name property in build.markdownEngineProperties.markdigExtensions. A shared schema definition combines the known names with an unrestricted string alternative, so custom and future extension names remain valid.

Validation: 78 checks using VS Code's JSON language service, covering completion of all 33 names recognized by MarkdownExtensions, validation of both entry forms, custom and mixed-case names, and rejection of non-string names. The completion checks fail against the original schema and pass with this change. git diff --check passes. No runtime code changed; the .NET test suite was not run for this schema-only change.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Enhance docfx.schema.json MarkdigExtensions

1 participant