diff --git a/docs/schema/extra.json b/docs/schema/extra.json index 4f294854a..b2a3db6ad 100644 --- a/docs/schema/extra.json +++ b/docs/schema/extra.json @@ -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": { "title": "Cookie consent", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#cookie-consent", diff --git a/docs/schema/theme.json b/docs/schema/theme.json index ec0123598..1f903153b 100644 --- a/docs/schema/theme.json +++ b/docs/schema/theme.json @@ -629,6 +629,13 @@ "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", "markdownDescription": "https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#linked-content-tabs", diff --git a/mkdocs.yml b/mkdocs.yml index 1fb81c95b..bb4cae79b 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -43,6 +43,7 @@ theme: - content.action.view - content.code.annotate - content.code.copy + # - content.code.select # - content.tabs.link - content.tooltips # - header.autohide