崇高文本中的Lorem Ipsum 2

时间:2013-04-18 17:33:28

标签: sublimetext2 lorem-ipsum

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

来自占位符的每个Lorem Ipsum片段使用“lorem”和1-5中的数字,每个都增加了文本的长度,但是当我输入lorem并且任何数字对应于set tab触发器时,我只是得到了很多单词,而不是我分配给它的片段。我似乎找不到最重要的捷径来自哪里。有什么想法吗?

1 个答案:

答案 0 :(得分:3)

我可以将Emmet包和Placeholder包结合起来获得lorem的不同段落。示例:p*2>lorem50将等于:

 <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等于段落中的字母数。

修改:Emmet has lorem built in as well