スニペット ####################### `スニペット`_ は、コードパターンを簡単に入力できるようにするテンプレートです。 トリガー文字を入力すると、入力候補が表示されます。 +----------------+-----------------------------------------------------+ | トリガー | 挿入文字 | +================+=====================================================+ | code | **\.. code-block:\:** *LANGUAGE* | +----------------+-----------------------------------------------------+ | image | **\.. image:\:** *PATH* | +----------------+-----------------------------------------------------+ | figure | **\.. figure:\:** *PATH* | +----------------+-----------------------------------------------------+ | attention | **\.. attention::** | +----------------+-----------------------------------------------------+ | seealso | **\.. seealso::** | +----------------+-----------------------------------------------------+ | note | **\.. note::** | +----------------+-----------------------------------------------------+ | warning | **\.. warning::** | +----------------+-----------------------------------------------------+ | error | **\.. error::** | +----------------+-----------------------------------------------------+ | hint | **\.. hint::** | +----------------+-----------------------------------------------------+ | important | **\.. important::** | +----------------+-----------------------------------------------------+ | caution | **\.. caution::** | +----------------+-----------------------------------------------------+ | danger | **\.. danger::** | +----------------+-----------------------------------------------------+ | tip | **\.. tip::** | +----------------+-----------------------------------------------------+ | admonition | **\.. admonition::** | +----------------+-----------------------------------------------------+ | rubric | **\.. rubric::** | +----------------+-----------------------------------------------------+ | literalinclude | **\.. literalinclude::** | +----------------+-----------------------------------------------------+ | toctree | **\.. toctree::** | +----------------+-----------------------------------------------------+ | contents | **\.. contents::** *TITLE* | +----------------+-----------------------------------------------------+ || linktarget || **`**\ *Title*\ **`_** | || || **.. _**\ *Title*\ **:** *http://link* | +----------------+-----------------------------------------------------+ | link | **`**\ *TITLE* **<**\ *http://link*\ **>`_** | +----------------+-----------------------------------------------------+ | label | **\.. _**\ *LABEL* **:** | +----------------+-----------------------------------------------------+ | ref | **:ref:`**\ *LABEL*\ **`** | +----------------+-----------------------------------------------------+ | doc | **:doc:`**\ /\ *DOC* **`** | +----------------+-----------------------------------------------------+ | download | **:download:`**\ *TITLE* **<**\ *PATH*\ **>`** | +----------------+-----------------------------------------------------+ | file | **:file:`**\ *PATH* **`** | +----------------+-----------------------------------------------------+ | numref | **:numref:`**\ *TITLE* **<**\ *FIGURE*\ **>`** | +----------------+-----------------------------------------------------+ | math | **:math:`**\ *EXPRESSION* **`** | +----------------+-----------------------------------------------------+ | command | **:command:`**\ *TITLE* **`** | +----------------+-----------------------------------------------------+ | guilabel | **:guilabel:`**\ *TITLE* **`** | +----------------+-----------------------------------------------------+ | key | **:kbd:`**\ *SHORTCUT* **`** | +----------------+-----------------------------------------------------+ | menu | **:menuselection:`**\ *MENU* **-->** *MENU2*\ **`** | +----------------+-----------------------------------------------------+ .. note:: このエクステンションで提供している `スニペット`_ で、改善要望がある場合は、`Issues `_ から報告してください。 .. _スニペット: https://code.visualstudio.com/docs/editor/userdefinedsnippets