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