Collapse Code Block on embed pages


(Tatiana Perry) #1

Have the code blocks on embedded pages act like the code sample on API Endpoints.

If you have a really long code block that is almost 800 lines in an article, it would be great if those were collapsed automatically.
For example, after 20 lines have it instead be a drop down that can be toggled.

Here I used the API endpoints as an example since they already toggle. That would be great to have on embed type pages.