aboutsummaryrefslogtreecommitdiff
path: root/template/html/pattern.stpl
blob: 8e2cf12f3b6ae1a22ddae06244e4c2f2d75f6df5 (plain)
1
2
3
4
5
6
7
8
9
10
^\s*\zs\(\S.*\)\.div$
	<div>
		{{$1}}{{_cursor_}}
	</div>

^\s*\zs\(\S.*\)\.\(p\|h[1-6]\)$
	<{{$2}}>{{$1}}</{{$2}}>{{_cursor_}}

^\s*\zs\(\S.*\)\.a$
	<a href="{{_cursor_}}">{{$1}}</a>