3

出于某种原因,我似乎无法弄清楚,我试图从“占位符”包中使用的片段不起作用。例如,根据 Placeholders 片段的选项卡触发器,当我输入“lorem5”时,我应该得到几个 Lorem Ipsum 类型的段落,而不是 5 个单词或 Lorem Ipsum 类型!

Placeholders 中的每个 Lorem Ipsum 片段都使用“lorem”和一个 1-5 的数字,每个数字的文本长度都在增加,但是当我输入 lorem 并且任何数字对应于设置的选项卡触发器时,我只会得到那么多单词,不是我分配给它的片段。我似乎无法找到最重要的快捷方式来自哪里。有任何想法吗?

4

1 回答 1

3

I can combine the Emmet package and the Placeholder package to get different paragraphs of lorem. Example: p*2>lorem50 will equal:

 <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam, alias, dignissimos, aspernatur, quidem nihil architecto sequi vero explicabo est maiores atque laudantium similique omnis iusto corporis molestias eveniet blanditiis nam numquam fugiat animi quis necessitatibus perspiciatis magni doloremque aperiam culpa adipisci nisi deleniti dolores. Vitae rerum obcaecati quasi asperiores itaque.</p>
                        <p>Ipsum, aspernatur, soluta distinctio debitis quos ab necessitatibus saepe facilis voluptatibus perspiciatis molestias laudantium minus magni ea pariatur reprehenderit officia provident deserunt quasi dolor optio dolore inventore eos. Accusamus, obcaecati, quod reiciendis recusandae amet fugiat dolores magnam velit provident repellendus vel eum exercitationem quia cum nulla perferendis quibusdam? Alias, dolore!</p>

50 is equal to the number of letters in the paragraph.

Edit: Emmet has lorem built in as well

于 2013-04-18T19:21:07.137 回答