code: def code(self, text, lang=None):
          
          # WARNING: lang is discarded currently.
          with self.paragraph(stylename='code'):
              lines = text.splitlines()
              for line in lines[:-1]:
                  self._code_line(line)
                  self.linebreak()
              self._code_line(lines[-1])
docs: Add a code block.