From dbf583d697b6552cb8b97ffdbe9ea41fbad76e2c Mon Sep 17 00:00:00 2001 From: Meng Zhuo Date: Tue, 4 Jun 2013 17:08:29 +0800 Subject: [PATCH] unity all directives, peel off ":" --- snippets/rst.snippets | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/snippets/rst.snippets b/snippets/rst.snippets index d97fa57..a6558f0 100644 --- a/snippets/rst.snippets +++ b/snippets/rst.snippets @@ -18,46 +18,46 @@ snippet - -----${2:-} ${3} #some directive -snippet img: +snippet img .. |${2:alias}| image:: ${1:img} -snippet fig: +snippet fig .. figure:: ${1:img} :alt: ${2:alter text} $2 -snippet cont: +snippet con .. contents:: ${1:content} -snippet code: +snippet cod .. code:: ${1:type} ${2:write some code} -snippet tip: +snippet tip .. tip:: ${1:my tips} -snippet not: +snippet not .. note:: ${1:my notes} -snippet war: +snippet war .. warning:: ${1:attention!} -snippet imp: +snippet imp .. important:: ${1:this is importatnt} -snippet att: +snippet att .. attention:: ${1:hey!} -snippet dan: +snippet dan .. danger:: ${1:ah!} -snippet err: +snippet err .. error:: ${1:Error occur} -snippet cau: +snippet cau .. caution:: ${1:Watch out!} #Spinx only -snippet sid: +snippet sid .. sidebar:: ${1:Title} ${2}