mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Updated JSON schema
This commit is contained in:
parent
1205411f22
commit
156b52c29b
@ -640,6 +640,11 @@
|
|||||||
],
|
],
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
|
"combine_header_slug": {
|
||||||
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.tabbed.combine_header_slug",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
"slugify": {
|
"slugify": {
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.tabbed.slugify",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.tabbed.slugify",
|
||||||
"default": "!!python/object/apply:pymdownx.slugs.slugify {kwds: {case: lower}}"
|
"default": "!!python/object/apply:pymdownx.slugs.slugify {kwds: {case: lower}}"
|
||||||
|
@ -665,6 +665,18 @@ The following configuration options are supported:
|
|||||||
alternate_style: true
|
alternate_style: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!-- md:option pymdownx.tabbed.combine_header_slug -->
|
||||||
|
|
||||||
|
: <!-- md:default `false` --> This option enables the content tabs
|
||||||
|
[combine_header_slug style] flag, which prepends the id of the header to
|
||||||
|
the id of the tab:
|
||||||
|
|
||||||
|
``` yaml
|
||||||
|
markdown_extensions:
|
||||||
|
- pymdownx.tabbed:
|
||||||
|
combine_header_slug: true
|
||||||
|
```
|
||||||
|
|
||||||
<!-- md:option pymdownx.tabbed.slugify -->
|
<!-- md:option pymdownx.tabbed.slugify -->
|
||||||
|
|
||||||
: <!-- md:default `toc.slugify` --> This option allows for
|
: <!-- md:default `toc.slugify` --> This option allows for
|
||||||
@ -702,6 +714,7 @@ See reference for usage:
|
|||||||
|
|
||||||
[Tabbed]: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/
|
[Tabbed]: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/
|
||||||
[alternate style]: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#alternate-style
|
[alternate style]: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#alternate-style
|
||||||
|
[combine_header_slug style]: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#tab-ids
|
||||||
[better behavior on mobile viewports]: https://twitter.com/squidfunk/status/1424740370596958214
|
[better behavior on mobile viewports]: https://twitter.com/squidfunk/status/1424740370596958214
|
||||||
[Grouping code blocks]: ../../reference/content-tabs.md#grouping-code-blocks
|
[Grouping code blocks]: ../../reference/content-tabs.md#grouping-code-blocks
|
||||||
[Grouping other content]: ../../reference/content-tabs.md#grouping-other-content
|
[Grouping other content]: ../../reference/content-tabs.md#grouping-other-content
|
||||||
|
Loading…
Reference in New Issue
Block a user