Make code blocks collapsable #943
Closed
a-v
started this conversation in
Feature Requests
Replies: 1 comment
-
UPDATE: turns out this is possible through markdown already: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to make code blocks collapsible? This would make surrounding documentation easier to read. Sometimes there are pages where there are code blocks needed but since they occupy so much space, a lot of scrolling is needed to go back up to a non-code area.
Some ways this could be done: a simple triangle next to the start of the code block to collapse the whole block. Or, VSCode-like collapsing based on hierarchy. The desired result is just to make the surrounding text and the documentation as a whole cleaner to read.
This is just a nice-to-have feature request. The impact of not doing it is just that the reading of lengthy documentation becomes a bit awkward having to scroll up/down again and again. Example page for reference: https://docs.hackerfab.org/home/fab-toolkit/database-build/machine-integration
Beta Was this translation helpful? Give feedback.
All reactions