aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--template/html/pattern.stpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/template/html/pattern.stpl b/template/html/pattern.stpl
new file mode 100644
index 0000000..61a1c78
--- /dev/null
+++ b/template/html/pattern.stpl
@@ -0,0 +1,11 @@
+^\s*\zs\(\S.*\)\.div$
+ <div>
+ {{$1}}
+ </div>
+
+^\s*\zs\(\S.*\)\.p$
+ <p>{{$1}}</p>
+
+^\s*\zs\(\S.*\)\.h\([1-6]\)$
+ <h{{$2}}>{{$1}}</h{{$2}}>{{_cursor_}}
+