updated rst snippets
This commit is contained in:
parent
aa102cef62
commit
8adebcd46f
1 changed files with 25 additions and 2 deletions
|
|
@ -36,9 +36,10 @@ return {
|
||||||
},
|
},
|
||||||
fmta(
|
fmta(
|
||||||
[[
|
[[
|
||||||
.. code-block sh
|
.. code-block:: sh
|
||||||
|
<>
|
||||||
|
|
||||||
<>
|
<>
|
||||||
$ <>
|
|
||||||
|
|
||||||
]],
|
]],
|
||||||
{
|
{
|
||||||
|
|
@ -47,4 +48,26 @@ return {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
s(
|
||||||
|
{
|
||||||
|
trig = 'python',
|
||||||
|
name = 'Python Code-Block',
|
||||||
|
dscr = 'Create python code block',
|
||||||
|
},
|
||||||
|
fmta(
|
||||||
|
[[
|
||||||
|
.. code-block:: python
|
||||||
|
:linenos:
|
||||||
|
:caption: <>
|
||||||
|
:emphasize-lines: <>
|
||||||
|
|
||||||
|
<>
|
||||||
|
]],
|
||||||
|
{
|
||||||
|
i(1),
|
||||||
|
i(2),
|
||||||
|
i(3),
|
||||||
|
}
|
||||||
|
)
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue