Replies: 1 comment 5 replies
-
How about: ### Heading
!!! info ""
... This will render an admonition without a title, but keep the heading. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I'm currently working on a documentation project and am in a bit of a bind (let me preface this by saying I'm no expert in markdown and coding generally, but your guides have been extremely helpful even for a newbie such as myself!).
I've noticed collapsible headings are not possible in mkdocs material, so what I did was use admonitions instead. Now, my problem is that using admonitions means that they do not show up under my table of contents as they are not headings. I randomly tried inputs such as:
####
??? note "Read more"???
### note "Read more"???
note ### "Read more"Of course, none worked. Is there some kind of feature that allows me to include admonitions in the table of contents (whether as headings or not), or is there just no way I can do this with Material?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions