ember-twiddle
ember-twiddle copied to clipboard
Change code indentation to use spaces
In the Twiddle itself the code is indented by 2 spaces but when it is saved to the gist the indentation inside gist is different.
eg. Twiddle (indentation looks fine) https://ember-twiddle.com/58983acea1b7724c0210?numColumns=1&openFiles=application.route.js%2C
Gist (indentation is larger on L5) https://gist.github.com/camskene/58983acea1b7724c0210#file-application-route-js
Not much I can do about this.
@camskene in your example the identation on L5 is done with two spaces and a tab. Tabs are rendered differently in different editors so that explains the issue.
While this is not really an issue IMO, it could actually be "fixed" using the solution described here.
@joostdevries so pressing tab inside 'Twiddle creates a Tab or a Space?
@camskene right now it creates a tab. but the examples contain spaces.
Fixable by implementing: https://codemirror.net/doc/manual.html#keymaps