Change code block tab size from 4 to 2 #3509

Open
opened 2026-02-05 06:56:03 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @leofcshen on GitHub (Feb 15, 2023).

Describe the feature you'd like

Any config or setting can change code block tab size from 4 to 2

Describe the benefits this would bring to existing BookStack users

a lot of developer tab size is set to 2 while coding,make the code block show the same tab size will be more suitable.

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

I haven't find any solution approaching this funciton.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?

6 months to 1 year

Additional context

No response

Originally created by @leofcshen on GitHub (Feb 15, 2023). ### Describe the feature you'd like Any config or setting can change code block tab size from 4 to 2 ### Describe the benefits this would bring to existing BookStack users a lot of developer tab size is set to 2 while coding,make the code block show the same tab size will be more suitable. ### Can the goal of this request already be achieved via other means? I haven't find any solution approaching this funciton. ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundemental request ### How long have you been using BookStack? 6 months to 1 year ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 06:56:03 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Mar 6, 2023):

Depends on #3518 before exposing options and/or sharing an example.

@ssddanbrown commented on GitHub (Mar 6, 2023): Depends on #3518 before exposing options and/or sharing an example.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3509