What is a quick way to indent a block of text with spaces for use within a web browser?

Posted by ændrük on Ask Ubuntu See other posts from Ask Ubuntu or by ændrük
Published on 2010-12-28T21:35:36Z Indexed on 2010/12/29 22:01 UTC
Read the original article Hit count: 348

Filed under:
|

I occasionally have the need to indent a block of text with spaces for use within a web browser, for example, when formatting a code block on this site or in a post on Launchpad.

So far I've just done it by hand by copying four spaces to the clipboard and then mashing keys really fast:

?, Home, Ctrl+V (repeat)

What is a quicker way to accomplish this, e.g.

  • copying and pasting to another program?
  • a Firefox or Chrome browser extension?
  • a command to directly modify the clipboard contents?
  • an auto-typing program?

© Ask Ubuntu or respective owner

Related posts about text

Related posts about code-blocks