stylemark icon indicating copy to clipboard operation
stylemark copied to clipboard

Allow the rendered example to be collapsed

Open carvallegro opened this issue 7 years ago • 4 comments

Could we add an option to collapse & expand the generated code the same way we can do with the example code?

carvallegro avatar Jun 12 '18 04:06 carvallegro

So you want to show only the source code and not the rendered example?

mpetrovich avatar Jun 12 '18 09:06 mpetrovich

Ah sorry if it wasn't clear! I'd like to be able to minify rendered example as well as the source code. I was thinking it being expanded by default (as it is now) with the same minify button used for source code.

Is it better?

carvallegro avatar Jun 12 '18 09:06 carvallegro

Oh, I misunderstood. You want to be able to collapse/expand the rendered examples in the same way as the source code blocks.

mpetrovich avatar Jun 12 '18 11:06 mpetrovich

Correct!

carvallegro avatar Jun 12 '18 11:06 carvallegro