Код: Выделить всё
def test(foo):
"""this is my function
.. code-block:: python
cool function
now I should be outside the codeblock.
But I'm not?
.. code-block:: python
next function
I'm still inside the original codeblock?
:param foo: _description_
:type foo: _type_
"""
[img]https://i.stack. imgur.com/CRdby.png[/img]
Я неправильно пишу синтаксис, или у VScode просто проблемы с рендерингом формата sphinx?
Подробнее здесь: https://stackoverflow.com/questions/783 ... and-vscode