1
0
Fork 0
mirror of synced 2024-11-17 22:45:34 -05:00
ultimate-vim/bundle/vim-snippets/snippets/rst.snippets

70 lines
1 KiB
Text
Raw Normal View History

2012-08-16 23:41:25 -04:00
# rst
snippet :
:${1:field name}: ${0:field body}
2012-08-16 23:41:25 -04:00
snippet *
*${1:Emphasis}* ${0}
2012-08-16 23:41:25 -04:00
snippet **
**${1:Strong emphasis}** ${0}
2012-08-16 23:41:25 -04:00
snippet _
\`${1:hyperlink-name}\`_
.. _\`$1\`: ${0:link-block}
2012-08-16 23:41:25 -04:00
snippet =
${1:Title}
=====${2:=}
${0}
2012-08-16 23:41:25 -04:00
snippet -
${1:Title}
-----${2:-}
${0}
2013-07-17 19:06:05 -04:00
#some directive
snippet img:
.. |${0:alias}| image:: ${1:img}
2013-07-17 19:06:05 -04:00
snippet fig:
.. figure:: ${1:img}
:alt: ${0:alter text}
2013-07-17 19:06:05 -04:00
$2
2012-08-16 23:41:25 -04:00
snippet cont:
.. contents::
${0:content}
2013-07-17 19:06:05 -04:00
snippet code:
.. code:: ${1:type}
${0:write some code}
2013-07-17 19:06:05 -04:00
snippet tip:
.. tip::
${0:my tips}
2013-07-17 19:06:05 -04:00
snippet not:
.. note::
${0:my notes}
2013-07-17 19:06:05 -04:00
snippet war:
.. warning::
${0:attention!}
2013-07-17 19:06:05 -04:00
snippet imp:
.. important::
${0:this is importatnt}
2013-07-17 19:06:05 -04:00
snippet att:
.. attention::
${0:hey!}
2013-07-17 19:06:05 -04:00
snippet dan:
.. danger::
${0:ah!}
2013-07-17 19:06:05 -04:00
snippet err:
.. error::
${0:Error occur}
2013-07-17 19:06:05 -04:00
snippet cau:
.. caution::
${0:Watch out!}
2013-07-17 19:06:05 -04:00
#Spinx only
snippet sid:
.. sidebar:: ${1:Title}
${0}
2013-07-17 19:06:05 -04:00
# CJK optimize, CJK has no space between charaters
snippet *c
\ *${1:Emphasis}*\ ${0}
2013-07-17 19:06:05 -04:00
snippet **c
\ **${1:Strong emphasis}**\ ${0}
2013-07-17 19:06:05 -04:00