Caption

References

See Listing 1 and Listing 2.

See Ruby and Python.

Code blocks

Listing 1 caption test rb
def ruby?
    false
end

Literal Include

Listing 2 caption test py
    def baz():
        pass

Named Code blocks

Listing 3 caption test rbnamed
def ruby?
    false
end

Named Literal Include

Listing 4 caption test pynamed
    def baz():
        pass