markdown 崇高的片段

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 崇高的片段相关的知识,希望对你有一定的参考价值。

#### SS if snippet
```
<snippet>
	<content><![CDATA[
<% if Variable %>

<% end_if %>
	]]></content>
	<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
	<tabTrigger>if</tabTrigger>
	<!-- Optional: Set a scope to limit where the snippet will trigger -->
	<scope>text.html</scope>
	<description>My SS if Snippet</description>
</snippet>
```

#### SS if else
```
<snippet>
	<content><![CDATA[
<% if Variable %>
 
<% else %>
 
<% end_if %>
	]]></content>
	<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
	<tabTrigger>ifelse</tabTrigger>
	<!-- Optional: Set a scope to limit where the snippet will trigger -->
	<scope>text.html</scope>
	<description>My SS if else Snippet</description>
</snippet>
```

#### SS loop
```
<snippet>
	<content><![CDATA[
<% loop Variable %>
 
<% end_loop %>
	]]></content>
	<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
	<tabTrigger>loop</tabTrigger>
	<!-- Optional: Set a scope to limit where the snippet will trigger -->
	<scope>text.html</scope>
	<description>My SS loop Snippet</description>
</snippet>
```

#### PHP print_r
```
<snippet>
	<content><![CDATA[
echo '<pre>';
	print_r(\$data);
echo '</pre>';
die();
]]></content>
	<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
	<tabTrigger>rep</tabTrigger>
	<!-- Optional: Set a scope to limit where the snippet will trigger -->
	<scope>source.php</scope>
	<description>My SS print_r else Snippet</description>
</snippet>
```

以上是关于markdown 崇高的片段的主要内容,如果未能解决你的问题,请参考以下文章

xml 崇高的片段

崇高片段:消亡

崇高片段:Fic

崇高片段:fuc

崇高片段:pageit

markdown 崇高的快捷方式