简体   繁体   中英

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

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?

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 演示

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM