Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Sphinx / tests / roots / test-directive-code / linenothreshold.rst
Size: Mime:
Code Blocks and Literal Includes with Line Numbers via linenothreshold
======================================================================

.. highlight:: python
   :linenothreshold: 5

.. code-block::

   class Foo:
       pass

   class Bar:
       def baz():
       pass

.. code-block::

   # comment
   value = True

.. literalinclude:: literal.inc

.. literalinclude:: literal-short.inc