Replies: 1 comment
-
I also tried to do something like that, but I found a workaround #### <p hidden class="fake-toc"> Code </p> combined with h1:has(.fake-toc),
h2:has(.fake-toc),
h3:has(.fake-toc),
h4:has(.fake-toc),
h5:has(.fake-toc),
h6:has(.fake-toc) {
float: left;
}
.fake-toc {
margin: 0;
padding: 0;
}
.fake-toc+.headerlink {
float: left;
margin-left: -1.5em !important;
} that works pretty nice |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When searching spoilers I couldn't find, and it'd be cool to mention the term somewhere so people who search for that
https://squidfunk.github.io/mkdocs-material/reference/admonitions/#collapsible-blocks
Beta Was this translation helpful? Give feedback.
All reactions