Problem to Solve
Sometimes we have bigger code fragments to illustrate in docs (like a full IAM schema of 350+ lines).
Current Workaround
Code-block that takes a long time to scroll through.
Or a link to download a file without a preview.
Proposed Solution
We should have the ability to add a code block that will show 5-10-20 lines of code by default and then have a dimming effect (or something to show that this is not) and a link/button to expand it to the full version. Also, the button to copy code block contents should work in both collapsed and expanded states.
Ideally, we need a way to collapse the block back after you expanded it and witnessed its great scale.
Additional Information
Problem to Solve
Sometimes we have bigger code fragments to illustrate in docs (like a full IAM schema of 350+ lines).
Current Workaround
Code-block that takes a long time to scroll through.
Or a link to download a file without a preview.
Proposed Solution
We should have the ability to add a code block that will show 5-10-20 lines of code by default and then have a dimming effect (or something to show that this is not) and a link/button to expand it to the full version. Also, the button to copy code block contents should work in both collapsed and expanded states.
Ideally, we need a way to collapse the block back after you expanded it and witnessed its great scale.
Additional Information