Hello all!
I was wondering is usage of Markdown and embedding of images/html code is possible under Toggle card.
Or maybe somebody could point to any solution for toggle content apart from say Notion page embedding with iframe or something. (looks ugly).
Thanks in advance!
I have the same question. I would like to embed a code block within a toggle
@secondhandkid and @siddharta if that is possible, I can’t find it easily either.
However, here is a method I shared a while back (before the Toggle Card was added to the editor) that enables you to put anything inside a toggle/ accordion… I use 2 Content Snippets (HTML Cards saved as Snippets) and then put whatever I want on the post/page in between the two…
Collapsible Content Accordion
Demo:
Click Here to Open and Close this Accordion This accordion defaults to closed...
Click Here to Close and Open this Accordion *This accordion defaults to open...
HOW-TO:
Any content in your post or page that you want to hide inside a collapsible accordion, put it in between these 2 blocks of HTML in the editor:
HTML Block 1…
<details>
<summary>Click Here to Open and Close this Accordion</summary>
* To make the accordion open by default, add open to…
Norbert @bironthemes also has a helpful tutorial on his site…
1 Like
Same question here as well. Would be great to be able to add HTML to Toggle cards indeed. Any tips would be appreciated.