benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.69k stars 2.72k forks source link

Add support for `shift left / right`. #238

Open eddyxu opened 10 years ago

eddyxu commented 10 years ago

Sometimes we copy and paste code from other sources, which has inappropriate indents. It would be great to support shift space operations in the editor, so we can add / remove indents for a large block of code.

benweet commented 10 years ago

Hi, Have you tried to select your code and to use tab/shift+tab to indent/outdent?

eddyxu commented 10 years ago

Yes, it works! Thanks for your hints.

However, it might be helpful to have a toolbar item or a help entry within the "Shortcut" menu.