updated rst snippets

This commit is contained in:
Thies Lennart Alff 2023-11-10 12:46:30 +01:00
parent 38a8c0ef1f
commit 490fc48a66

View file

@ -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),
}
)
),
} }