2013-10-10 7 views

답변

0

자신 만의 발췌 문장을 작성할 수 있습니다. 당신이 HTML 파일에 lorem200를 작성하고 를 누르면

<snippet> 
    <content><![CDATA[ 
Fromage cheesy feet pecorino. Cheese and biscuits cut the cheese when the cheese comes out everybody's happy melted cheese jarlsberg cheesy feet dolcelatte goat. Cut the cheese cheesecake fondue halloumi dolcelatte cheese and wine macaroni cheese emmental. Halloumi port-salut hard cheese taleggio cheese strings. 

Caerphilly who moved my cheese roquefort. Boursin brie chalk and cheese cheese triangles when the cheese comes out everybody's happy cottage cheese stinking bishop goat. Cheese on toast swiss taleggio feta goat queso bavarian bergkase edam. Cottage cheese smelly cheese cheesy grin cut the cheese fondue everyone loves. 
]]></content> 
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> 
    <tabTrigger>lorem200</tabTrigger> 
    <!-- Optional: Set a scope to limit where the snippet will trigger --> 
    <scope>text.html</scope> 
</snippet> 

지금, 당신은 당신의 정의가 lorem ipsum의를 얻을 수 있습니다.

+0

죄송합니다. 저는이 부분에서 조금 새로운 ... 그래서이 스 니펫은 어디에 있습니까? –

+0

패키지의 폴더에 저장하십시오. 바람직하게는'User'에 있습니다. 자세한 내용을 보려면 http://docs.sublimetext.info/en/latest/extensibility/snippets.html –

+0

굉장합니다. 정말 고맙습니다. –

1

Emmet에 Lorem Ipsum 텍스트를 추가 할 수 있습니다. 자신의 더미 단어를 새로운 언어로 등록해야합니다.

은 다음과 같은 내용으로 extensions folder에서 JS 파일을 생성, 로렘 입숨에 새 언어를 추가하려면 :

emmet.require('lorem').addLand('my', 'collaboratively administrate empowered markets via plug-and-play networks')

첫 번째 인수는 언어 이름 (이 2 차원해야합니다 두 번째 인수는 공백으로 구분 된 단어이며 더미 텍스트를 생성하는 데 사용됩니다.

사용이 생성기는 다음과 같이 loremmy100

당신도 기본 하나 같은 더미 텍스트 언어를 설정할 수 있습니다 단순히 preferences.jsonlorem.defaultLang 설정을 무시, 예를 "lorem.defaultLang": "my"으로 설정하면 lorem100으로 간단하게 쓸 수 있습니다.

관련 문제