Skip to content

Commit 156b52c

Browse files
committed
Updated JSON schema
1 parent 1205411 commit 156b52c

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

docs/schema/extensions/pymdownx.json

+5
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,11 @@
640640
],
641641
"default": true
642642
},
643+
"combine_header_slug": {
644+
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.tabbed.combine_header_slug",
645+
"type": "boolean",
646+
"default": true
647+
},
643648
"slugify": {
644649
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.tabbed.slugify",
645650
"default": "!!python/object/apply:pymdownx.slugs.slugify {kwds: {case: lower}}"

docs/setup/extensions/python-markdown-extensions.md

+13
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,18 @@ The following configuration options are supported:
665665
alternate_style: true
666666
```
667667

668+
<!-- md:option pymdownx.tabbed.combine_header_slug -->
669+
670+
: <!-- md:default `false` --> This option enables the content tabs
671+
[combine_header_slug style] flag, which prepends the id of the header to
672+
the id of the tab:
673+
674+
``` yaml
675+
markdown_extensions:
676+
- pymdownx.tabbed:
677+
combine_header_slug: true
678+
```
679+
668680
<!-- md:option pymdownx.tabbed.slugify -->
669681

670682
: <!-- md:default `toc.slugify` --> This option allows for
@@ -702,6 +714,7 @@ See reference for usage:
702714

703715
[Tabbed]: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/
704716
[alternate style]: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#alternate-style
717+
[combine_header_slug style]: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#tab-ids
705718
[better behavior on mobile viewports]: https://twitter.com/squidfunk/status/1424740370596958214
706719
[Grouping code blocks]: ../../reference/content-tabs.md#grouping-code-blocks
707720
[Grouping other content]: ../../reference/content-tabs.md#grouping-other-content

0 commit comments

Comments
 (0)