How to get lorem ipsum to instantiate on multiple lines instead of 1 in VS Code?

Viewed 6391

In VS Code if I type "lorem" and then press enter it will generate a paragraph of lorem ipsum. The only problem is that the paragraph comes out as one very long line of text as opposed to several lines in the text editor. Is there a setting I can change so that it automatically generates my lorem ipsum on multiple lines?

3 Answers

I think you have to put each lorem call into its own element, like p*4>lorem10.

lorem10 would be 10 words of lorem.

lorem 10 emmet demo

Go to settings and type in "word wrap". Change "Editor: Word Wrap" from "off" to "bounded". This does exactly what I was wanting in the first place.

You just need to write lorem and the add the amount of words you would like it to add next to it like so:

//up to 10 words:
    
   lorem10
                
//up to "n" words:
   lorem"n"


    

as a result you would get:

Lorem ipsum dolor sit amet consectetur adipisicing elit. Neque, odio!
Related