Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue with gist indentation

Tags:

When creating a Gist on Github there is a setting for indentation (tabs or spaces; size 2, 4, or 8). After setting indents to tabs size 4, it changes to tabs size 8 after I save it. Editing it afterwords doesn't do anything. Other settings don't produce the expected result either. Am I misunderstanding this feature somehow? Can't find any documentation regarding this.

like image 450
f0rsman Avatar asked Jul 12 '17 07:07

f0rsman


1 Answers

I replaced tabs with four spaces in Notepad++ (Ctrl+H), and it works. You can use any numbers of spaces.

Those tabs are automatically displayed as a 8-character-tab in Github Gist.

like image 88
kiyah Avatar answered Oct 02 '22 15:10

kiyah