mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-27 17:00:54 +01:00
Added Caption extension to JSON schema (#7718)
This commit is contained in:
parent
51c9f9acb0
commit
d4f0b6693f
@ -65,6 +65,73 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"pymdownx.blocks.caption": {
|
||||
"title": "Caption – Python Markdown Extensions",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caption",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"types": {
|
||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/blocks/plugins/caption/#global-options",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/blocks/plugins/caption/#configuring-figure-types",
|
||||
"oneOf": [
|
||||
{
|
||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/blocks/plugins/caption/#configuring-figure-types",
|
||||
"type":"string"
|
||||
},
|
||||
{
|
||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/blocks/plugins/caption/#configuring-figure-types",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/blocks/plugins/caption/#configuring-figure-types",
|
||||
"type": "string"
|
||||
},
|
||||
"prefix": {
|
||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/blocks/plugins/caption/#configuring-figure-types",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uniqueItems": true,
|
||||
"minItems": 1
|
||||
},
|
||||
"prepend": {
|
||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/blocks/plugins/caption/#global-options",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"auto": {
|
||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/blocks/plugins/caption/#global-options",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"auto_leval": {
|
||||
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/blocks/plugins/caption/#global-options",
|
||||
"type": "integer",
|
||||
"default": 0
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"title": "Caption – Python Markdown Extensions",
|
||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caption",
|
||||
"const": "pymdownx.blocks.caption"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"oneOf": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user