Codeblock not formatting shell as expected #449

Closed
opened 2026-02-04 20:06:04 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Valiantiam on GitHub (Sep 28, 2017).

BookStack Version: v0.18.1
PHP Version: 7.0

Expected Behavior

image

It doesn't need to color it the same, but it should be expected to format commands etc. more.

Actual Behavior

image

It seems there is a lot of formatting missing or done in a different way? Not sure how intentional that is but it makes documenting linux related subjects odd.

Originally created by @Valiantiam on GitHub (Sep 28, 2017). BookStack Version: v0.18.1 PHP Version: 7.0 ##### Expected Behavior ![image](https://user-images.githubusercontent.com/5394853/30987209-cc5a2d7c-a45b-11e7-9499-1054e53b99fd.png) It doesn't need to color it the same, but it should be expected to format commands etc. more. ##### Actual Behavior ![image](https://user-images.githubusercontent.com/5394853/30987249-f236b9a2-a45b-11e7-9f13-feb4e3696a86.png) It seems there is a lot of formatting missing or done in a different way? Not sure how intentional that is but it makes documenting linux related subjects odd.
Author
Owner

@ssddanbrown commented on GitHub (Sep 30, 2017):

Hi @Valiantiam,

Thanks for raising this. Yeah, there seemed to be a missing style. Now added in, Will be part of the next bugfix release. Here's a preview of the updated styles:

image

@ssddanbrown commented on GitHub (Sep 30, 2017): Hi @Valiantiam, Thanks for raising this. Yeah, there seemed to be a missing style. Now added in, Will be part of the next bugfix release. Here's a preview of the updated styles: ![image](https://user-images.githubusercontent.com/8343178/31045922-52efa2be-a5e6-11e7-9b60-89eaa3b6cebb.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#449