Advanced editing inside toggle cards?

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!

1 Like

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…

Norbert @brightthemes also has a helpful tutorial on his site…

4 Likes

Same question here as well. Would be great to be able to add HTML to Toggle cards indeed. Any tips would be appreciated.

This would be especially appreciated for the mail card to format email only blocks.

An update on this technique:

I send out a weekly newsletter listing all the articles we’ve published that week. Since we are a news and commentary site, that list can run as many as 35 stories (or more). So, I’ve been looking for a way to make it more manageable.

I used the method above to make an accordion heading in an HTML card, then put my bookmark cards for that type of article, then the closing HTML card. Like so:

First HTML Card
<details><summary style="font-size:24px;"><b>Commentary</b></summary>

Story bookmarks

Second HTML Card
</details><br/><br/>

It worked great, and best of all it worked in the email newsletter as well.

Big thanks to Denver Geeks for the idea!

2 Likes