File: code-language.rst

package info (click to toggle)
sphinxcontrib-restbuilder 0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 640 kB
  • sloc: python: 1,048; makefile: 20; sh: 6
file content (12 lines) | stat: -rw-r--r-- 139 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
.. code:: python

   def foo():
       bar()

.. code:: c++

   class Foo {
       int i;
   };

See also sphinx-directives/code-block.rst