File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ Or download the snippets zip file and unzip it into your Packages folder.
3131| secy | @section ('` name ` ') <br /> ** {{-- expr --\}\} ** <br /> @yield_section |
3232| yl | @yield ('` section ` ', '` default ` ') |
3333| lsec | @section ('` name ` ') <br /> ** {{-- expr --\}\} ** <br /> @show |
34- | par | @parent |
34+ | par | @parent |
35+ | stack | @stack ('` name ` ') |
36+ | push | @push ('` name ` ') <br /> ** {{-- expr --\}\} ** <br /> @endpush |
3537| !! | {!! $` var ` !!} |
3638| }} | {{ ` escaped output ` }} |
3739| inc | @include ('` view.name ` ', ` array('some' => 'data') ` ) |
Original file line number Diff line number Diff line change 1+ <snippet >
2+ <content ><![CDATA[
3+ @push('${1:name}')
4+ ${0:{{-- expr --\}\}}
5+ @endpush
6+ ]]> </content >
7+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+ <tabTrigger >push</tabTrigger >
9+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
10+ <scope >text.blade</scope >
11+ </snippet >
Original file line number Diff line number Diff line change 1+ <snippet >
2+ <content ><![CDATA[
3+ @stack('${1:view}')$0
4+ ]]> </content >
5+ <tabTrigger >stack</tabTrigger >
6+ <scope >text.blade</scope >
7+ </snippet >
You can’t perform that action at this time.
0 commit comments