1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 01:10:58 +01:00

Updated JSON schema

This commit is contained in:
squidfunk 2023-07-07 11:22:30 +02:00
parent f64d8658d3
commit 18cac39370
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
3 changed files with 24 additions and 0 deletions

View File

@ -132,6 +132,22 @@
} }
] ]
}, },
"annotate": {
"title": "Custom selectors for annotations",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#custom-selectors",
"type": "object",
"patternProperties": {
".*": {
"title": "Custom selector",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#custom-selectors",
"type": "array",
"items": {
"type": "string",
"pattern": "^\\.\\w+"
}
}
}
},
"consent": { "consent": {
"title": "Cookie consent", "title": "Cookie consent",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent",

View File

@ -629,6 +629,13 @@
"content.code.copy" "content.code.copy"
] ]
}, },
{
"title": "Code selection button",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-selection-button",
"enum": [
"content.code.select"
]
},
{ {
"title": "Linked content tabs", "title": "Linked content tabs",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#linked-content-tabs", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#linked-content-tabs",

View File

@ -43,6 +43,7 @@ theme:
- content.action.view - content.action.view
- content.code.annotate - content.code.annotate
- content.code.copy - content.code.copy
# - content.code.select
# - content.tabs.link # - content.tabs.link
- content.tooltips - content.tooltips
# - header.autohide # - header.autohide