BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Terminal-like collapsible text block

Open admnd opened this issue 1 year ago • 3 comments

Describe the feature you'd like

Add a new kind collapsible text block that looks like a Linux terminal with customisable prompts / colors (see attached images).

term_root term_user

Describe the benefits this would bring to existing BookStack users

Make computer-related wiki articles nicer and more readable.

Can the goal of this request already be achieved via other means?

No idea. Perhaps some kind of template? Found nothing on the internets so far.

Have you searched for an existing open/closed issue?

  • [X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Under 3 months

Additional context

No response

admnd avatar Nov 07 '24 16:11 admnd

Is the code block not enough inside the collapsible window? I'm guessing you are asking that the whole thing would be a collapsible code block that you add a title for and it's a code block inside that only?

Hallsie avatar Jan 02 '25 16:01 Hallsie

Yeah, the codeblocks are only very basic and lack of headline, description which language and the ability to react on different keywords properly. There are different feature request in this regards

PatrickGlatz avatar Dec 04 '25 19:12 PatrickGlatz

Having a feaure like this one will greatly improve readability : You can mix "real" code with terminal commands without confusion about which is which. Or perhaps a template could do the job without duplicating functionalities?

admnd avatar Dec 08 '25 13:12 admnd