summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-directive-code/classes.rst
blob: e9aa5d9c4f48852806d4a49592a5ff1fa5e840cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
classes
=======

Code blocks
-----------

.. code-block:: ruby
   :class: foo bar
   :name: code_block

       def ruby?
           false
       end


Literal Includes
----------------

.. literalinclude:: literal.inc
   :class: bar baz
   :name: literal_include