#6826·hedgedoc

Code block shows N lines of content

Author: rvalueCreated Sep 9, 2026Updated Sep 9, 2026

Is your feature request related to a problem? Please describe.

While working with too much data, a longer code block can take up a large part of the hedgedoc note. To give equal attention to other parts of the note, it might be a good thing to limit the portion of the code block show to N number of lines.

This is not a limitation on the amount of content the code block (code fences) can have, it is just a constraint on the amount of code to show.

Implementor can decide how the rest of the block content is rendered.

Describe the solution you'd like

N/A

Describe alternatives you've considered

N/A

Additional context

No response