mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +01:00
Merge pull request #6381 from AdrianoKF/6378-json-schema-neoteroi
Added mkdocs.yml JSON schema support for `sane_lists` and Neoteroi markdown extensions
This commit is contained in:
commit
73c67d774b
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user