emphasize-lines functionality for Sphinx “testcode” directive

后端 未结 0 1076
无人共我
无人共我 2021-02-03 17:59

Sphinx\'s code-block directive allows highlighting specific lines as follows:

.. code-block:: python
  :emphasize-lines: 1, 2

  def some_fn(): # Thi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题