Skip to content
Discussion options

You must be logged in to vote

I’ve updated the Markdown field layout element to allow safe HTML, for Craft 6 (#19426).

So it will be possible to create that <details> disclosure HTML right within the Markdown element settings, without needing to create a dedicated Twig template for it.

(Unfortunately I couldn’t do it for Craft 5.x, because the Markdown library we’re using won’t parse Markdown nested within HTML elements.)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants