Skip to content

Possible to modify Details extension to accept Markdown header syntax? #1717

Answered by facelessuser
NickC5163 asked this question in Q&A
Discussion options

You must be logged in to vote

I think what you are requesting is for something where an ID can be added to a Details element: #1194.

With that said, I have not yet decided upon or added such functionality, but if you follow the link, I offer some suggestions, such as wrapping the details with a <div id="some-id" markdown>.

If you must specifically have a header embedded within the summary, you will have to use raw HTML to accomplish the task. While, if I recall correctly, details may allow for inline Markdown, it will not recognize block-level syntax such as headers.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NickC5163
Comment options

Answer selected by NickC5163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants