Merge branch 'master' of github.com:squidfunk/mkdocs-material

This commit is contained in:
squidfunk 2023-11-17 11:22:53 +01:00
commit c0546f5686
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
3 changed files with 7 additions and 2 deletions

View File

@ -66,6 +66,7 @@ theme:
"yaml.customTags": [ // (1)! "yaml.customTags": [ // (1)!
"!ENV scalar", "!ENV scalar",
"!ENV sequence", "!ENV sequence",
"!relative scalar",
"tag:yaml.org,2002:python/name:material.extensions.emoji.to_svg", "tag:yaml.org,2002:python/name:material.extensions.emoji.to_svg",
"tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji", "tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji",
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format" "tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format"

View File

@ -3,7 +3,9 @@
-#} -#}
<li class="md-nav__item"> <li class="md-nav__item">
<a href="{{ toc_item.url }}" class="md-nav__link"> <a href="{{ toc_item.url }}" class="md-nav__link">
<span class="md-ellipsis">
{{ toc_item.title }} {{ toc_item.title }}
</span>
</a> </a>
{% if toc_item.children %} {% if toc_item.children %}
<nav class="md-nav" aria-label="{{ toc_item.title | striptags }}"> <nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">

View File

@ -23,7 +23,9 @@
<!-- Table of contents item --> <!-- Table of contents item -->
<li class="md-nav__item"> <li class="md-nav__item">
<a href="{{ toc_item.url }}" class="md-nav__link"> <a href="{{ toc_item.url }}" class="md-nav__link">
<span class="md-ellipsis">
{{ toc_item.title }} {{ toc_item.title }}
</span>
</a> </a>
<!-- Table of contents list --> <!-- Table of contents list -->