Consider the following code block:
~~~~{.Python .numberLines caption="test"}
def myfunction(var):
""" Oh how awesome this is. """
pass
~~~~
The code gets formatted correctly in the Pdf, but the caption does not appear. I also want to reference to the code block - but how? Can somebody give me a working example?
numbers=leftas a parameter. Did not test that, though. – mre Sep 08 '16 at 14:55