slipshow icon indicating copy to clipboard operation
slipshow copied to clipboard

markdown tables with blocks as entries

Open nilsbecker opened this issue 4 months ago • 2 comments

I have been using tables to arrange figures, e.g.

> |  ![rates](rates.svg) | ![integrated rates](integrated_rates.svg){#Rs .unrevealed} |

{step reveal=Rs}

which works. However I have not been able to add a carousel as one table entry, because i did not find a way to break the line within the table without destroying the table formatting. Is that possible? If not, what is another way that should be used instead?

nilsbecker avatar Oct 06 '25 08:10 nilsbecker

Hmm, indeed carousels are "block" elements (and not "inlined" elements), and unfortunately markdown syntax for table does not allow block elements in tables...

Maybe you can use a "flexbox container" instead of a table for layout? (Knowing this require some html knowledge, as mentioned in #165 I hope to make it easier to have columns later!):

{style="display:flex"}
> {carousel}
> > Block 1
> >
> > ---
> >
> > Block 2
>
> ![](rates.svg)

panglesd avatar Oct 08 '25 17:10 panglesd

cool! this would make a good example for the docs ;)

nilsbecker avatar Oct 09 '25 09:10 nilsbecker