Generate Lorem Ipsum Text in VS Code

Let’s look at how to generate Lorem Ipsum text in VS Code in a quick and simple way.

 

 

Generate Lorem Ipsum

We’re going to use Emmet abbreviation to generate lorem ipsum.

VS Code supports the Emmet out of the box, so you don’t need to install any extension.

To generate a chunk of lorem ipsum text, simply type lorem in the editor.

Length of Lorem Ipsum

We can also control how much text is generated.

We can do that by adding a number suffix, such as lorem29 to generate 29 words of dummy text.


Combine Lorem with other Emmet abbreviations

Another cool trick is that we can combine lorem with other Emmet abbreviations.

Let’s generate 5 paragraphs of lorem ipsum with 29 words each.

p*5>lorem29

That was it, happy coding 😊


Let me know what you think about this article through comments below, or on Twitter at @pelu_carol.

If you find this article helpful, please share it with others and subscribe to the blog to support me, and receive a bi-monthly-ish e-mail notification on my latest articles.

 

You may also like...