Add mkdocs.yml JSON schema support for sane_lists and Neoteroi markdown extensions

This commit is contained in:
Adrian Rumpold 2023-11-21 16:01:30 +01:00
parent 5fd86bd670
commit 6b3accd2a7
3 changed files with 38 additions and 0 deletions

View File

@ -10,6 +10,9 @@
},
{
"$ref": "extensions/pymdownx.json"
},
{
"$ref": "extensions/external/neoteroi.json"
}
]
},

View File

@ -0,0 +1,27 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Neoteroi markdown extensions",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins",
"oneOf": [
{
"title": "Cards Neoteroi Markdown",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/cards/",
"const": "neoteroi.cards"
},
{
"title": "Timeline Neoteroi Markdown",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/timeline/",
"const": "neoteroi.timeline"
},
{
"title": "Gantt Neoteroi Markdown",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/gantt/",
"const": "neoteroi.projects"
},
{
"title": "Spantable Neoteroi Markdown",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/spantable/",
"const": "neoteroi.spantable"
}
]
}

View File

@ -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",