Tab size preference not respected in Markdown code blocks, still uses default 8 characters. #77604
-
Select Topic AreaBug BodyTab size preference setting doesn't affect code blocks inside Markdown files, they still show with a width of 8 characters with no clear way to change this. And I'm not talking about code editor, but the preview, ie. when you open the repository and scroll the README, the code blocks use 8 characters for tabs. Accessibility issue: users have to press shift + scroll to see the long code due to 8 character tabs. which may not be possible to people with a disability. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
|
Hey there @rehhouari, Thanks so much for reaching out and sharing your feedback in our community. I'll check this out on my end and share this feedback with the Accessibility team once I've confirmed this behavior. |
Beta Was this translation helpful? Give feedback.
-
|
Hello @rehhouari - we wanted to follow-up on this reported issue. Have you tried modifying the indent mode and size on the markdown file as shown in this screenshot? Does this feature help resolve your issue? |
Beta Was this translation helpful? Give feedback.
-
|
For anyone else landing here from Google, it looks like this version of this issue might have more activity |
Beta Was this translation helpful? Give feedback.
-
|
Hey everyone! I'm excited to announce that we've recently fixed this issue by making user-defined tab-width preferences consistent across GitHub (see changelog here). Feel free to test this out and drop a comment in our community discussion if you have any feedback or run into any issues. |
Beta Was this translation helpful? Give feedback.
-
|
Hello @rehhouari – could you please re-test the issue you reported and let us know if it’s been resolved? You can either leave a comment and close it out yourself, or if there’s no activity for 1–2 weeks, the system will automatically close it. Thanks! |
Beta Was this translation helpful? Give feedback.

Hey everyone! I'm excited to announce that we've recently fixed this issue by making user-defined tab-width preferences consistent across GitHub (see changelog here). Feel free to test this out and drop a comment in our community discussion if you have any feedback or run into any issues.