Generate lorem text from within Sublime using Emmet plugin

While in development, I’m constantly using lorem text to fill in forms. Did you know that you can generate lorem text and set how many words to generate, right inside Sublime??

Try it out:

While on any page that accepts html (.html, .html.erb, .css, etc.) just type  lorem20 then hit tab. You can put whatever number you want after lorem and it will generate that amount of text.

If you don’t have Emmet installed:

The preferred way to install Emmet is to use Package Control (Install this first if you don’t have it):

  1. Open Command Palette in Sublime Text (Mac Shortcut: shift-command-p).
  2. Type “Install Package” and you’ll see this command come up. Hit enter.
  3. Find and install “Emmet” plugin (Just type Emmet).

Keep in mind that Emmet does a ton of amazing things. This is just one of them.

Enjoy!

(Visited 9 times, 1 visits today)