Lorem Ipsum generator?

I have installed the plugin Dummy text generator but it is only generating 10-15 sentences, is there anyway to generate 2-3 lines of dummy contents?

4 comments
Comment actions Permalink

Hi there,

You can use Emmet functionality for that -- IDE supports it as well.

E.g. lorem*5[TAB] (where [TAB] is an Emmet expand key, could also be [Enter] or [Space] -- check the Settings (hint: use search box there to quickly narrow possible options)) will create 5 divs with Lorem Ipsum text

http://docs.emmet.io/abbreviations/lorem-ipsum/

8
Comment actions Permalink

I find the Dummy Text Generator plugin to be very useful for this.

0
Comment actions Permalink

Andriy Bazanov I have used lorem*#[tab] but notice it does not work on all contexts

ie:
```
const foo = {
  bar: lorem*5[tab] //does not work
}  
```

Is there a way to enable lorem expansion in all contexts?

0
Comment actions Permalink

@Fidel Torres

Make HTML context first and then use it -- that's the best I can suggest here. For example (an ordinary .js file):

const foo = {
 //The line below tells to inject HTML language in the following string
// language=HTML
bar: 'lorem*5' // try expanding that Emmet inside the string
}
0

Please sign in to leave a comment.