2012-08-16 23:41:25 -04:00
|
|
|
# rst
|
|
|
|
|
|
|
|
snippet :
|
2022-09-25 06:10:28 -04:00
|
|
|
:${1:field name}: ${0:field body}
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet *
|
2013-11-16 14:45:48 -05:00
|
|
|
*${1:Emphasis}* ${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet **
|
2013-11-16 14:45:48 -05:00
|
|
|
**${1:Strong emphasis}** ${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet _
|
2013-04-13 13:45:21 -04:00
|
|
|
\`${1:hyperlink-name}\`_
|
2013-11-16 14:45:48 -05:00
|
|
|
.. _\`$1\`: ${0:link-block}
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet =
|
|
|
|
${1:Title}
|
|
|
|
=====${2:=}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
snippet -
|
|
|
|
${1:Title}
|
|
|
|
-----${2:-}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2013-07-17 19:06:05 -04:00
|
|
|
#some directive
|
|
|
|
snippet img:
|
2019-11-16 10:28:42 -05:00
|
|
|
.. |${1:alias}| image:: ${0:img}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet fig:
|
|
|
|
.. figure:: ${1:img}
|
2019-11-16 10:28:42 -05:00
|
|
|
:alt: ${2:alter text}
|
|
|
|
|
|
|
|
$0
|
|
|
|
snippet con:
|
|
|
|
.. contents:: ${1:Table of Contents}
|
2013-07-17 19:06:05 -04:00
|
|
|
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:content}
|
2019-11-16 10:28:42 -05:00
|
|
|
snippet cod:
|
2013-07-17 19:06:05 -04:00
|
|
|
.. code:: ${1:type}
|
|
|
|
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:write some code}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet tip:
|
|
|
|
.. tip::
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:my tips}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet not:
|
|
|
|
.. note::
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:my notes}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet war:
|
|
|
|
.. warning::
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:attention!}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet imp:
|
|
|
|
.. important::
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:this is importatnt}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet att:
|
|
|
|
.. attention::
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:hey!}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet dan:
|
|
|
|
.. danger::
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:ah!}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet err:
|
|
|
|
.. error::
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:Error occur}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet cau:
|
|
|
|
.. caution::
|
2013-11-16 14:45:48 -05:00
|
|
|
${0:Watch out!}
|
2015-12-08 08:20:04 -05:00
|
|
|
#Sphinx only
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet sid:
|
|
|
|
.. sidebar:: ${1:Title}
|
|
|
|
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2015-12-08 08:20:04 -05:00
|
|
|
snippet tod:
|
|
|
|
.. todo::
|
|
|
|
${0}
|
|
|
|
snippet lis:
|
2019-11-16 10:28:42 -05:00
|
|
|
.. list-table:: ${1:Title}
|
2015-12-08 08:20:04 -05:00
|
|
|
:header-rows: 1
|
2019-11-16 10:28:42 -05:00
|
|
|
:stub-columns: 0
|
2015-12-08 08:20:04 -05:00
|
|
|
|
2019-11-16 10:28:42 -05:00
|
|
|
* - ${0:R1C1}
|
|
|
|
- R1C2
|
|
|
|
* - R2C1
|
|
|
|
- R2C2
|
|
|
|
snippet csv:
|
|
|
|
.. csv-table:: ${1:Title}
|
|
|
|
:header-rows: 1
|
|
|
|
:stub-columns: 0
|
2015-12-08 08:20:04 -05:00
|
|
|
|
2019-11-16 10:28:42 -05:00
|
|
|
${0:R1C1}, R1C2
|
|
|
|
R2C1, R2C2
|
2015-12-08 08:20:04 -05:00
|
|
|
snippet toc:
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
${0}
|
|
|
|
snippet dow:
|
2019-11-16 10:28:42 -05:00
|
|
|
:download:\`${1:text} <${0:path}>\`
|
2015-12-08 08:20:04 -05:00
|
|
|
snippet ref:
|
2019-11-16 10:28:42 -05:00
|
|
|
:ref:\`${1:text} <${0:path}>\`
|
2015-12-08 08:20:04 -05:00
|
|
|
snippet doc:
|
2019-11-16 10:28:42 -05:00
|
|
|
:doc:\`${1:text} <${0:path}>\`
|
2013-07-17 19:06:05 -04:00
|
|
|
# CJK optimize, CJK has no space between charaters
|
|
|
|
snippet *c
|
2013-11-16 14:45:48 -05:00
|
|
|
\ *${1:Emphasis}*\ ${0}
|
2013-07-17 19:06:05 -04:00
|
|
|
snippet **c
|
2013-11-16 14:45:48 -05:00
|
|
|
\ **${1:Strong emphasis}**\ ${0}
|
2013-07-17 19:06:05 -04:00
|
|
|
|
2019-11-16 10:28:42 -05:00
|
|
|
# vim:set list noet sts=0 sw=4 ts=4:
|