2011-06-20 13:40:28 -04:00
|
|
|
# rst
|
|
|
|
|
|
|
|
snippet :
|
2012-11-11 04:24:36 -05:00
|
|
|
:${1:field name}: ${2:field body}
|
2011-06-20 13:40:28 -04:00
|
|
|
snippet *
|
2013-05-30 23:06:43 -04:00
|
|
|
*${1:Emphasis}* ${2}
|
2013-06-04 22:45:38 -04:00
|
|
|
snippet **
|
2013-05-30 23:06:43 -04:00
|
|
|
**${1:Strong emphasis}** ${2}
|
2011-06-20 13:40:28 -04:00
|
|
|
snippet _
|
2012-11-11 04:24:36 -05:00
|
|
|
\`${1:hyperlink-name}\`_
|
|
|
|
.. _\`$1\`: ${2:link-block}
|
2011-06-20 13:40:28 -04:00
|
|
|
snippet =
|
|
|
|
${1:Title}
|
|
|
|
=====${2:=}
|
|
|
|
${3}
|
|
|
|
snippet -
|
|
|
|
${1:Title}
|
|
|
|
-----${2:-}
|
|
|
|
${3}
|
2013-05-30 23:06:43 -04:00
|
|
|
#some directive
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet img
|
2013-05-30 23:06:43 -04:00
|
|
|
.. |${2:alias}| image:: ${1:img}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet fig
|
2013-05-30 23:18:29 -04:00
|
|
|
.. figure:: ${1:img}
|
|
|
|
:alt: ${2:alter text}
|
|
|
|
|
|
|
|
$2
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet con
|
2011-06-20 13:40:28 -04:00
|
|
|
.. contents::
|
2013-05-30 23:06:43 -04:00
|
|
|
${1:content}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet cod
|
2013-05-30 23:06:43 -04:00
|
|
|
.. code:: ${1:type}
|
2013-05-30 23:12:17 -04:00
|
|
|
|
2013-05-30 23:06:43 -04:00
|
|
|
${2:write some code}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet tip
|
2013-05-30 23:06:43 -04:00
|
|
|
.. tip::
|
|
|
|
${1:my tips}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet not
|
2013-05-30 23:06:43 -04:00
|
|
|
.. note::
|
|
|
|
${1:my notes}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet war
|
2013-05-30 23:06:43 -04:00
|
|
|
.. warning::
|
|
|
|
${1:attention!}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet imp
|
2013-05-30 23:06:43 -04:00
|
|
|
.. important::
|
|
|
|
${1:this is importatnt}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet att
|
2013-05-30 23:06:43 -04:00
|
|
|
.. attention::
|
|
|
|
${1:hey!}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet dan
|
2013-05-30 23:06:43 -04:00
|
|
|
.. danger::
|
|
|
|
${1:ah!}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet err
|
2013-05-30 23:06:43 -04:00
|
|
|
.. error::
|
|
|
|
${1:Error occur}
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet cau
|
2013-05-30 23:06:43 -04:00
|
|
|
.. caution::
|
|
|
|
${1:Watch out!}
|
2013-05-30 23:12:17 -04:00
|
|
|
#Spinx only
|
2013-06-04 05:08:29 -04:00
|
|
|
snippet sid
|
2013-05-30 23:06:43 -04:00
|
|
|
.. sidebar:: ${1:Title}
|
2013-05-30 23:12:17 -04:00
|
|
|
|
|
|
|
${2}
|
2013-05-30 21:45:28 -04:00
|
|
|
# CJK optimize, CJK has no space between charaters
|
2013-06-04 05:11:17 -04:00
|
|
|
snippet *!
|
2013-05-30 23:06:43 -04:00
|
|
|
\ *${1:Emphasis}*\ ${2}
|
2013-06-04 22:45:38 -04:00
|
|
|
snippet *&
|
2013-05-30 23:06:43 -04:00
|
|
|
\ **${1:Strong emphasis}**\ ${2}
|
2013-05-30 21:45:28 -04:00
|
|
|
|