Skip to content

Commit 6b3accd

Browse files
committed
Add mkdocs.yml JSON schema support for sane_lists and Neoteroi markdown extensions
1 parent 5fd86bd commit 6b3accd

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

docs/schema/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
},
1111
{
1212
"$ref": "extensions/pymdownx.json"
13+
},
14+
{
15+
"$ref": "extensions/external/neoteroi.json"
1316
}
1417
]
1518
},
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"$schema": "https://json-schema.org/draft-07/schema",
3+
"title": "Neoteroi markdown extensions",
4+
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins",
5+
"oneOf": [
6+
{
7+
"title": "Cards – Neoteroi Markdown",
8+
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/cards/",
9+
"const": "neoteroi.cards"
10+
},
11+
{
12+
"title": "Timeline – Neoteroi Markdown",
13+
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/timeline/",
14+
"const": "neoteroi.timeline"
15+
},
16+
{
17+
"title": "Gantt – Neoteroi Markdown",
18+
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/gantt/",
19+
"const": "neoteroi.projects"
20+
},
21+
{
22+
"title": "Spantable – Neoteroi Markdown",
23+
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/spantable/",
24+
"const": "neoteroi.spantable"
25+
}
26+
]
27+
}

docs/schema/extensions/markdown.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@
5959
"md_in_html"
6060
]
6161
},
62+
{
63+
"title": "Sane Lists – Python Markdown",
64+
"markdownDescription": "https://python-markdown.github.io/extensions/sane_lists/",
65+
"enum": [
66+
"markdown.extensions.sane_lists",
67+
"sane_lists"
68+
]
69+
},
6270
{
6371
"title": "Tables – Python Markdown",
6472
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#tables",

0 commit comments

Comments
 (0)