Mediawiker snippets: Porovnání verzí

Z Dokumentace Disoft
Přejít na: navigace, hledání
((by SublimeText.Mediawiker))
 
((by SublimeText.Mediawiker))
Řádek 2: Řádek 2:
 
c:\Users\fiala\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\snippets\
 
c:\Users\fiala\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\snippets\
 
mw_h1.sublime-snippet
 
mw_h1.sublime-snippet
<code><snippet>
+
<pre><snippet>
 
<content><![CDATA[
 
<content><![CDATA[
 
= ${1/(^=+\s*|\s*=+$)//g:$TM_SELECTED_TEXT} =
 
= ${1/(^=+\s*|\s*=+$)//g:$TM_SELECTED_TEXT} =
Řádek 10: Řádek 10:
 
<scope>text.html.mediawiki</scope>
 
<scope>text.html.mediawiki</scope>
 
<description>Mediawiker: Header level 1</description>
 
<description>Mediawiker: Header level 1</description>
</snippet></code>
+
</snippet></pre>

Verze z 30. 10. 2019, 16:26

c:\Users\fiala\AppData\Roaming\Sublime Text 3\Packages\Mediawiker\snippets\ mw_h1.sublime-snippet

<snippet>
	<content><![CDATA[
= ${1/(^=+\s*|\s*=+$)//g:$TM_SELECTED_TEXT} =
]]></content>
<tabTrigger>wh1</tabTrigger>
	<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.html.mediawiki</scope>
<description>Mediawiker: Header level 1</description>
</snippet>