diff --git a/docs/schema/extensions.json b/docs/schema/extensions.json index 50bb5fc5c..6e4b128b5 100644 --- a/docs/schema/extensions.json +++ b/docs/schema/extensions.json @@ -4,15 +4,36 @@ "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/", "type": "array", "items": { - "oneOf": [ + "anyOf": [ { - "$ref": "extensions/markdown.json" + "$ref": "#/$defs/external" }, { - "$ref": "extensions/pymdownx.json" + "$ref": "#/$defs/external-community" } ] }, "uniqueItems": true, - "minItems": 1 + "minItems": 1, + "$defs": { + "external": { + "description": "External markdown extensions, schema provided by us", + "anyOf": [ + { + "$ref": "extensions/markdown.json" + }, + { + "$ref": "extensions/pymdownx.json" + } + ] + }, + "external-community": { + "description": "External markdown extensions, schema provided by our community", + "anyOf": [ + { + "$ref": "https://raw.githubusercontent.com/Neoteroi/mkdocs-plugins/main/docs/extensions-schema.json" + } + ] + } + } } diff --git a/docs/schema/extensions/markdown.json b/docs/schema/extensions/markdown.json index 0de7f1fba..746040faf 100644 --- a/docs/schema/extensions/markdown.json +++ b/docs/schema/extensions/markdown.json @@ -59,6 +59,14 @@ "md_in_html" ] }, + { + "title": "Sane Lists – Python Markdown", + "markdownDescription": "https://python-markdown.github.io/extensions/sane_lists/", + "enum": [ + "markdown.extensions.sane_lists", + "sane_lists" + ] + }, { "title": "Tables – Python Markdown", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#tables",