code: def test_code_blocks(self):
      text = (
          "    Also skip \"code\" 'blocks'\n"
          "    foo -- bar --- baz ..."
      )
      html = (
          "<pre><code>Also skip \"code\" 'blocks'\n"
          "foo -- bar --- baz ...\n"
          "</code></pre>"
      )
      self.assertMarkdownRenders(text, html)
  
file_path: markdown/tests/test_syntax/extensions/test_smarty.py
imports: from markdown.test_tools import TestCase
label_desc: Use image node_id 7 for calling the TestSmarty obj's underlying member method code with example usage: obj.test_code_blocks() without return types